Onload Questions (Webservice)

H

hmoodangpp

Hi all,
I'm bad in English. I found some problems in SDK.
I try to retrieve xml data from web service when InfoPath is OnLoad.
I coppied the code from infopath SDK but the error happend between

// Initialize the SoapClient30 object using URL to the WSDL
// for the Web Service you want to work with.
soapClass.MSSoapInit(strWSDLURL);

// Pass parameters to Web Service and load XML from response.
strWebServiceResponse=soapClass.MyWebMethod("parameter1","parameter2");

// Instantiate new DOM document object.
objNewDOM=new ActiveXObject("Msxml2.DOMDocument.5.0");
objNewDOM.loadXML(webServiceResponse);

the error show text "Type mismacth" Line: loadxml

How do I do???????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top