By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,175 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

Using SoapClient's non-WSDL Mode

P: n/a
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
without WSDL:

$client = new SoapClient (
null,
array (
'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?

Thanks.

Rob
Sep 17 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sep 17, 10:07*am, Rob Wilkerson <r...@robwilkerson.orgwrote:
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?
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
this case.

Thanks again.
Sep 17 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.