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. ---> 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?