Hi mahen,
thanks,
example is fine, and i can see this wsdl from .net,
what i did i created web service withjws extension and then .net is able to
find the service,
the only problem is it says,
(1): Custom tool error: Unable to import WebService/Schema. Unable to import
binding 'ReceivingServletSoapBinding' from namespace
'http://192.168.1.6:8084/test/ReceivingServlet.jws?wsdl'. Unable to import
operation 'onMessage'. The datatype 'Element' is missing.
this is wsdl file:
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions
targetNamespace="http://192.168.1.6:8084/test/ReceivingServlet.jws"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://192.168.1.6:8084/test/ReceivingServlet.jws"
xmlns:intf="http://192.168.1.6:8084/test/ReceivingServlet.jws"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:message name="onMessageResponse">
<wsdl:part name="onMessageReturn" type="xsd:anyType" />
</wsdl:message>
- <wsdl:message name="onMessageRequest">
<wsdl:part name="bodyElem" type="apachesoap:Element" />
</wsdl:message>
- <wsdl:portType name="ReceivingServlet">
- <wsdl:operation name="onMessage" parameterOrder="bodyElem">
<wsdl:input message="impl:onMessageRequest" name="onMessageRequest" />
<wsdl:output message="impl:onMessageResponse" name="onMessageResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ReceivingServletSoapBinding"
type="impl:ReceivingServlet">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="onMessage">
<wsdlsoap:operation soapAction="" />
- <wsdl:input name="onMessageRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://DefaultNamespace" use="encoded" />
</wsdl:input>
- <wsdl:output name="onMessageResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://192.168.1.6:8084/test/ReceivingServlet.jws" use="encoded"
/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="ReceivingServletService">
- <wsdl:port binding="impl:ReceivingServletSoapBinding"
name="ReceivingServlet">
<wsdlsoap:address
location="http://192.168.1.6:8084/test/ReceivingServlet.jws" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
