If you want to post XML data to webservices wich need pre-authentication you need a workaround, because vCO does not support this feature.
In my case, I had to post XML data to CA unicenter without activated SOAP interface, only authenticated post was available. So I wrote this little app XMLpost and call it from vCO.
Parameters, case sensitive, free order:
Example call:
XMLpost.exe User=<user> PWD=<pwd> URL=http://webservice/samplepost POST=XMLDATA=<tag>only a example</tag> Log=C:\\MCS\\XMLpost.txt
Example workflow:
Exit codes:
0 all fine (for XMLpost, webservice not recognized)
1 user not found or empty
2 PWD not found or empty
3 URL not found or empty
4 POST not found or empty
5 error on HTTP request
6 error on stream writing
Planned development:
Requirements:
Optional execution
Feel free to use this app. Please just inform me, if you want to use it in production or for commercial use.
Comments are welcome.