cvc-elt wsdl2 description while generating web service
I am using axis2 1.6.2 and trying to create a web service by Top down java
bean web service in eclipse and while selecting service definition after
selecting wsdl at /Axis2WebService_1/WebContent/TempConverter.wsdl. Ok
button still gray out . Here is my wsdl
<?xml version="1.0" encoding="UTF-8"?><wsdl2:description
xmlns:wsdl2="http://www.w3.org/ns/wsdl"
xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://wtp"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wrpc="http://www.w3.org/ns/wsdl/rpc"
xmlns:wsoap="http://www.w3.org/ns/wsdl/soap" xmlns:tns="http://wtp"
xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:whttp="http://www.w3.org/ns/wsdl/http"
targetNamespace="http://wtp">
<wsdl2:types>
<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="http://wtp">
<xs:element name="farenheitToCelsius">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="farenheit"
type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="farenheitToCelsiusResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return"
type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="celsiusToFarenheit">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="celsius"
type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="celsiusToFarenheitResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return"
type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl2:types>
<wsdl2:interface name="ServiceInterface">
<wsdl2:operation name="celsiusToFarenheit"
style="http://www.w3.org/ns/wsdl/style/rpc"
wrpc:signature="celsius #in return #return "
pattern="http://www.w3.org/ns/wsdl/in-out">
<wsdl2:input element="ns:celsiusToFarenheit"
wsaw:Action="urn:celsiusToFarenheit"/>
<wsdl2:output element="ns:celsiusToFarenheitResponse"
wsaw:Action="urn:celsiusToFarenheitResponse"/>
</wsdl2:operation>
<wsdl2:operation name="farenheitToCelsius"
style="http://www.w3.org/ns/wsdl/style/rpc"
wrpc:signature="farenheit #in return #return "
pattern="http://www.w3.org/ns/wsdl/in-out">
<wsdl2:input element="ns:farenheitToCelsius"
wsaw:Action="urn:farenheitToCelsius"/>
<wsdl2:output element="ns:farenheitToCelsiusResponse"
wsaw:Action="urn:farenheitToCelsiusResponse"/>
</wsdl2:operation>
</wsdl2:interface>
<wsdl2:binding name="ConvertorSoap12Binding"
interface="tns:ServiceInterface" type="http://www.w3.org/ns/wsdl/soap"
wsoap:version="1.2">
<wsdl2:operation ref="tns:celsiusToFarenheit"
wsoap:action="urn:celsiusToFarenheit">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
<wsdl2:operation ref="tns:farenheitToCelsius"
wsoap:action="urn:farenheitToCelsius">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
</wsdl2:binding>
<wsdl2:binding name="ConvertorSoap11Binding"
interface="tns:ServiceInterface" type="http://www.w3.org/ns/wsdl/soap"
wsoap:version="1.1">
<wsdl2:operation ref="tns:celsiusToFarenheit"
wsoap:action="urn:celsiusToFarenheit">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
<wsdl2:operation ref="tns:farenheitToCelsius"
wsoap:action="urn:farenheitToCelsius">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
</wsdl2:binding>
<wsdl2:binding name="ConvertorHttpBinding"
interface="tns:ServiceInterface" whttp:methodDefault="POST"
type="http://www.w3.org/ns/wsdl/http">
<wsdl2:operation ref="tns:celsiusToFarenheit"
whttp:location="celsiusToFarenheit">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
<wsdl2:operation ref="tns:farenheitToCelsius"
whttp:location="farenheitToCelsius">
<wsdl2:input/>
<wsdl2:output/>
</wsdl2:operation>
</wsdl2:binding>
<wsdl2:service name="Convertor" interface="tns:ServiceInterface">
<wsdl2:endpoint name="ConvertorHttpSoap12Endpoint"
binding="tns:ConvertorSoap12Binding"
address="http://localhost:8080/axis2/services/Convertor"/>
<wsdl2:endpoint name="ConvertorHttpEndpoint"
binding="tns:ConvertorHttpBinding"
address="http://localhost:8080/axis2/services/Convertor"/>
<wsdl2:endpoint name="ConvertorHttpSoap11Endpoint"
binding="tns:ConvertorSoap11Binding"
address="http://localhost:8080/axis2/services/Convertor"/>
</wsdl2:service>
</wsdl2:description>
No comments:
Post a Comment