Click here to Skip to main content
15,896,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a web service that accept the xml document. The xml document contains the description of the object means it contains the all property of the class. After processing that it returns the response in the format of the xml document.

my case the service expect the xml document as an input and it returns the output as an xml document and I am not able to see the wsdl of that service.
The input document describe the input method and its expected input values. so I need to make such a document. I have prepared that xml document. Now I have the question to post that document to the web service like "http://123.123.123.123/mywebservice".


Thanks in advance.

Thanks
Posted
Updated 29-Sep-10 7:12am
v2
Comments
Hiren solanki 29-Sep-10 6:43am    
so what is the problem here ?
Sandeep Mewara 29-Sep-10 9:12am    
Update from OP: Hi Hiren,

Thanks for your reply, Actually I am looking for the code to send the XML document to the webservice.

I don't have the wsdl for that webservice and I can't create using the command prompt. So I am unable to understand with creating the object of the webservice how can we send that xml document to the webservice.

Thanks

1 solution

You need to have a Webmethod exposed in your webservice that takes XML as one of the argument.
 
Share this answer
 
Comments
anil indorkar 29-Sep-10 13:11pm    
Thanks for reply,
but in my case the service expect the xml document as an input and it returns the output as an xml document and I am not able to see the wsdl of that service.
The input document describe the input method and its expected input values. so I need to make such a document. I have prepared that xml document. Now I have the question to post that document to the web service like "http://123.123.123.123/mywebservice".

Thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900