[jboss-user] [JBossWS] - Re: WebService Client with MTOM
Despite having a basic implementation of WS-Policy, JBossWS-Native does not support policies for setting MTOM. This means you need to manually set mtom on client side (please refer to the documentation) or switch to JBossWS-CXF / JBossWS-Metro. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243849#4243849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WebService Client with MTOM - WSDL
attachmentservice_1.wsdl ?xml version=1.0 encoding=UTF-8? wsdl:definitions name=AttachmentService 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:i0=http://ebus.onefox.nl/2009/2/4; 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; wsdl:import namespace=http://ebus.onefox.nl/2009/2/4; location=AttachmentService.wsdl/ wsdl:types/ wsdl:service name=AttachmentService wsdl:port name=AttachmentServiceEndpoint binding=i0:AttachmentServiceEndpoint soap:address location=http://wkst02.onefox.nl/ebus/AttachmentService.svc/ /wsdl:port /wsdl:service /wsdl:definitions AttachmentService.wsdl ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://ebus.onefox.nl/2009/2/4; 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://ebus.onefox.nl/2009/2/4; 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=AttachmentServiceEndpoint_policy wsp:ExactlyOne wsp:All wsoma:OptimizedMimeSerialization xmlns:wsoma=http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization/ /wsp:All /wsp:ExactlyOne /wsp:Policy wsdl:types xsd:schema targetNamespace=http://ebus.onefox.nl/2009/2/4/Imports; xsd:import schemaLocation=AttachmentService_1.xsd namespace=http://ebus.onefox.nl/2009/2/4/ xsd:import schemaLocation=AttachmentService_1_2_3.xsd namespace=http://ebus.onefox.nl/2009/2/4/attachment/ xsd:import schemaLocation=AttachmentService_1_2.xsd namespace=http://schemas.microsoft.com/2003/10/Serialization// xsd:import schemaLocation=AttachmentService.xsd namespace=http://ebus.onefox.nl/2009/2/4/data/ xsd:import schemaLocation=AttachmentService_1_2_3_4.xsd namespace=http://schemas.microsoft.com/Message/ /xsd:schema /wsdl:types wsdl:message name=ReadDocumentMsg/ wsdl:message name=ReadDocumentMsg_Headers wsdl:part name=AuthInfo element=tns:AuthInfo/ wsdl:part name=Data element=q1:ReadDocumentMsg xmlns:q1=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:message name=AttachmentServiceReadDocumentResMsg wsdl:part name=ReadDocumentContent element=q2:ReadDocumentContent xmlns:q2=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:message name=AttachmentServiceReadDocumentResMsg_Headers wsdl:part name=Result element=q3:ReadDocumentResultMsg xmlns:q3=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:message name=WriteDocumentMsg wsdl:part name=ReadDocumentContent element=q4:ReadDocumentContent xmlns:q4=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:message name=WriteDocumentMsg_Headers wsdl:part name=AuthInfo element=tns:AuthInfo/ wsdl:part name=Data element=q5:WriteDocumentMsg xmlns:q5=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:message name=AttachmentServiceWriteDocumentResMsg/ wsdl:message name=AttachmentServiceWriteDocumentResMsg_Headers wsdl:part name=Result element=q6:WriteDocumentResultMsg xmlns:q6=http://ebus.onefox.nl/2009/2/4/attachment/ /wsdl:message wsdl:portType name=AttachmentService wsdl:operation name=ReadDocument wsdl:input wsaw:Action=http://ebus.onefox.nl/2009/2/4/AttachmentService/ReadDocument; name=ReadDocumentMsg message=tns:ReadDocumentMsg/ wsdl:output wsaw:Action=http://ebus.onefox.nl/2009/2/4/AttachmentService/ReadDocumentResponse; name=AttachmentServiceReadDocumentResMsg message=tns:AttachmentServiceReadDocumentResMsg/