var response = client.UploadString("http://rhu042.sma-promail.com/pmomsws/order.asmx", xmlTemplate);
Please mark as answer the first person to give the solution, and if someone just posts a link to the solution, they didn't solve your problem - they're just better at Google :)
Also, I will mark answered if you give me a solution not a link.
Mark
I ended up doing it old school, building a string and then passing to the service setting the mime type first and it worked.
Please mark as answer the first person to give the solution, and if someone just posts a link to the solution, they didn't solve your problem - they're just better at Google :)
Also, I will mark answered if you give me a solution not a link.
Mark
Member
95 Points
527 Posts
Populating an XML template and sending to a web service
Jun 26, 2013 01:46 PM|skifreak|LINK
I have an xml template (got a 500 error when I tried this): Please help me fix this.
and I am inserting the place holders like this (only a subset of the replace)
Also, I will mark answered if you give me a solution not a link.
Mark
Star
9903 Points
1291 Posts
Re: Populating an XML template and sending to a web service
Jun 27, 2013 10:49 PM|Pengzhen Song - MSFT|LINK
Hi,
Please check if your SOAP request is correct. And for detailed information, please refer here
http://stackoverflow.com/questions/5396671/how-to-send-receive-soap-request-and-response-using-c-sharp
http://forums.epo.org/open-patent-services-and-publication-server-web-service/topic1583.html
Hope it can help you
Member
95 Points
527 Posts
Re: Populating an XML template and sending to a web service
Jun 28, 2013 08:04 AM|skifreak|LINK
I ended up doing it old school, building a string and then passing to the service setting the mime type first and it worked.
Also, I will mark answered if you give me a solution not a link.
Mark