Hi
I have a ASP Application interacting with a C#.Net Web Service.
The ASP Application recieves the XML from Web Service and uses XSLT to transform and display the output.
The ASP uses SOAP 30 to connect to the Web Service. That is working fine.
The Problem is, the Web Service returns ordinary string properly , but doesnt return a XML String. Only the values are returned and not the tags.
The question is how to return the XML String that is something like this,
[code=xml]
<World>
<America>9765 4</America>
<Europe>34567 </Europe>
</World>
[/code]
I want the complete XML in ASP. If I return the above as String from Web Services, I am recieving the numbers (97654,34567) in ASP.
Here is the ASP Code. Please help me to recieve the complete XML.
But it is not coming in ASP, only the numbers(97654,3 4567) are coming.
Regards
Adi
I have a ASP Application interacting with a C#.Net Web Service.
The ASP Application recieves the XML from Web Service and uses XSLT to transform and display the output.
The ASP uses SOAP 30 to connect to the Web Service. That is working fine.
The Problem is, the Web Service returns ordinary string properly , but doesnt return a XML String. Only the values are returned and not the tags.
The question is how to return the XML String that is something like this,
[code=xml]
<World>
<America>9765 4</America>
<Europe>34567 </Europe>
</World>
[/code]
I want the complete XML in ASP. If I return the above as String from Web Services, I am recieving the numbers (97654,34567) in ASP.
Here is the ASP Code. Please help me to recieve the complete XML.
Code:
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient30") //Instantiate the SOAP Client objSoapClient.ClientProperty("ServerHTTPRequest")=true Call objSoapClient.mssoapinit("http://19.28.165.92/PurgeApplication/PurgeDemographics.asmx?WSDL") //Connect to the Web Service Response.Write "<h4>" & objSoapClient.HelloWorld() //Call the Hello World Method that should return the Complete XML.
Regards
Adi
Comment