Page 1 of 1

WSDL Help Needed

Posted: Thu Mar 31, 2011 4:54 am
by nshiell
Hi I am integrating a PHP5 script to a Webservice

As usual the API docs are quite sparse, although I have an email with 2 "service references"

When I click on the "service reference" URLs I see an HTML page asking me to run "svcutil.exe" followed by another url e.g. svcutil.exe http://some-url/sdfg.svc?wsdl

The app will make a first call to their webservice to get an auth key
Then the second call will use that key with some actual payload XML data

I believe I need some more URLs from the third party
Anyone dealt with this kind of stuff before?

Re: WSDL Help Needed

Posted: Thu Mar 31, 2011 6:23 am
by Weirdan
nshiell wrote:I believe I need some more URLs from the third party
Most likely you need to use wsdl url (that with '?wsdl' parameter) as a an argument to SoapClient constructor: http://us2.php.net/manual/en/soapclient.soapclient.php