What is ns4 all about?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List,

Am using PEAR::SOAP package to write clients to communicate with a progress soap server. In the spec they expect stuff like this:

<?xml version=”1.0” encoding=”UTF-8” ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/”;


xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/”;>
<SOAP-ENV:Body>
<ns1:validateUserName xmlns:ns1=”http://www.blahblah.co.uk/”;


xmlns:xsd=”http://www.w3.org/1999/XMLSchema”; xmlns:xsi=”http://www.w3.org/1999/XMLSchema-instance”;>
<username xsi:type="xsd:string">USER NAME GOES HERE</username>
<password xsi:type="xsd:string">PASSWORD GOES HERE</password>
<cli xsi:type="xsd:string">INSTALL CLI GOES HERE</cli>
</ns1:validateUserName>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


.....

But my soap messages using pear define the namespace in the Envelope, and just reference it in the method name (or whatever you call it in soap). What is the correct way? He can modify his server if required.

What is ns4 all about? There are 4 other namespaces defined automagically by my soap client already! And can I set it to send ns1?

thanks for the help,
Scott

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux