>                        
                                We noticed that the URL :
http://xml.apache.org/xml-soap/literalxml isn't found (404). We think this
is an existing bug from SOAP.
>             If we turn on debugging, you do see that URL in the envelope:
>          <SOAP-ENV:Body>
>               <ns1:getUserResponse xmlns:ns1="urn:AznUser2"
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml";>
>               <return>
>                   Perhaps there's a redirection by Apache, but I can't
> imagine Perl re-writing the URL on its own.
>                       The server code is working fine with java and vb
> clients, I only have this problem with perl. Since I use the URL for
> literalxml for Perl only.
>                       Right now I am using SOAP 1.1, I just want know if
> this is a known problem to you (from SOAP).
>                       I have posted the problem in News Group but nobody
> seems to know anything about this.
> 
>               One thing that concerns me is the name 'literalXML'. Web
> Service
>               Wire Protocols, like SOAP and XML-RPC, are handy because 
>               language libraries handle parsing the XML automatically and 
>               let the user think in terms of his or her own language's 
>               datatypes. If literalXML is disables this translation and 
>               instead makes the end user parse the XML response message,
>               it seems to be that much of the power of SOAP is gone. 
>               
>                       Thank you for your help
> 
>                       Patricia
> 
>                       Code Client site:
> 
>                       #! /usr/bin/perl
> 
>                       use strict;
> 
>                       use SOAP::Lite;
> 
>                       BEGIN {
>                             package MySerializer; @MySerializer::ISA =
> 'SOAP::Serializer';
>                             sub envelope {
>                               $_[2] = SOAP::Data->name("ns1:$_[2]")
>       
> ->encodingStyle("http://xml.apache.org/xml-soap/literalxml";)
>                                 ->uri('urn:AznUser2')
>                                 if $_[1] =~ /^(?:method|response)$/;
>                               shift->SUPER::envelope(@_);
>                             }
>                       }
>                       ....more....
> 


Reply via email to