The error is coming from the client side.  It is a bug present in the 2.3.1 release 
version of Apache SOAP, not the nightly build you cite.  Did you change your client 
CLASSPATH to point to the nightly build?

The bug occurs when the server does not send a Content-Type header.  This typically 
only happens when there is an error on the server.  Any response from Apache SOAP 
would have a text/xml Content-Type.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Joshi Pravin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 1:43 PM
Subject: Exception during deployment of SOAP examples using iPlanet application server7


Hi,

I am using SOAP2.3.1(04-Sep-2003 07:06 build) with iPlanet application server7 on 
Solaris platform. Deployment of soap.war was successful.
However, when I try to deploy soap examples, I am getting 
java.lang.NullPointerException. 
Here is the output of testit.sh script. The URL in use if 
http://HOSTNAME:4848/NASApp/soap/servlet/rpcrouter.

This test assumes a server URL of http://HOSTNAME:4848/NASApp/soap/servlet/rpcrouter
Deploying the addressbook service...
Exception in thread "main" java.lang.NullPointerException
        at org.apache.soap.transport.TransportMessage.read(TransportMessage.java:206)
        at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:382)
        at 
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:309)
        at org.apache.soap.rpc.Call.invoke(Call.java:248)
        at 
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClient.java:129)
        at 
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java:142)
        at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:230)

Any idea what's causing this exception.

Thanks in advance

Pravin

Reply via email to