axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12316] New: - Calling a method with an output only parameter results in an exception
Date Wed, 04 Sep 2002 20:46:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12316>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12316

Calling a method with an output only parameter results in an exception

           Summary: Calling a method with an output only parameter results
                    in an exception
           Product: Axis
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: ckowal@actional.com


If you call a method that has an output only parameter, an exception is thrown 
at runtime.

Iíve attached the WSDL for the server, the Java client code, and TCPMonitor 
logs for the request.

This is the exception thrown:


- Exception:
org.xml.sax.SAXException: operation description is missing parameter 
description!
	at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:220)
	at org.apache.axis.encoding.DeserializationContextImpl.startElement
(DeserializationContextImpl.java:883)
	at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:158)
	at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:681)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:244)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:268)
	at org.apache.axis.client.Call.invoke(Call.java:1862)
	at org.apache.axis.client.Call.invoke(Call.java:1768)
	at org.apache.axis.client.Call.invoke(Call.java:1306)
	at com.actional.SaptestBindingStub.y_Basictst_Test_Char
(SaptestBindingStub.java:136)
	at Client.doIt(Client.java:33)
	at Client.main(Client.java:12)
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: org.xml.sax.SAXException: operation description is missing 
parameter description!
 faultActor: null
 faultDetail: 
	stackTrace: org.xml.sax.SAXException: operation description is missing 
parameter description!
	at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:220)
	at org.apache.axis.encoding.DeserializationContextImpl.startElement
(DeserializationContextImpl.java:883)
	at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:158)
	at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:681)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:244)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:268)
	at org.apache.axis.client.Call.invoke(Call.java:1862)
	at org.apache.axis.client.Call.invoke(Call.java:1768)
	at org.apache.axis.client.Call.invoke(Call.java:1306)
	at com.actional.SaptestBindingStub.y_Basictst_Test_Char
(SaptestBindingStub.java:136)
	at Client.doIt(Client.java:33)
	at Client.main(Client.java:12)


org.xml.sax.SAXException: operation description is missing parameter 
description!
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:115)
	at org.apache.axis.client.Call.invoke(Call.java:1865)
	at org.apache.axis.client.Call.invoke(Call.java:1768)
	at org.apache.axis.client.Call.invoke(Call.java:1306)
	at com.actional.SaptestBindingStub.y_Basictst_Test_Char
(SaptestBindingStub.java:136)
	at Client.doIt(Client.java:33)
	at Client.main(Client.java:12)
Caused by: org.xml.sax.SAXException: operation description is missing parameter 
description!
	at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:220)
	at org.apache.axis.encoding.DeserializationContextImpl.startElement
(DeserializationContextImpl.java:883)
	at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:158)
	at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:681)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:244)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:268)
	at org.apache.axis.client.Call.invoke(Call.java:1862)
	... 5 more
Exception in thread "main"

Mime
View raw message