Removing ns1 namespace qualifier
| From: | Vandegrift, Ken | Date: | Mon, 03 Jul 2006 17:48:37 +0000 |
| Subject: | Removing ns1 namespace qualifier | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2348@lists.php.net to get a copy of this message | ||
Good Day,
Is there an easy way to remove the "ns1" namespace qualifier from a SOAP
BODY request using PHP's SOAP Extension?
Code I'm using:
$client = new SoapClient("file.wsdl");
$params = array(.....);
$response = $client->__soapCall('activate-add', $params);
I get a request like this:
<ns1:activate-add-request>
...
...
</ns1:activate-add-request>
I need:
<activate-add-request>
...
...
</activate-add-request>
The SOAP server keeps throwing a JAVA error because it is not expecting
the namespace qualifier.
java.lang.IllegalArgumentException
Thank you
Ken Vandegrift
kvandegrift@sharis.com <mailto:kvandegrift@sharis.com>