axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Elgueta" <eelgu...@navix.cl>
Subject RE: NullPointerException on SOAPConnection.call
Date Fri, 02 Sep 2005 21:33:23 GMT
 Never mind: Now I was missing Xerces.

-----Original Message-----
From: Eduardo Elgueta [mailto:eelgueta@navix.cl] 
Sent: Viernes, 02 de Septiembre de 2005 11:10
To: axis-user@ws.apache.org
Subject: NullPointerException on SOAPConnection.call

Hi All,

My code is this:

	SOAPConnectionFactory conFactory =
SOAPConnectionFactory.newInstance();
	SOAPConnection con = conFactory.createConnection();
	URLEndpoint endPoint = new
URLEndpoint(config.getParameter(PARM_SERVICE_URL));
	SOAPMessage reply = con.call( soapMsg, endPoint ); // <-- Exception
	con.close();
 
I get this:

 java.lang.NullPointerException
	at java.util.Hashtable.put(Unknown Source)
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown
Source)
	at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:261)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:582)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:447)
	at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:112)
	:
	:

I've dumped soapMsg (SOAP message with attachment) and it's Ok. endPonint
looks Ok too.

Any ideas? 

Thank you in advance.

Ed.


Mime
View raw message