Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to set attachments property in WebServiceSettingBean variable?

Avatar

Former Community Member

Hi,

I am making use of WebServiceSettingBean variable for invoking WebService from LiveCycle ES2 with SP1. And in Invoke WebService activity, I am passing this variable instead of making use of Literal Value.

I am able to set the WSDL endpoint and the request parameters without any issues and invoke the WebService, by setting the parameters of WebServiceSettingBean variable as shown below.

/process_data/setBean/object/@wsdl

/process_data/setBean/object/@port

/process_data/setBean/object/@portBindingLocalName

/process_data/setBean/object/@targetUrl

/process_data/setBean/object/@operationName

/process_data/setBean/object/@inputRequest

Now I have a requirement where I have to to pass attachments as inputs to my WebService.

For setting attachments, we should pass part, ContentType and MIME properties along with actual attachment. How to set all these values. Is there any variable available in LC for setting attachments along with part,ContentType and MIME types?

Could some one please share the details on how I can set attachments piece to this bean along with Part, ContentType and MIME types.

/process_data/setBean/object/attachments = ? (I dont think so, it is a straight forward list of documents variable as we have set ContentType and MIME types along with attachment).

Regards,

Deepthi

0 Replies