Jump to content

SOAP namespace question


warnockm

Recommended Posts

I've created a SOAP server in PHP 5.0 using SoapServer().  The functions i've added work fine using simple datatypes, but when i use complex datatypes, i run into problems.  i'm using a class to define my functions.  For a few of the functions, i return complex data types, which are instances of another class.  My question is: what do i use as my target namespace?  Right now i start the webserver with:

 

$server = new SoapServer( NULL,

array('uri' => "urn://www.w3.org/2001/12/soap-encoding")

);

$server->SetClass('ws');

$server->handle();

 

"ws" is the name of my class with the functions.

Link to comment
https://forums.phpfreaks.com/topic/123039-soap-namespace-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.