Hi all!
I am completely new to Axis, but... I tried to follow the user guide and to
generate Java files from sample WSDL file Axis2SampleDocLit.wsdl, but
I got duplicate methods in DataBindingSupporter classes.
Also, when I tried my sample (WSDL is attached below) without using any
user defined data types, I got the same problem. What am I doing wrong?
Also (I opened the project in Eclipse) I got some other problems in the
same DrugiServisPortTypemetoda4DatabindingSupporter.
Please, could someone help.
Thanks in advance,
B
--
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="DrugiServis"
targetNamespace="XYZ"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="XYZ"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<types>
</types>
<message name="metoda4">
<part element="xsd:string" name="aVal"/>
</message>
<message name="metoda4Response">
<part element="xsd:string" name="result"/>
</message>
<message name="metoda3"/>
<message name="metoda3Response"/>
<portType name="DrugiServisPortType">
<operation name="metoda4">
<input message="tns:metoda4" name="metoda4"/>
<output message="tns:metoda4Response" name="metoda4Response"/>
</operation>
<operation name="metoda3">
<input message="tns:metoda3" name="metoda3"/>
<output message="tns:metoda3Response" name="metoda3Response"/>
</operation>
</portType>
<binding name="DrugiServisPortBinding"
type="tns:DrugiServisPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="metoda4">
<soap:operation soapAction="metoda4" style="rpc"/>
<input name="metoda4">
<soap:body namespace="XYZ" use="literal"/>
</input>
<output name="metoda4Response">
<soap:body namespace="XYZ" use="literal"/>
</output>
</operation>
<operation name="metoda3">
<soap:operation soapAction="metoda3" style="rpc"/>
<input name="metoda3">
<soap:body namespace="XYZ" use="literal"/>
</input>
<output name="metoda3Response">
<soap:body namespace="XYZ" use="literal"/>
</output>
</operation>
</binding>
<service name="DrugiServis">
<port binding="tns:DrugiServisPortBinding" name="DrugiServisPort">
<soap:address
location="http://localhost/axis2/services/DrugiServis.wsdl"/>
</port>
</service>
</definitions>
--