Help! SOAP::Lite: How to set the namespace prefix for the request?

Help! SOAP::Lite: How to set the namespace prefix for the request?

am 18.06.2006 20:54:25 von Reto Hersiczky

Hi,

I have to send attributes as

...

and *not*

...

The argument «xsi:type...» is beeing added by SOAP::Lite automatically :-|
I have found a related hint in the man page about namespaces so far
but could not come to a solution yet.
You may please open this painful story on

http://www.infocopter.com/perl/soap/namespaces.html

where I will publish the solution as far as I know it.

Thank you & BR,
Reto

Re: Help! SOAP::Lite: How to set the namespace prefix for the request?

am 19.06.2006 20:56:25 von Reto Hersiczky

I probably found a related solution now. I have added this line into the
code:

$client->ns('urn:catalogue.eshop.ws.crm.example.net', 'urn');

You'd find the complete consolidated script at
http://infocopter.com/perl/soap/debugging.html

BR,
Reto