beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Jantz (JIRA)" <...@beehive.apache.org>
Subject [jira] Closed: (BEEHIVE-852) Service control generation incorrect for RPC Encoded style WSDLs
Date Wed, 26 Jul 2006 22:23:14 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-852?page=all ]

Nathan Jantz closed BEEHIVE-852.
--------------------------------


Verified by examining the generated service control from the following WSDL which contains
soapenc types with a boolean return type.  The gen'ed service control for boolean retains
the original return type of the endpoint web service - no longer Object return type.  This
is the WSDL I used:

system-controls/test/webservice/webapp/wsdl/schematypes/SoapMarshallingRpcEnc.wsdl

Verified using svn rev: 424033 .  Closing issue.

> Service control generation incorrect for RPC Encoded style WSDLs
> ----------------------------------------------------------------
>
>                 Key: BEEHIVE-852
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-852
>             Project: Beehive
>          Issue Type: Bug
>          Components: System Controls
>    Affects Versions: V1Beta, v1m1
>            Reporter: Chad Schoettger
>         Assigned To: Nathan Jantz
>
> Found while working on the service control DRT's:
> If I generate a service control from a WSDL for an RPC encoded webservice, 'soapenc'
types are always being replaced by java.lang.Object.  For example:
> Say my webservice method looks like:
>       public Boolean echoBoolean(Boolean inputBoolean)
> And has the following WSDL representation: 
> (here's a fragment of my WSDL)
>                              .
>                              .
>                              .
>    <wsdl:message name="echoBooleanResponse">
>       <wsdl:part name="return" type="soapenc:boolean"/>
>    </wsdl:message>
>    <wsdl:message name="echoBooleanRequest">
>       <wsdl:part name="inputBoolean" type="soapenc:boolean"/>
>    </wsdl:message>
>     <wsdl:operation name="echoBoolean" parameterOrder="inputBoolean">
>          <wsdl:input message="impl:echoBooleanRequest" name="echoBooleanRequest"/>
>          <wsdl:output message="impl:echoBooleanResponse" name="echoBooleanResponse"/>
>     </wsdl:operation>
> The generated web service control method will look like:
> public Object echoBoolean(Object inputBoolean);
> The service control generator should not ignore the 'soapenc' types and instead use them
to generate a more proper service control method, such as:
> public Boolean echoBoolean(Boolean inputBoolean)
> ***********************************************************************
> I have a patch for this which I will get posted in the next day or two.

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

        

Mime
View raw message