axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Belliardo" <diego.bellia...@enigen.it>
Subject R: WSDL2Java DUplicate Operation
Date Wed, 20 Dec 2006 18:41:13 GMT
I'm trying to use 2 WSLD, generating 2 client:
 
1 with 1st method
and another with 2nd method:
 
1
 
 <wsdl:portType name="WsInfoVoliSoap">
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliSoapIn"/>
   <wsdl:output message="tns:GetInfoVoliSoapOut"/>
  </wsdl:operation>
  <!--  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input name="GetInfoVoliArray" message="tns:GetInfoVoliArraySoapIn"/>
   <wsdl:output name="GetInfoVoliArray" message="tns:GetInfoVoliArraySoapOut"/>
  </wsdl:operation>-->
 </wsdl:portType>
 <wsdl:portType name="WsInfoVoliHttpGet">
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliHttpGetIn"/>
   <wsdl:output message="tns:GetInfoVoliHttpGetOut"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:portType name="WsInfoVoliHttpPost">
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliHttpPostIn"/>
   <wsdl:output message="tns:GetInfoVoliHttpPostOut"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:binding name="WsInfoVoliSoap" type="tns:WsInfoVoliSoap">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
  <wsdl:operation name="GetInfoVoli">
   <soap:operation soapAction="http://corp.it/WsInfoVoli/GetInfoVoli <http://corp.alitalia.it/WsInfoVoli/GetInfoVoli>
" style="document"/>
   <wsdl:input>
    <soap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <soap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>
  <!--  <wsdl:operation name="GetInfoVoli">
   <soap:operation soapAction="http://corp.it/WsInfoVoli/GetInfoVoliArray <http://corp.alitalia.it/WsInfoVoli/GetInfoVoliArray>
" style="document"/>
   <wsdl:input>
    <soap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <soap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>-->
 </wsdl:binding>
 
 
2:
 
 <wsdl:portType name="WsInfoVoliSoap">
<!--  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliSoapIn"/>
   <wsdl:output message="tns:GetInfoVoliSoapOut"/>
  </wsdl:operation>-->
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input name="GetInfoVoliArray" message="tns:GetInfoVoliArraySoapIn"/>
   <wsdl:output name="GetInfoVoliArray" message="tns:GetInfoVoliArraySoapOut"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:portType name="WsInfoVoliHttpGet">
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliHttpGetIn"/>
   <wsdl:output message="tns:GetInfoVoliHttpGetOut"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:portType name="WsInfoVoliHttpPost">
  <wsdl:operation name="GetInfoVoli">
   <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Stato del volo.</wsdl:documentation>
   <wsdl:input message="tns:GetInfoVoliHttpPostIn"/>
   <wsdl:output message="tns:GetInfoVoliHttpPostOut"/>
  </wsdl:operation>
 </wsdl:portType>
 <wsdl:binding name="WsInfoVoliSoap" type="tns:WsInfoVoliSoap">
  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
  <!--  <wsdl:operation name="GetInfoVoli">
   <soap:operation soapAction="http://corp.alitalia.it/WsInfoVoli/GetInfoVoli" style="document"/>
   <wsdl:input>
    <soap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <soap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>-->
  <wsdl:operation name="GetInfoVoli">
   <soap:operation soapAction="http://corp.alitalia.it/WsInfoVoli/GetInfoVoliArray" style="document"/>
   <wsdl:input>
    <soap:body use="literal"/>
   </wsdl:input>
   <wsdl:output>
    <soap:body use="literal"/>
   </wsdl:output>
  </wsdl:operation>
 </wsdl:binding>
 
 
What do you think?
 
 
 
Regards,
 
 

________________________________

Da: Anne Thomas Manes [mailto:atmanes@gmail.com]
Inviato: mer 20/12/2006 19:10
A: axis-user@ws.apache.org
Oggetto: Re: WSDL2Java DUplicate Operation



Axis2 does not support overloaded operations. If you can't change the
WSDL, either you'll need to interface with the service using the
low-level interface (constructing the message via OMElement) or use a
different toolkit.




Mime
View raw message