Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 21113
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: RKOBES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.65_3
  • 0.65_4
  • 0.65_5
  • 0.65_6
  • 0.66
  • 0.66.1
  • 0.67
  • 0.68
  • 0.69
Fixed in: (no value)



Subject: sending xml files using SOAP::Transport::HTTP::CGI
I've run into what I think is a similar issue to some other reported bugs about sending XML files through SOAP::Lite. I've attached an example cgi script (xml.cgi), which just returns an xml file, that illustrates the problem. The output, which comes from use SOAP::Lite +trace; print SOAP::Lite -> uri('http://localhost/Apache/XML_test') -> proxy('http://localhost/cgi-bin/xml.cgi') -> fetch() -> result; is also attached: out_60.txt, from SOAP-Lite-0.60 (which works), and out_69.txt, which doesn't work. For SOAP-Lite-0.60, I used *SOAP::Serializer::as_string = \&SOAP::XMLSchema1999::Serializer::as_base64; to encode output, and for SOAP-Lite-0.69, I used the recommended *SOAP::Serializer::as_string = \&SOAP::Serializer::as_base64Binary; which doesn't seem to have any effect - the raw xml is present in the output, which leads to the indicated error of xml declaration not at start of external entity If I comment out the *SOAP::Serializer::as_string = ... lines, then I get the output out_60a.txt for SOAP-Lite-0.60 and out_69a.txt for SOAP-Lite-0.69; in this case, 0.60 did a s/</&lt;/g substitution on the file, so it works, but 0.69 didn't, resulting in the same error as above. Thanks. -- best regards, Randy Kobes
Subject: out_60.txt
SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: fetch SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x1ba2198) SOAP::Transport::HTTP::Client::send_receive: POST http://localhost/cgi-bin/xml.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Content-Length: 457 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://localhost/Apache/XML_test#fetch" <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:fetch xmlns:namesp1="http://localhost/Apache/XML_test"/></SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x1d4463c) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Tue, 22 Aug 2006 01:06:09 GMT Server: Apache/2.2.2 (Win32) Content-Length: 1354 Content-Type: text/xml; charset=utf-8 Client-Date: Tue, 22 Aug 2006 01:06:09 GMT Client-Peer: 127.0.0.1:80 Client-Response-Num: 1 SOAPServer: SOAP::Lite/Perl/0.60 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:fetchResponse xmlns:namesp1="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="SOAP-ENC:base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFNPRlRQS0cgTkFNRT0iWE1MLVNBWCIgVkVSU0lPTj0iMCwxNCwwLDAiPgoJPFRJVExFPlhNTC1TQVg8L1RJVExFPgoJPEFCU1RSQUNUPlNpbXBsZSBBUEkgZm9yIFhNTDwvQUJTVFJBQ1Q+CiAgICAgICAgPEFVVEhPUj5NYXR0IFNlcmdlYW50ICZsdDttYXR0QHNlcmdlYW50Lm9yZyZndDs8L0FVVEhPUj4KCTxJTVBMRU1FTlRBVElPTj4KCQk8REVQRU5ERU5DWSBOQU1FPSJYTUwtTmFtZXNwYWNlU3VwcG9ydCIgVkVSU0lPTj0iMCwwMywwLDAiIC8+CgkJPE9TIE5BTUU9Ik1TV2luMzIiIC8+CgkJPEFSQ0hJVEVDVFVSRSBOQU1FPSJNU1dpbjMyLXg4Ni1tdWx0aS10aHJlYWQtNS44IiAvPgoJCTxJTlNUQUxMIEVYRUM9IlBQTV9QRVJMIiBIUkVGPSJodHRwOi8vdGhlb3J5eDUudXdpbm5pcGVnLmNhL3BwbXMvc2NyaXB0cy9pbnN0YWxsX3BhcnNlcl9kZXRhaWxzIj5pbnN0YWxsX3BhcnNlcl9kZXRhaWxzPC9JTlNUQUxMPgoJCTxDT0RFQkFTRSBIUkVGPSJodHRwOi8vdGhlb3J5eDUudXdpbm5pcGVnLmNhL3BwbXMveDg2L1hNTC1TQVgudGFyLmd6IiAvPgoJPC9JTVBMRU1FTlRBVElPTj4KPC9TT0ZUUEtHPgo=</s-gensym3></namesp1:fetchResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () SOAP::SOM::new: () SOAP::Lite::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Transport::HTTP::Client::DESTROY: () SOAP::SOM::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () <?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG>
Subject: out_60a.txt
SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: fetch SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x1ba2198) SOAP::Transport::HTTP::Client::send_receive: POST http://localhost/cgi-bin/xml.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Content-Length: 457 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://localhost/Apache/XML_test#fetch" <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:fetch xmlns:namesp1="http://localhost/Apache/XML_test"/></SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x1d4463c) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Tue, 22 Aug 2006 01:09:41 GMT Server: Apache/2.2.2 (Win32) Content-Length: 1203 Content-Type: text/xml; charset=utf-8 Client-Date: Tue, 22 Aug 2006 01:09:41 GMT Client-Peer: 127.0.0.1:80 Client-Response-Num: 1 SOAPServer: SOAP::Lite/Perl/0.60 <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:fetchResponse xmlns:namesp1="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="xsd:string">&lt;?xml version="1.0" encoding="UTF-8"?> &lt;SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> &lt;TITLE>XML-SAX&lt;/TITLE> &lt;ABSTRACT>Simple API for XML&lt;/ABSTRACT> &lt;AUTHOR>Matt Sergeant &amp;lt;matt@sergeant.org&amp;gt;&lt;/AUTHOR> &lt;IMPLEMENTATION> &lt;DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> &lt;OS NAME="MSWin32" /> &lt;ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> &lt;INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details&lt;/INSTALL> &lt;CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> &lt;/IMPLEMENTATION> &lt;/SOFTPKG> </s-gensym3></namesp1:fetchResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () SOAP::SOM::new: () SOAP::Lite::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Transport::HTTP::Client::DESTROY: () SOAP::SOM::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () <?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG>
Subject: out_69.txt
SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: fetch SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x1c044f8) SOAP::Transport::HTTP::Client::send_receive: POST http://localhost/cgi-bin/xml.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 432 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://localhost/Apache/XML_test#fetch" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetch xmlns="http://localhost/Apache/XML_test" xsi:nil="true" /></soap:Body></soap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x1dbc8b0) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Tue, 22 Aug 2006 01:03:48 GMT Server: Apache/2.2.2 (Win32) Content-Length: 1095 Content-Type: text/xml; charset=utf-8 Client-Date: Tue, 22 Aug 2006 01:03:48 GMT Client-Peer: 127.0.0.1:80 Client-Response-Num: 1 SOAPServer: SOAP::Lite/Perl/0.69 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetchResponse xmlns="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="xsd:anyURI"><?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG> </s-gensym3></fetchResponse></soap:Body></soap:Envelope> SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () xml declaration not at start of external entity at line 1, column 428, byte 428 at C:/Perl/site/lib/XML/Parser.pm line 187 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetchResponse xmlns="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="xsd:anyURI"><?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG> </s-gensym3></fetchResponse></soap:Body></soap:Envelope> at soap.pl line 2 SOAP::Transport::HTTP::Client::DESTROY: () SOAP::Lite::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: ()
Subject: xml.cgi
Download xml.cgi
application/octet-stream 669b

Message body not shown because it is not plain text.

Subject: out_69a.txt
SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: fetch SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x1c044f8) SOAP::Transport::HTTP::Client::send_receive: POST http://localhost/cgi-bin/xml.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 432 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://localhost/Apache/XML_test#fetch" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetch xmlns="http://localhost/Apache/XML_test" xsi:nil="true" /></soap:Body></soap:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x1dbc8b0) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK Connection: close Date: Tue, 22 Aug 2006 01:11:06 GMT Server: Apache/2.2.2 (Win32) Content-Length: 1095 Content-Type: text/xml; charset=utf-8 Client-Date: Tue, 22 Aug 2006 01:11:06 GMT Client-Peer: 127.0.0.1:80 Client-Response-Num: 1 SOAPServer: SOAP::Lite/Perl/0.69 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetchResponse xmlns="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="xsd:anyURI"><?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG> </s-gensym3></fetchResponse></soap:Body></soap:Envelope> SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () xml declaration not at start of external entity at line 1, column 428, byte 428 at C:/Perl/site/lib/XML/Parser.pm line 187 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><fetchResponse xmlns="http://localhost/Apache/XML_test"><s-gensym3 xsi:type="xsd:anyURI"><?xml version="1.0" encoding="UTF-8"?> <SOFTPKG NAME="XML-SAX" VERSION="0,14,0,0"> <TITLE>XML-SAX</TITLE> <ABSTRACT>Simple API for XML</ABSTRACT> <AUTHOR>Matt Sergeant &lt;matt@sergeant.org&gt;</AUTHOR> <IMPLEMENTATION> <DEPENDENCY NAME="XML-NamespaceSupport" VERSION="0,03,0,0" /> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <INSTALL EXEC="PPM_PERL" HREF="http://theoryx5.uwinnipeg.ca/ppms/scripts/install_parser_details">install_parser_details</INSTALL> <CODEBASE HREF="http://theoryx5.uwinnipeg.ca/ppms/x86/XML-SAX.tar.gz" /> </IMPLEMENTATION> </SOFTPKG> </s-gensym3></fetchResponse></soap:Body></soap:Envelope> at soap.pl line 2 SOAP::Transport::HTTP::Client::DESTROY: () SOAP::Lite::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: ()
Randy, You wrote: Show quoted text
> for SOAP-Lite-0.69, I used the recommended > > *SOAP::Serializer::as_string = > \&SOAP::Serializer::as_base64Binary;
When I tried this recently with 0.68, I got 'client' errors on the server when it tried to invoke the method to encode the response. I asked on the soaplite mailing list but got no response. Eventually, I found a way to cause it to work which I've documented on the list and on AnnoCPAN. It may work for you as well. HTH, Dave
On Thu Aug 24 05:26:54 2006, DJH wrote: Show quoted text
> Randy, > > You wrote:
> > for SOAP-Lite-0.69, I used the recommended > > > > *SOAP::Serializer::as_string = > > \&SOAP::Serializer::as_base64Binary;
> > When I tried this recently with 0.68, I got 'client' errors on the > server when it tried to invoke the method to encode the response. > > I asked on the soaplite mailing list but got no response. Eventually, I > found a way to cause it to work which I've documented on the list and on > AnnoCPAN. It may work for you as well. > > HTH, Dave
Thanks, Dave - that does work. Unfortunately, in my particular case, I don't have any control over the client (which is ActiveState's ppm utility). -- best regards, Randy
Hi Randy, this is actually a documentation error: it should read *SOAP::Serializer::as_string = \&SOAP::XMLSchema2001::Serializer::as_base64Binary; Please let me know if this doesn't help. The pod is already fixed in CVS. Thanks for reporting, Martin