I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-02 12:59:11-07 by gigimark
problems with soap lite
Hi there been trying to build a soap request using SOAP::Lite, and am always ending up with the following SOAP fault:
<faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance + of an object.</faultstring>
. I've managed to build a successful request using .NET WebService Studio, and the only differences I can see between the two requests are: 1. encoding: WebService Studio uses utf-16, I use iso-8859-1 when using SOAP::Lite, and kinda have to 2. the namespace attributes in the envelope root element. WebService Studio has the following:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/ +2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
while SOAP::Lite is using the following:
<soap:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" soap:encodingStyle="http: +//schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns: +soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
I can't find out how to override the attribute values in the Envelope root, and I'm not even sure whether this is the problem. Anyone has any ideas at all?
Direct Responses: 8004 | Write a response
Posted on 2008-06-02 19:01:17-07 by rahed in response to 7999
Re: problems with soap lite
Prefixes can be set by envprefix and encprefix methods as well as encoding applied to the client object as stated in the docs.

Also check an xml structure of the body sent to the server.
Direct Responses: 8007 | Write a response
Posted on 2008-06-03 05:59:26-07 by gigimark in response to 8004
Re: problems with soap lite
Thanks Rahed. but that wasn't quite it. I'm more hoping to be able to override these two attributes: xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" and xmlns:xsd="http://www.w3.org/1999/XMLSchema" with xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and xmlns:xsd="http://www.w3.org/2001/XMLSchema". I'm not even sure that this is the problem, but it's my best shot right now.
Direct Responses: 8010 | Write a response
Posted on 2008-06-03 11:15:44-07 by rahed in response to 8007
Re: problems with soap lite
I think the default xml schema 2001 was introduced with SOAP::Lite 0.65 version. Use the latest from cpan.
Some constants can be changed with SOAP::Constants module.
Direct Responses: Write a response