Hi Indika,
pretty good.. it works :-)
Thanks for help.
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
Indika Kumara
<[EMAIL PROTECTED]>
Gesendet von: An
esb-java-dev-boun [email protected]
[EMAIL PROTECTED] Kopie
Thema
23.01.2008 07:07 Re: Antwort: Re: [esb-java-dev]
Attachement get lost
Bitte antworten
an
[EMAIL PROTECTED]
.org
Hi Hartmut
In your synapse.xml , you have to redefine the endpoint
'SwaSampleService' as follows.
<syn:endpoint name="SwaSampleService">
<syn:address
uri="http://localhost:9000/axis2/services/SwaSampleService"
*optimize="swa"* />
</syn:endpoint>
when you are calling a back-end service through the esb and if the
back-end service is needed the message optimize , then you have to add
*optimize="swa|mtom" to the corresponding endpoint .
*
Thanks
Indika
[EMAIL PROTECTED] wrote:
> Hi Indika,
>
> the ESB version is the 1.5
>
> And here my synapse.xml
>
> (See attached file: synapse.xml)
>
> Thanks
> Hartmut
>
> Hartmut Zimmermann
>
>
> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
> [EMAIL PROTECTED]
> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
> Germany
>
>
> www.basf-it-services.com
>
>
> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
> Managing Directors:
> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
> Chairman of the Supervisory Board: Andrew Pike
>
>
>
>
>
> Indika Kumara
> <[EMAIL PROTECTED]>
> Gesendet von:
An
> esb-java-dev-boun [email protected]
> [EMAIL PROTECTED]
Kopie
>
>
Thema
> 22.01.2008 16:36 Re: [esb-java-dev] Attachement
get
> lost
>
> Bitte antworten
> an
> [EMAIL PROTECTED]
> .org
>
>
>
>
>
>
> *Hi hartmut
>
> Could you please give the esb configuration(syapse.xml) and esb version?
>
> By the way you could check the sample 51 in the ESB_Samples guide . It
> demonstrates MTOM and SwA optimizations using message mediation. I tries
> it's functionality with a proxy service and it works.*
>
>
> *Please consider following simple sample *
>
> *Note : For an endpoint , the method to optimize attachments can
> be specified in optimize attributes.*
>
> *then ,the proxy service configuration looks like
> *
>
> *<proxy name="mtomProxy">
> <target>
> <inSequence>
> <send>
> <endpoint>
> <address
> uri="http://localhost:9000/soap/MTOMSwASampleService"/
> *optimize="swa"/>*/
> </endpoint>
> </send>
> </inSequence>
> <outSequence>
> <send/>
> </outSequence>
> </target>
> <publishWSDL
> uri="
> file:repository/conf/sample/resources/proxy/mtom_sample_proxy_1.wsdl"/>
> </proxy> *
>
> *Thanks *
>
> *Indika*
>
>
> *
> *
>
> [EMAIL PROTECTED] wrote:
>
>> He guys I'm new here in the commuity... so hello @ all,
>>
>> I've got a problem with attachements handling.
>>
>> I deploy the sample Axis2 WebService that handles an file upload
>> (soapwithattachments) to an Axis2 Server!
>> These WebService works fine if I call it direct from an client.
>>
>> Now I reference these WebService from the ESB as an proxy.
>> I try the same call from the client against the Proxy WebService.... so
>>
> the
>
>> attachement is lost. The is no DataHandler in the MessageContext
anymore!
>>
>> What happend there???
>> Does any body know this problem?
>>
>> Thanks in advance.
>>
>>
>>
>> Hartmut Zimmermann
>>
>>
>> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
>> [EMAIL PROTECTED]
>> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
>> Germany
>>
>>
>> www.basf-it-services.com
>>
>>
>> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
>> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
>> Managing Directors:
>> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
>> Chairman of the Supervisory Board: Andrew Pike
>>
>>
>> _______________________________________________
>> Esb-java-dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>>
>>
>>
>
>
> _______________________________________________
> Esb-java-dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Esb-java-dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev