Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Using SoapClient's non-WSDL Mode
- Rob Wilkerson
September 17, 2008, 2:07 pm
rate this thread
Typically, when consuming a SOAP web services, I've had the WSDL URI
available to me and can easily instantiate the SoapClient with that
URI. I'm now in a position where I might have to engage a SOAP
service sans WSDL. I've looked at the documentation, so I can see
that this is possible, but I'm hoping someone provide a little more
information about the options available.
The documentation provides this syntax for instantiating the class
$client = new SoapClient (
'location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"
Can someone help clarify exactly what the location and uri options are
pointing to so I have some idea how to apply that to my system and/or
the external services system?
Re: Using SoapClient's non-WSDL Mode
I should have added that I'm working ahead of this external system so
I don't have the benefit of trial and error. I'm trying to reach a
point where I'm as prepared as possible (including as much code as
possible) when the system comes online. Otherwise, I'd have done much
more legwork and would have at least played around more than I can in