Hi,

I'm getting this exception when jbossws processes the response message from a 
sample web service:

  | Caused by: org.jboss.ws.WSException: Cannot find child element: result
  | 00:43:23,128 ERROR [STDERR]         at 
org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:749)
  | 00:43:23,128 ERROR [STDERR]         at 
org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:486)
  | 00:43:23,128 ERROR [STDERR]         at 
org.jboss.ws.core.CommonClient.invoke(CommonClient.java:312)
  | 00:43:23,128 ERROR [STDERR]         at 
org.jboss.ws.core.jaxrpc.CallImpl.invokeInternal(CallImpl.java:562)
  | 00:43:23,128 ERROR [STDERR]         ... 82 more
  | 

It seems that for rpc style operations, it is expected that the return value be 
in the 'result' element of the response message. If I read the SOAP 1.1 it does 
not mandate the name of the element containing the return value, but it does 
say that the first accessor of the response 'struct' must contain the return 
value (see bullet #5 and 6 at 
http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383533).

Is my understanding correct? If so, for SOAP 1.1 rpc style operations, should 
getParameterFromMessage() try matching based on the type of the first element?

Thank you
Sergiu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012020#4012020

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012020
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to