[jbossws-issues] [JBoss JIRA] Reopened: (JBWS-1607) WSDL To Java - document/literal, IN OUT parameter incorectly used as return type.

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Fri May 4 15:54:52 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1607?page=all ]

Darran Lofthouse reopened JBWS-1607:
------------------------------------

             

> WSDL To Java - document/literal, IN OUT parameter incorectly used as return type.
> ---------------------------------------------------------------------------------
>
>                 Key: JBWS-1607
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1607
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: wstools
>            Reporter: Darran Lofthouse
>         Assigned To: Darran Lofthouse
>             Fix For: jbossws-2.0.0
>
>
> From the JAX-RPC specification: -
> "If there is a single unlisted output part that is not a component of an inout parameter, then it is the return type.  Otherwise, the return type is void."
> A WSDL with the following messages: -
>  <message name='PhoneBook_lookup'>
>   <part element='ns1:lookup' name='lookup'/>
>  </message>
>  <message name='PhoneBook_lookupResponse'>
>   <part element='ns1:lookup' name='lookup'/>
>  </message>
> Causes the following method to be generated in the SEI: -
> public java.lang.String  lookup(javax.xml.rpc.holders.StringHolder lookup) throws  java.rmi.RemoteException;
> The return type should be void.

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

        



More information about the jbossws-issues mailing list