FYI, not acked... Pier
-- [Perl] combines all the worst aspects of C and Lisp: a billion of different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco] ------ Forwarded Message > From: "Nguyen, Patricia P" <[EMAIL PROTECTED]> > Date: Tue, 18 Jun 2002 11:06:51 -0700 > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: FW: Soap::Lite > > > >> >> I tried to debug the error, 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.... > > ------ End of Forwarded Message