You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Lombard Frank - flomba <Fr...@acxiom.com> on 2001/12/08 00:07:09 UTC

Sending Soap but getting fault

I'm serializing a Element in Visual Basic as :
 
 
POST /soap/servlet/rpcrouter HTTP/1.0
Host: laiisms1d
Content-Type: text/xml; charset=utf-8
Content-Length: 649
SOAPAction: ""
 
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:getCustomer xmlns:ns1="urn:GetCustomer"
SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<Request>
<Request_Customer_Info>
 
<Customer>
<UserId>flomba</UserId>
<PassWord>ok12345</PassWord>
<lastName>BAR</lastName>
<NbrNum>231126278B</NbrNum>
</Customer>
</Request_Customer_Info>
</Request>
</ns1:getCustomer>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
 
 
and I'm getting back from Apache Soap Server:
 
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
 
Anyone have any idea as to why this is happening? 
I'd appreciate any suggestions, thanks.