WSDL Help Needed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nshiell
Forum Newbie
Posts: 12
Joined: Mon Oct 19, 2009 12:20 pm

WSDL Help Needed

Post 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?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: WSDL Help Needed

Post 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
Post Reply