web services client - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

web services client

Last post 04-29-2005 05:55 AM by Sudheer. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-28-2005 11:24 AM

    web services client

    I want to know if there is a way to programatically generate a library of forms based on a WSDL file. Doing a form for a single web service method is very easy using the built in wizard. However, if you have mulitiple web services comprising several dozen methods this is a very time consuming process. It would seem that there has to be a way to programatically do exactly what is happening in the wizard and then multiply do that for every method it discovers in the WSDL file. I can't be the first person to think about this so I'm curious if anyone else has tried, suceeeded or has thought of a way this could be accomplished.
  • 04-29-2005 05:55 AM In reply to

    • Sudheer
    • Not Ranked
    • Joined on 03-01-2005
    • India
    • Posts 7
    Hi,
    You can do by making use of HTTP Send BY MAKING USE OF aCTIVEX oBJECT Msxml2.XMLHTTP.5.0. You can create a SOAP Request and call using the object created by MSXml.
    var xmlHttp = new ActiveXObject("Msxml2.XMLHTTP.5.0");
    xmlHttp.open("POST",url,false);
    xmlHttp.setRequestHeader('Content-Type', 'text/xml; charset=utf-16');

    if (urn.charAt(urn.length-1) == '/')
    xmlHttp.setRequestHeader("SOAPAction", urn + name);
    else
    xmlHttp.setRequestHeader("SOAPAction", urn +"/"+ name);

    try
    {
    xmlHttp.send(xmlSoapRequest);
    }

    Hope it may help you since it can be used as generic that for any webservice

    get back if any clarifications.

    Sudheer

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.