WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: smarr on April 29, 2015, 05:46:50 AM

Title: SOAP WebServices consuming
Post by: smarr on April 29, 2015, 05:46:50 AM
Hello all,

Does someone have some example on how posting requests to a webservice and getting the answers (using .net ?), as MSSOAP is deprecated by Microsoft
Thanks in advance
Title: Re: SOAP WebServices consuming
Post by: stanl on April 29, 2015, 07:03:02 AM
You probably want to look at

https://technet.microsoft.com/en-us/library/hh849901.aspx (https://technet.microsoft.com/en-us/library/hh849901.aspx)

for Invoke-WebRequest.  I generally use WB and Powershell for web-services. I may have a script posted in the Tech DB as an illustration

see:

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/dotNet/System_Net+Obtain~Web~Data.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/dotNet/System_Net+Obtain~Web~Data.txt)

Title: Re: SOAP WebServices consuming
Post by: smarr on April 29, 2015, 07:28:19 AM
Thanks, will have a look