--- Begin Message ---
The NumberFormatException may have been a slight red-herring. Here is
the response:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail>
<ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/">java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:33)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
uk.org.jembatan.lombok.core.LombokServerConnection.handleRequest(Lombok.java:222)
at
uk.org.jembatan.lombok.core.LombokServerConnection.run(Lombok.java:111)
</ns2:stackTrace>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I have tried approaching the problem from a different angle.
TheNumberFormatException was thrown on the client side, but the server
was complaining about this NullPointer. I am trying to trakc this down
at the moment - any help would be appreciated
Paul Hunnisett
www.lombok.org.uk
On Wed, 2002-10-30 at 13:22, Scott Nichol wrote:
> Are you using the current code? I see an Integer.parseInt in
> readHeadersFromSocket, but nothing similar in readFromSocket. The call
> in readHeadersFromSocket is reading the HTTP status code, e.g. the 200
> in
>
> HTTP/1.1 200 OK
>
> It would probably help folks immensely if you could capture the response
> with tcpmon or a similar tool and post it here as well.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Paul Hunnisett" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 30, 2002 4:01 AM
> Subject: RE: HTTPSender
>
>
> > Does no-one really know anything about this class? In it's
> > readFromSocket() method it attempts to parse a String containing
> > encoding information. When I run Axis on my server, this always
> throws
> > a NumberFormatException. Is there soemthing I should have implemented
> > but haven't? Any ideas?
> >
> > Paul Hunnisett
> > www.lombok.org.uk
> >
> >
> >
> >
> >
>
--- End Message ---