Using SoapClient's non-WSDL Mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob Wilkerson

    #1

    Using SoapClient's non-WSDL Mode

    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
  • Rob Wilkerson

    #2
    Re: Using SoapClient's non-WSDL Mode

    On Sep 17, 10:07 am, Rob Wilkerson <r...@robwilker son.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.

    Comment

    Working...