[ http://issues.apache.org/jira/browse/AXIS-2193?page=all ]

Jayachandra Sekhara Rao Sunkara updated AXIS-2193:
--------------------------------------------------

    Summary: In the case where single portType is being bound to different 
bindings. The generated stubs for all bindings do not have code implementing 
the operations of the binding  (was: binding's operation specific parameters 
are retrieved differently than the way they are populated)

> In the case where single portType is being bound to different bindings. The 
> generated stubs for all bindings do not have code implementing the operations 
> of the binding
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2193
>          URL: http://issues.apache.org/jira/browse/AXIS-2193
>      Project: Apache Axis
>         Type: Bug
>     Reporter: Bug Reporter
>     Assignee: Jayachandra Sekhara Rao Sunkara

>
> In the case where single portType is being bound to different bindings. The 
> generated stubs for all bindings do not have code implementing the operations 
> of the binding.
> I have a wsdl which had three bindings each referencing the same portType as 
> shown below
> [WSDL Extract begin]
> <!-- PORT TYPE -->
> <wsdl:portType name="wssprocessorVi_Document">
> - <wsdl:operation name="apply">
>   <wsdl:input message="tns:applyIn_doc" /> 
>   <wsdl:output message="tns:applyOut_doc" /> 
>   </wsdl:operation>
> - <wsdl:operation name="getKsAliases">
>   <wsdl:input message="tns:getKsAliasesIn_doc" /> 
>   <wsdl:output message="tns:getKsAliasesOut_doc" /> 
>   </wsdl:operation>
> - <wsdl:operation name="getKsCertDNs">
>   <wsdl:input message="tns:getKsCertDNsIn_doc" /> 
>   <wsdl:output message="tns:getKsCertDNsOut_doc" /> 
>   </wsdl:operation>
> - <wsdl:operation name="getKsViews">
>   <wsdl:input message="tns:getKsViewsIn_doc" /> 
>   <wsdl:output message="tns:getKsViewsOut_doc" /> 
>   </wsdl:operation>
> - <wsdl:operation name="verify">
>   <wsdl:input message="tns:verifyIn_doc" /> 
>   <wsdl:output message="tns:verifyOut_doc" /> 
>   </wsdl:operation>
> </wsdl:portType>
> <!-- FIRST BINDING -->
> <wsdl:binding name="plainBinding" type="wssprocessorVi_Document">
>   <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
> style="document" /> 
> - <wsdl:operation name="apply">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsAliases">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsCertDNs">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsViews">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="verify">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> </wsdl:binding>
> <!-- SECOND BINDING -->
> - <wsdl:binding name="sslBinding" type="wssprocessorVi_Document">
>   <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
> style="document" /> 
> + <wsdl:operation name="apply">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsAliases">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsCertDNs">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="getKsViews">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> + <wsdl:operation name="verify">
>   <soap:operation soapAction="" /> 
> - <wsdl:input>
>   <soap:body use="literal" parts="parameters" /> 
>   </wsdl:input>
> - <wsdl:output>
>   <soap:body use="literal" /> 
>   </wsdl:output>
>   </wsdl:operation>
> </wsdl:binding>
> <!-- similarly a THIRD BINDING, not shown here -->
> [WSDL Extract end]
> In the generated stubs for 'sslBinding' i.e. SslBindingStub.java all the five 
> methods are implemented but in the PlainBindingStub.java apart from the 
> boiler plate code, there is no implementation for any of the five operations.

-- 
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

Reply via email to