Skip to Content
0
Former Member
Nov 18, 2011 at 10:25 PM

Proxy to SOAP with Payload + Stripped Payload as ZIP

50 Views

Hi Gurus

I have a requirement from Proxy message to Web Service call where i need partial payload to be zipped and send

I am looking at blog below, which will help to zip the payload for any message.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50ce0433-4309-2b10-4bb4-d421e78463f7?QuickLink=index&overridelayout=true

Please correct me if my approach is could work or suggest me any easy or possible ways

Source Structure

<Root>

<Elemtn1>Element</Element1>

<Element2>Element2<Element2>

<ZipPayload>some binary data goes here</ZipPayload>

</Root>

Target

<Root>

<Elemtn1>Element</Element1>

<Element2>Element2<Element2>

<ZipPayload>Filename.zip</ZipPayload>

</Root>

The out still needs to have the payload, part of it will be zipped as an attachment to the soap receiver adapter and mentioned zip file name in the 1st payload

Straight interface mapping with 2 Message Mappings.

1. Map the source to target and generate dynamic file name and assign into ZipPayload field

2. Use the the method from the link above on zipping the file.

Will this work sending payload with attachment via web service? Please advice

I appreciate your input in advance