Hello Mathieu! I added users@cxf in cc because it looks it's a CXF issue. You really upgraded from cxf 2.4.6 to 2.2.9? It sounds like a downgrade... Did you only upgrade the client side or the server side too? Could you also please post the CXF configuration here, I was asking for?
Best, Christian On Mon, Jun 4, 2012 at 10:03 AM, mathieuJ <[email protected]> wrote: > i passed from camel 2.2.0 to 2.8.4 and from cxf 2.4.6 to 2.2.9. > > my wsdl is (i cut it a little): > > <?xml version='1.0' encoding='UTF-8'?> > <wsdl:definitions name="wsEdition" > targetNamespace=XXXX" xmlns:ns1=" > http://cxf.apache.org/bindings/xformat" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:tns="XXXXX" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:xs="http://www.w3.org/2001/XMLSchema"> > <wsdl:types> > <xs:schema attributeFormDefault="unqualified" > elementFormDefault="unqualified" > targetNamespace="XXXXX" > xmlns:ns1="http://cxf.apache.org/bindings/xformat" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:tns="XXXXX" xmlns:wsdl=" > http://schemas.xmlsoap.org/wsdl/" > xmlns:xs="http://www.w3.org/2001/XMLSchema"> > > > <xs:complexType name="getEdition"> > <xs:sequence> > <xs:element minOccurs="0" > name="editionReq" > type="tns:getEditionRequest" /> > </xs:sequence> > </xs:complexType> > > <xs:complexType name="getEditionRequest"> > <xs:sequence> > <xs:element minOccurs="0" > name="tokenEdition" type="xs:string" /> > </xs:sequence> > </xs:complexType> > <xs:complexType name="getEditionResponse"> > <xs:sequence> > <xs:element minOccurs="0" > name="editionResp" type="tns:getEditionResp" > /> > </xs:sequence> > > </xs:complexType> > <xs:complexType name="getEditionResp"> > <xs:sequence> > <xs:element maxOccurs="unbounded" > minOccurs="0" > name="lstMessages" > nillable="true" type="tns:messageApplication" /> > <xs:element minOccurs="0" name="pdf" > > ns1:expectedContentTypes="application/octet-stream" > type="xs:base64Binary" > xmlns:ns1=" > http://www.w3.org/2005/05/xmlmime" /> > </xs:sequence> > </xs:complexType> > > > > <xs:complexType name="messageApplication"> > <xs:sequence> > <xs:element minOccurs="0" > name="codeMessage" type="xs:string" /> > <xs:element minOccurs="0" > name="codeService" type="xs:string" /> > <xs:element minOccurs="0" > name="libelle" type="xs:string" /> > <xs:element minOccurs="0" > name="type" type="xs:string" /> > </xs:sequence> > </xs:complexType> > <xs:complexType name="EditionFault"> > > <xs:sequence> > <xs:element maxOccurs="unbounded" > minOccurs="0" name="lstMessage" > > type="tns:messageApplication" /> > </xs:sequence> > </xs:complexType> > <xs:complexType name="faultMessage"> > <xs:sequence> > <xs:element name="editionFault" > type="tns:EditionFault" /> > </xs:sequence> > </xs:complexType> > > > > > <xs:element name="getEdition" type="tns:getEdition" > /> > <xs:element name="getEditionResponse" > type="tns:getEditionResponse" /> > <xs:element name="GetEditionFault" nillable="true" > type="tns:faultMessage" /> > > > > </xs:schema> > </wsdl:types> > <wsdl:message name="searchEditionResponse"> > <wsdl:part element="tns:searchEditionResponse" > name="parameters"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="getFluxEditionResponse"> > <wsdl:part element="tns:getFluxEditionResponse" > name="parameters"> > > </wsdl:part> > </wsdl:message> > <wsdl:message name="SearchEditionFault"> > <wsdl:part element="tns:SearchEditionFault" > name="parameters"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="getFluxEditionFault"> > <wsdl:part element="tns:getFluxEditionFault" > name="parameters"> > </wsdl:part> > > </wsdl:message> > <wsdl:message name="GetEditionFault"> > <wsdl:part element="tns:GetEditionFault" > name="GetEditionFault"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="getEditionResponse"> > <wsdl:part element="tns:getEditionResponse" > name="parameters"> > </wsdl:part> > </wsdl:message> > > <wsdl:message name="getFluxEditionRequest"> > <wsdl:part element="tns:getFluxEdition" name="parameters"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="getEdition"> > <wsdl:part element="tns:getEdition" name="parameters"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="searchEdition"> > > <wsdl:part element="tns:searchEdition" name="parameters"> > </wsdl:part> > </wsdl:message> > <wsdl:portType name="wsEdition"> > <wsdl:operation name="getEdition"> > <wsdl:input message="tns:getEdition" > name="getEdition"> > </wsdl:input> > <wsdl:output message="tns:getEditionResponse" > name="getEditionResponse"> > </wsdl:output> > > <wsdl:fault message="tns:GetEditionFault" > name="GetEditionFault"> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="getFluxEdition"> > <wsdl:input message="tns:getFluxEditionRequest"> > </wsdl:input> > <wsdl:output message="tns:getFluxEditionResponse"> > </wsdl:output> > <wsdl:fault message="tns:getFluxEditionFault" > name="fault"> > > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="searchEdition"> > <wsdl:input message="tns:searchEdition" > name="searchEdition"> > </wsdl:input> > <wsdl:output message="tns:searchEditionResponse" > name="searchEditionResponse"> > </wsdl:output> > <wsdl:fault message="tns:SearchEditionFault" > name="SearchEditionFault"> > </wsdl:fault> > > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="wsEditionSOAPBinding" type="tns:wsEdition"> > <soap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http" /> > <wsdl:operation name="getEdition"> > <soap:operation > soapAction="http://www.suravenir.fr/ws/edition/getEdition" /> > <wsdl:input name="getEdition"> > <soap:body use="literal" /> > </wsdl:input> > > <wsdl:output name="getEditionResponse"> > <soap:body use="literal" /> > </wsdl:output> > <wsdl:fault name="GetEditionFault"> > <soap:fault name="GetEditionFault" > use="literal" /> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="getFluxEdition"> > <soap:operation > soapAction="http://www.suravenir.fr/ws/edition/getFluxEdition" /> > > <wsdl:input> > <soap:body use="literal" /> > </wsdl:input> > <wsdl:output> > <soap:body use="literal" /> > </wsdl:output> > <wsdl:fault name="fault"> > <soap:fault name="fault" use="literal" /> > </wsdl:fault> > > </wsdl:operation> > <wsdl:operation name="searchEdition"> > <soap:operation > soapAction="http://www.suravenir.fr/ws/edition/searchEdition" /> > <wsdl:input name="searchEdition"> > <soap:body use="literal" /> > </wsdl:input> > <wsdl:output name="searchEditionResponse"> > <soap:body use="literal" /> > </wsdl:output> > > <wsdl:fault name="SearchEditionFault"> > <soap:fault name="SearchEditionFault" > use="literal" /> > </wsdl:fault> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="wsEdition"> > <wsdl:port binding="tns:wsEditionSOAPBinding" > name="wsEditionSOAP"> > <soap:address location=" > http://localhost:9006/WsFuseEdition" /> > </wsdl:port> > > </wsdl:service> > </wsdl:definitions> > > In fact in my last version i get one attachment ( pdf file ), where the id > in the soap answer is the same that the attachment ( see the image ) > http://camel.465427.n5.nabble.com/file/n5713928/capture3.jpg > http://camel.465427.n5.nabble.com/file/n5713928/capture3.jpg > > and with my new version i get two attachment, and the id in the soap answer > is the attachment where is size is none ( see image ) > http://camel.465427.n5.nabble.com/file/n5713928/Capture2.jpg > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/migration-camel-attachment-problem-tp5713800p5713928.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
