Hi
I am trying to send asynchronous requests (true non blocking as discussed at
http://ws.apache.org/axis2/1_1/userguide.html) to a wcf service. The wsdl is
added as an attachment. When I try to generate java proxies using wsdl2java
specifying -d as xmlbeans, I dont get any proxy code for implementing the
callback. I mean the callbackhandler generated i.e.
DMTServiceCallBackHandler has no methods which listen for the callback
coming from the webservice (i.e. no receiveResultHelloCallback method is
generated). It should be more clear if you can please use wsdl2java on the
attached wsdl.

Thanks

Waiting for your reply.
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="DMTService" targetNamespace="http://tempuri.org/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"; xmlns:tns="http://tempuri.org/"; xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"; xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:wsa10="http://www.w3.org/2005/08/addressing"; xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex";><wsp:Policy wsu:Id="DMTServiceEndPoint_policy"><wsp:ExactlyOne><wsp:All><wsrm:RMAssertion xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm/policy";><wsrm:InactivityTimeout Milliseconds="600000"/><wsrm:AcknowledgementInterval Milliseconds="200"/></wsrm:RMAssertion><cdp:CompositeDuplex xmlns:cdp="http://schemas.microsoft.com/net/2006/06/duplex"/><ow:OneWay xmlns:ow="http://schemas.microsoft.com/ws/2005/05/routing/policy"/><wsaw:UsingAddressing/></wsp:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports";><xsd:import schemaLocation="http://localhost:8001/DMTService?xsd=xsd0"; namespace="http://tempuri.org/"/><xsd:import schemaLocation="http://localhost:8001/DMTService?xsd=xsd1"; namespace="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:schema></wsdl:types><wsdl:message name="IDMTService_Hello_InputMessage"><wsdl:part name="parameters" element="tns:Hello"/></wsdl:message><wsdl:message name="IDMTService_Hello_OutputMessage"><wsdl:part name="parameters" element="tns:HelloResponse"/></wsdl:message><wsdl:message name="IDMTService_HelloCallback_OutputCallbackMessage"><wsdl:part name="parameters" element="tns:HelloCallback"/></wsdl:message><wsdl:message name="IDMTService_HelloCallback_InputCallbackMessage"><wsdl:part name="parameters" element="tns:HelloCallbackResponse"/></wsdl:message><wsdl:portType name="IDMTService"><wsdl:operation name="Hello"><wsdl:input wsaw:Action="http://tempuri.org/IDMTService/Hello"; message="tns:IDMTService_Hello_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IDMTService/HelloResponse"; message="tns:IDMTService_Hello_OutputMessage"/></wsdl:operation><wsdl:operation name="HelloCallback"><wsdl:output wsaw:Action="http://tempuri.org/IDMTService/HelloCallback"; message="tns:IDMTService_HelloCallback_OutputCallbackMessage"/><wsdl:input wsaw:Action="http://tempuri.org/IDMTService/HelloCallbackResponse"; message="tns:IDMTService_HelloCallback_InputCallbackMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="DMTServiceEndPoint" type="tns:IDMTService"><wsp:PolicyReference URI="#DMTServiceEndPoint_policy"/><soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="Hello"><soap12:operation soapAction="http://tempuri.org/IDMTService/Hello"; style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="HelloCallback"><soap12:operation soapAction="http://tempuri.org/IDMTService/HelloCallback"; style="document"/><wsdl:input><soap12:body use="literal"/></wsdl:input><wsdl:output><soap12:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="DMTService"><wsdl:port name="DMTServiceEndPoint" binding="tns:DMTServiceEndPoint"><soap12:address location="http://localhost:8001/DMTService/DMTService"/><wsa10:EndpointReference><wsa10:Address>http://localhost:8001/DMTService/DMTService</wsa10:Address></wsa10:EndpointReference></wsdl:port></wsdl:service></wsdl:definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to