You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by "Hardman, Michael (AELE)" <Mi...@smiths-aerospace.com> on 2007/08/06 17:04:21 UTC

One way operation

I have encountered a problem calliing the
"operation.executeInputOnlyOperation(in_msg)" method.
The webservice is succesfully callled but a NullPointerException is then
thrown. I believe it occurs whilst trying to decode the reponse (see
"org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.setR
esponseContext".) As this is a one way operation I didn't expect a
reponse from the server.  I have included the stack trace for
information.
 
 java.lang.NullPointerException
	at java.io.FilterInputStream.read(FilterInputStream.java:66)
	at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInput
Stream.read(XMLEntityManager.java:2622)
	at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt
ity(XMLEntityManager.java:997)
	at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV
ersion(XMLVersionDetector.java:184)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:798)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
	at
org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializatio
nContextImpl.java:232)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
	at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.setRe
sponseContext(WSIFOperation_ApacheAxis.java:2782)
	at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invok
eRequestResponseOperation(WSIFOperation_ApacheAxis.java:1467)
	at
org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.execu
teInputOnlyOperation(WSIFOperation_ApacheAxis.java:1009)
	at
fums.ws.cm.consumer.CallWebService.invoke_method(CallWebService.java:326
)
	at fums.ws.cm.test.WsifTestClient.main(WsifTestClient.java:79)
 

Any help on the matter would be much aprreciated

 
Mike Hardman
GE
Aviation
Digital Systems
Information Systems (Southampton)
Software Engineer, R&TD
 
T: +44 (0)23 8024 2000
F: +44 (0)23 8024 2001
D: +44 (0)23 8024 2027
E: Michael.Hardman@smiths-aerospace.com
www.ge.com/aviation
 
School Lane, Chandlers Ford
Eastleigh, Hampshire, SO53 4YG, UK
GE Aviation is the business name for Smiths Aerospace Limited 

 
************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-user-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-user-help@ws.apache.org