Hi Paul, Thanks you for your help. I send you my WSDL if you can fix ADB.
Thanks a lot. Elodie Paul Fremantle wrote:
Elodie If this is really simple, you could just use the NO DATA BINDING option on WSDL2Java, because you can just walk the OMElement. When you get to the MTOM element you just use the OMText model to treat it as a MTOM and pull out the data. If you want help I can probably write a sample. Its just the opposite of the client code. You can also just do it using the RawXMLMessageReceiver that comes with Axis2. It would also be helpful if you could post the WSDL you are having problems with as we'd like to fix ADB so it works for you. Paul
<?xml version="1.0" encoding="UTF-8"?> <definitions targetNamespace="http://test.bull.fr/projet" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:pre="http://test.bull.fr/projet" xmlns:pro="http://test.bull.fr/prototype" xmlns:proto="http://test.bull.fr/prototype" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://test.bull.fr/projet" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://test.bull.fr/projet"> <types> <s:schema elementFormDefault="qualified" targetNamespace="http://test.bull.fr/projet"> <s:import namespace="http://test.bull.fr/prototype" schemaLocation="proto_schema.xsd"/> <s:element name="submitOneWay"> <s:complexType> <s:sequence> <s:element ref="pro:testDocIn"/> </s:sequence> </s:complexType> </s:element> <s:element name="submit"> <s:complexType> <s:sequence> <s:element ref="pro:testDocIn"/> </s:sequence> </s:complexType> </s:element> <s:element name="submitResponse"> <s:complexType> <s:sequence> <s:element ref="pro:testDocOut"/> </s:sequence> </s:complexType> </s:element> </s:schema> </types> <message name="submitOWSoap12In"> <part element="tns:submitOneWay" name="input"/> </message> <message name="submitSoap12In"> <part element="tns:submit" name="request"/> </message> <message name="submitSoap12Out"> <part element="tns:submitResponse" name="reply"/> </message> <portType name="ProjetSvcSoap12"> <operation name="submitOneWay"> <input message="tns:submitOWSoap12In"/> </operation> <operation name="submit"> <input message="tns:submitSoap12In"/> <output message="tns:submitSoap12Out"/> </operation> </portType> <binding name="ProjetSvcSoap12" type="tns:ProjetSvcSoap12"> <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap12/http"/> <operation name="submitOneWay"> <soap12:operation soapAction="http://test.bull.fr/projet/submit" style="document"/> <input> <soap12:body parts="input" use="literal"/> </input> </operation> <operation name="submit"> <soap12:operation soapAction="http://test.bull.fr/projet/submit" style="document"/> <input> <soap12:body parts="request" use="literal"/> </input> <output> <soap12:body parts="reply" use="literal"/> </output> </operation> </binding> <service name="ProjetSvc"> <port binding="tns:ProjetSvcSoap12" name="ProjetSvcSoap12"> <soap12:address location="http://127.0.0.1:27070/ProxyWSDL/"/> </port> </service> </definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
