[jbossws-issues] [JBoss JIRA] Reopened: (JBWS-1862) RPC DII Calls Assume response parameter is called 'result' in the response message.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Tue Aug 12 05:56:40 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBWS-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse reopened JBWS-1862:
------------------------------------

      Assignee: Darran Lofthouse


> RPC DII Calls Assume response parameter is called 'result' in the response message.
> -----------------------------------------------------------------------------------
>
>                 Key: JBWS-1862
>                 URL: https://jira.jboss.org/jira/browse/JBWS-1862
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-jaxrpc
>    Affects Versions: jbossws-1.2.1
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>
> RPC DII Calls Assume response parameter is called 'result' in the response message.
> For document style endpoints it will fall back to checking the type but for RPC calls if the name does not match the following error will be reported.
> java.rmi.RemoteException: Call invocation failed; nested exception is: 
> 	org.jboss.ws.WSException: Cannot find child element: result
> 	at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:526)
> 	at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:276)
>         ...
> Caused by: org.jboss.ws.WSException: Cannot find child element: result
> 	at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:866)
> 	at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:586)
> 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:356)
> 	at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:507)
> 	... 2 more
> This is caused with the following response message: -
> <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
>  <env:Header/>
>  <env:Body>
>   <ns1:echoResponse xmlns:ns1='http://org.jboss.test.ws/jbws1862'>
>    <String_2>Hello World!!</String_2>
>   </ns1:echoResponse>
>  </env:Body>
> </env:Envelope>
> Here the issue is that the 'String_2' element is not called 'result'.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list