
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Hi !
My probleme is that the WSDL2.0 description after deployement in axis2 is not the same WSDL2.0 description provided in the begining
I provide this:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl2:documentation>
Please Type your service description here
</wsdl2:documentation>
<wsdl2:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="
http://wsdl2package">
<xs:element name="add">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="a" type="xs:int" />
<xs:element minOccurs="0" name="b" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="addResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl2:types>
<wsdl2:interface name="ServiceInterface">
<wsdl2:input element="ns:add" wsaw:Action="urn:add" /><wsdl2:output element="ns:addResponse" wsaw:Action="urn:addResponse" />
</wsdl2:operation>
</wsdl2:interface>
</wsdl2:binding>
<wsdl2:service name="Wsdl2class" interface="tns:ServiceInterface">
</wsdl2:service>
</wsdl2:description>
with this service.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: 1.3 Built on : Aug 10, 2007 (04:45:47 LKT) -->
<serviceGroup>
<service name="Wsdl2class">
<messageReceivers>
<messageReceiver mep="
http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.axis2userguide.Wsdl2ClassMessageReceiverInOut"/>
</messageReceivers>
<parameter name="ServiceClass">org.apache.axis2.axis2userguide.Wsdl2ClassSkeleton</parameter>
<parameter name="useOriginalwsdl">true</parameter>
<parameter name="modifyUserWSDLPortAddress">true</parameter>
<operation name="add" mep="
http://www.w3.org/ns/wsdl/in-out">
<actionMapping>\"\"</actionMapping>
<outputActionMapping>urn:addResponse</outputActionMapping>
</operation>
</service>
</serviceGroup>
I execute ant jar.server and I copy build/lib/*.aar file to G:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis2\WEB-INF\services then when I check the WSDL2.0 description axis2 shows
<wsdl2:documentation>Wsdl2class</wsdl2:documentation>
- <wsdl2:interface name="ServiceInterface">
<wsdl2:input element="#none" />
<wsdl2:output element="#none" wsaw:Action="urn:addResponse" />
</wsdl2:operation>
</wsdl2:interface>
<wsdl2:operation ref="tns:add" />
</wsdl2:binding>
<wsdl2:operation ref="tns:add" whttp:location="Wsdl2class/add" />
</wsdl2:binding>
<wsdl2:operation ref="tns:add" />
</wsdl2:binding>
- <wsdl2:service name="Wsdl2class" interface="tns:ServiceInterface">
</wsdl2:description>
So as you can see, I have not one binding and one endpoint as in the original WSDL provided
Can you help me to have the same WSDL2.0 after deployement ?
Thanx a lot.