SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CF Web Service and (sorry!) ASP/VBScript

    I have developed a rather nice ColdFusion web service. When invoked from a CF client, it works beautifully. Now I am tasked with moving the client work over to VBScript for ASP. Yeah, yeah...I know, it's a ColdFusion forum. But please bear with me. I'm hoping that you'll all cut me some slack, since I am working with a ColdFusion web service here.

    Here is an example <cfscript> block that nicely does the job of a Login:

    <cfscript>
    MyServiceObj = CreateObject("webservice", "https://www.domainconcealed.com/MyService.cfc?WSDL");
    ResponseXML = MyServiceObj.Login(Form.email, Form.pswd);
    ResponseDoc = XmlParse(ResponseXML);
    </cfscript>

    Now, I need to take EXACTLY what that <cfscript> block does in CF and port it to VBScript so that I can do the EXACT same thing from an ASP-based client. I need to invoke my CF web service, get the XML response, and parse it into a DOM object.

    Is there anyone here who can point me in the right direction? I sure would appreciate it!

    TIA,
    Layne

  2. #2
    SitePoint Evangelist
    Join Date
    Mar 2007
    Posts
    584
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would answer you if I could, but I don't know ASP. Unless someone here happens to know it, you may be better off asking in an ASP forum. Just ask it in plain english instead of CF code.

    I'm sure it's possible. Though whether you can do the _exact_ same thing (and as easily) is all dependent on ASP. Sorry

  3. #3
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much for your response. After a night of research, and asking a few questions in an ASP/VBScript forum, I did find my answer. And it's just about as easy as a <cfinvoke>. Thanks again!

  4. #4
    SitePoint Evangelist
    Join Date
    Mar 2007
    Posts
    584
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Glad you figured it out! Do feel free to post the final code for anyone else looking to do the same down the road


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •