Given the MTOM sample service, typing "?wsdl" returns a WSDL, but it seems not what I expected. Appended is the schema part of the generated WSDL. Do I have to manually create a WSDL for a non-Java client?
In addition, is an Axis2 service mapped to multiple WSDLs? How can I get the WSDL which supports SOAP 1.2? MTOM sample service can accept SOAP 1.1 and SOAP 1.2 requests. Thanks, Tao ************** returned WSDL from "http://localhost:8080/axis2/services/mtomSample?wsdl" **************** - <wsdl:definitions xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://org.apache.axis2/" targetNamespace="http://org.apache.axis2/"> - <wsdl:types> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.apache.axis2/xsd" targetNamespace="http://org.apache.axis2/xsd" elementFormDefault="qualified" attributeFormDefault="unqualified"> - <xs:element name="mtomSampleRequest"> - <xs:complexType> - <xs:sequence> <xs:element type="xs:anyType" name="element" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="mtomSampleResponse"> - <xs:complexType> - <xs:sequence> <xs:element type="xs:anyType" name="return" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> ...