Soap Lite - raw XML passed to function
am 24.10.2006 19:35:06 von Marcin
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
Re: Soap Lite - raw XML passed to function
am 24.10.2006 20:04:02 von John Bokma
"Marcin" wrote:
> 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/
Re: Soap Lite - raw XML passed to function
am 26.10.2006 19:27:01 von Marcin
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:
value1
value2
value3
value4
in @args I got only value3 and value4. If I could get raw XML
I could parse it properly.
Greetings
Marcin