One way operation

"Hardman, Michael (AELE)" <Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org> Mon, 6 Aug 2007 09:04:21 -0600
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <7E926DB0A5268842956DBDB68C343B41D2CE1E@cossmgmbx08.EMAIL.CORP.TLD>
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.
=20
 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)
=20

Any help on the matter would be much aprreciated

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

=20
************************************************
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.
************************************************