Click here to get back home

Soap Lite - raw XML passed to function

 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
Soap Lite - raw XML passed to function Marcin 10-24-2006
Posted by Marcin on October 24, 2006, 1:35 pm
Please log in for more thread options


Hello

I wrote web service using library SOAP Lite

SOAP::Transport::HTTP::CGI->dispatch_to(MyModule)->handle;
package MyModule;
sub my_method {
my $class = shift;
my @rgs = @_;
}

In @args I would like to get raw XML with paramters from client.
But I always get parssed values.
I've found method xmloutput('true') but probably I've used it wrongly
because there are always parssed values, not XML. I was not able
to find example using xmloutput('true').

Have you any idea?

Greetings

Marcin





Posted by John Bokma on October 24, 2006, 2:04 pm
Please log in for more thread options



> Hello
>
> I wrote web service using library SOAP Lite
>
> SOAP::Transport::HTTP::CGI->dispatch_to(MyModule)->handle;
> package MyModule;
> sub my_method {
> my $class = shift;
> my @rgs = @_;
> }
>
> In @args I would like to get raw XML with paramters from client.

Why is that?

--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/

Posted by Marcin on October 26, 2006, 1:27 pm
Please log in for more thread options



Hello

>> SOAP::Transport::HTTP::CGI->dispatch_to(MyModule)->handle;
>> package MyModule;
>> sub my_method {
>> my $class = shift;
>> my @rgs = @_;
>> }
>>
>> In @args I would like to get raw XML with paramters from client.
>
> Why is that?

Because this server must talk to old client software which sends XML
wrapped in SOAP. The XML looks like this:
<request>
<field1>value1</field1>
<field2>value2</field2>
</request>
<request>
<field1>value3</field1>
<field2>value4</field2>
</request>
in @args I got only value3 and value4. If I could get raw XML
I could parse it properly.


Greetings
Marcin



Similar ThreadsPosted
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
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
use SOAP::Lite +autodispatch ??? November 23, 2004, 3:12 am
SOAP::Lite weirdness April 6, 2006, 8:07 am
ForkOnAccept for SOAP::Lite TCP server November 27, 2004, 11:32 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap