Hi folks,
I've been given this legacy app to do some bugtesting. Joy :( It's a simple webservice written in C# -> api.asmx.
Now, the trick for testing it, is that it requires some SOAP HEADER for authentication. I know I can just go to the asmx page, and it gives me all the api methods that are exposed. Clicking on those methods gives me a page where i can see all the GET/POST/SOAP stuff. If i edit my web.config, I can active the POST testing. Kewl. All that works. Of course, there's no way I can add in the SOAP HEADER, so it fails.
Here's the SOAP xml definition stuff :-
POST /services/api.asmx HTTP/1.1
Host: www.<snip>.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservice.<snip>.com/GetStuff"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ApiAuthentication xmlns="http://webservice.<snip>.com/">
<DeveloperKey>string</DeveloperKey>
</ApiAuthentication>
</soap:Header>
<soap:Body>
<GetStuff xmlns="http://webservice.<snip>.com/">
<StuffId>int</StuffId>
</GetStuff >
</soap:Body>
</soap:Envelope>
So, what program can I download to test this stuff out? I tried FIDDLER but with no luck :( Unless I've used it wrong.
Cheers!
Edit 1 & 2 (added strikethrough):
A previous SO question suggested SoapUI, but that's java and i refuse to install java on my box .... and i would prefer not to have to pull out a VirtualPC and throw that, on there... please?
Solution:
SoapUI (free app) installed on a Virtual PC with newbie instructions to follow :)