Hello!
We used AXIS 1.1 a lot of time for java file generation from wsdl
(WSDL2Java). At now we try to use AXIS 1.2 and right away to come into
collision (see below). IMHO v.1.1 makes the "right" java-files, but v.1.2
doesn't. But we want to use v1.2 and try to undestand the mysterious "bug".
Thx!
WSDL
=================
<xs:element name="GetReceivedMessagesOut"
type="coi:GetReceivedMessagesOutType"></xs:element>
<xs:complexType name="GetReceivedMessagesOutType">
<xs:sequence>
<xs:element name="SWIFTIndex" type="coi:SWIFTIndexType">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="GetReceivedMessages"
type="coi:GetReceivedMessagesType"></xs:element>
<xs:complexType name="GetReceivedMessagesType">
</xs:complexType>
<message name="GetReceivedMessagesSoapIn">
<part name="parameters" element="coi:GetReceivedMessages"/>
</message>
<message name="GetReceivedMessagesSoapOut">
<part name="parameters" element="coi:GetReceivedMessagesOut"/>
</message>
<portType name="AsekrCOIControllerPortType">
<operation name="GetReceivedMessages">
<input message="tns:GetReceivedMessagesSoapIn"/>
<output message="tns:GetReceivedMessagesSoapOut"/>
</operation>
</portType>
<binding name="AsekrCOIControllerBinding"
type="tns:AsekrCOIControllerPortType">
<soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetReceivedMessages">
<soap:operation
soapAction="urn:cbr-ru:ekr:ws:soapmsg:coicontroller:v1.0#GetReceivedMessages
" style="document"/><input><soap:body use="literal"/></input>
<output><soap:body use="literal"/></output>
</operation>
</binding>
=================
WSDL2Java v1.1 OUT
-----------------
Files:
SWIFTElementType.java
SWIFTIndexType.java
AsekrCOIControllerPortType.java
...
The Method:
public _0.v1.coicontroller.soapmsg.ekr.cbr_ru.SWIFTIndexType
getReceivedMessages() throws java.rmi.RemoteException;
-----------------
WSDL2Java v1.2.1 OUT
-----------------
Files:
GetReceivedMessagesOutType.java
GetReceivedMessagesType.java
SWIFTElementType.java
SWIFTIndexType.java
AsekrCOIControllerPortType.java
...
The Method:
public
_0.v1.coicontroller.soapmsg.ekr.cbr_ru.GetReceivedMessagesOutType
getReceivedMessages(_0.v1.coicontroller.soapmsg.ekr.cbr_ru.GetReceivedMessag
esType parameters) throws java.rmi.RemoteException;
-----------------
--
gav