You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "David R. Kraus (JIRA)" <ji...@apache.org> on 2007/02/08 02:10:05 UTC

[jira] Commented: (AXIS2-1574) Exception when using RPCInOnlyMessageReceiver

    [ https://issues.apache.org/jira/browse/AXIS2-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471169 ] 

David R. Kraus commented on AXIS2-1574:
---------------------------------------

I originally communicated an issue (Axis2-1706) which had to do with errors when returning from a void web service method. The solution was given as to use RPCInOnlyMessageReceiver in the service.xml file. I tried this and experienced the "Incoming message input stream is null" error previously described in this issue. Adding the mep specification made no difference. I am also running with Tomcat 5.0.28 on windows xp pro, and am using the most recent version of Axis2 (1.1.1).

Sanka, when it works for you, what is your web service container (Tomcat)? If so, what version?

> Exception when using RPCInOnlyMessageReceiver
> ---------------------------------------------
>
>                 Key: AXIS2-1574
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1574
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0.28, latest nightly.
>            Reporter: Shahar Kedar
>         Assigned To: Sanka Samaranayake
>         Attachments: ConnectionInfoManager.wsdl, ConnectionInfoManager.wsdl, Service.aar, services.xml, ServiceStub.java, ServiceTest.java
>
>
> I receiving the following exception when trying to invoke the dummy operation:
> org.apache.axis2.AxisFault: Incoming message input stream is null
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:64)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:367)
> 	at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:281)
> 	at com.test.ServiceStub.dummy(ServiceStub.java:141)
> 	at com.test.ServiceTest.testdummy(ServiceTest.java:33)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
> 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>  Attached is the AAR, the generated stub and stub tester.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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