Click here to get back home

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

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Help! SOAP::Lite: How to set the namespace prefix for the request? Reto Hersiczky 06-18-2006
Posted by Reto Hersiczky on June 18, 2006, 2:54 pm
Please log in for more thread options


Hi,

I have to send attributes as

<urn:Foo> ... </urn:Foo>

and *not*

<Foo xsi:type="..."> ... </Foo>

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



Posted by Reto Schaer on June 19, 2006, 2:56 pm
Please log in for more thread options


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



Similar ThreadsPosted
SOAP::Lite " December 1, 2006, 5:13 am
SOAP::Lite and WSDL namespace - please help November 4, 2005, 10:43 am
SOAP::Lite : Problem of # sign added by SOAP::Lite in the sent SOAPActionstring November 5, 2004, 8:45 pm
SOAP::Lite WSDL method with multiple soap:body parts February 16, 2005, 3:32 pm
Writing a HTML/ASP SOAP client for a SOAP::Lite destination March 16, 2005, 5:19 pm
LibXML "Undefined namespace prefix" July 2, 2007, 5:42 pm
Help with SOAP::Lite January 19, 2005, 11:35 pm
SOAP::Lite March 3, 2005, 6:13 am
Using SOAP::Lite and .NET November 16, 2005, 2:12 pm
SOAP::Lite March 5, 2007, 4:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap