You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christian Müller <ch...@gmail.com> on 2012/06/02 23:13:13 UTC
Re: migration camel attachment problem
Hello Mathieu!
You should start here [1].
You didn't provide enough information for us to start digging into your
problem.
>From which version to which version did you upgrade?
You didn't mention you use Apache Camel. You may consider to post this
question on the Apache CXF user list?
I didn't understand your explanation: "instead of receive one attachement,
i get 2, but the good one is bad". Could you please explain this more
understandable?
Could you also share your CXF configuration with us?
And also the WSDL file?
[1] http://camel.apache.org/support.html
Best,
Christian
On Thu, May 31, 2012 at 8:41 PM, mathieuJ <ma...@gmail.com> wrote:
> hello,
>
> i did a migration of my apache cxf.
>
> Now , i have a problem with the receiption of attachments.
>
> instead of receive one attachement, i get 2, but the good one is bad.
>
>
> response soap:
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <ns2:getEditionResponse xmlns:ns2="http://www.suravenir.fr/ws/edition">
> <editionResp>
> <pdf>
> <xop:Include
> href="cid:ab01c3af-a181-4d81-b056-bca60d267064-32@cxf.apache.org"
> xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
> </pdf>
> </editionResp>
> </ns2:getEditionResponse>
>
>
> attachment:
>
> name content type size part type contentID
>
> e51a406a-f949-41ac-8158-e8f1b910f57a-115@cxf.apache.org application/pdf
> 120861 e51a406a-f949-41ac-8158-e8f1b910f57a-115@cxf.apache.org MIME
> <e5...@cxf.apache.org>
> ab01c3af-a181-4d81-b056-bca60d267064-32@cxf.apache.org application/pdf 0
> ab01c3af-a181-4d81-b056-bca60d267064-32@cxf.apache.org MIME
> <ab...@cxf.apache.org>
> </soap:Body>
> </soap:Envelope>
>
>
> if someone have an idea where the mistake comes from.
>
>
> before, i had just one pdf and his name was the same that the name contain
> in the answer. but now is none
>
> I think the problem comes because i don't have the same id between my xop
> include and the CONTENTID
>
>
>
> Jambou Mathieu
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/migration-camel-attachment-problem-tp5713800.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: migration camel attachment problem
Posted by Christian Müller <ch...@gmail.com>.
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 <ma...@gmail.com> 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.
>
Re: migration camel attachment problem
Posted by Christian Müller <ch...@gmail.com>.
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 <ma...@gmail.com> 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.
>
Re: migration camel attachment problem
Posted by mathieuJ <ma...@gmail.com>.
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.