cancel
Showing results for 
Search instead for 
Did you mean: 

Unable create a target file with the same name

Former Member
0 Kudos

Hi,

 

I have to pick an attachment from a web service and place the attachment in
a folder, with the same name (Attached File Name). I tried this using SOAP to file
scenario. Using SOAP, I'm able to get the attachment inside PI with the same
name, but not able to generate the file in the receiver end.

 

Please let me know if this is possible or else is there any other way to do
it.

 

Regards,

Deepak Ravi

Accepted Solutions (1)

Accepted Solutions (1)

jyothi_anagani
Active Contributor
0 Kudos

Hi Ravi,

Could you please suggest if it is a simple passthrough interface or you have some transformation(Mapping).

You can try this

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/07/01/retaining-soap-adapter-attachment...

Thanks

Jyothi A

Former Member
0 Kudos

Hi Jyothi,

It is a simple passthrough interface, I'm not using mapping.

Regards,

Deepak Ravi

Answers (4)

Answers (4)

Former Member
0 Kudos


Hi,

I'm able to save the attachment in a folder with the same name. I used MultipartHeaderBean module in sender SOAP channel and DynamicConfigurationBean module in Receiver file channel.

Thank you all for helping me.

Regards,

Deepak Ravi

0 Kudos

Hi Deepak,

Please go through this Blog,

Hope it helps your scenario!

Regards,

Poorna

Former Member
0 Kudos

Hi Deepak,

Are you trying to write out 2 files with the same name in the same directory?

Regards,

Jannus Botha

Former Member
0 Kudos

Hi Jannus,

No, I'm trying to pass the attachments(like JPGs, PDFs, etc.,) with different names to a file location.

Regards,

Deepak R

javier_alcubilla
Contributor
0 Kudos

Hi Deepark

You have to use Dynamic Configuration and Adapter-Specific Messages Attributes in your receiver file adapter

Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integr...

Regards

Javi

javier_alcubilla
Contributor
0 Kudos

Check also:

Regards

Former Member
0 Kudos

Hi Javi,

The dynamic configuration is working fine with file to file scenario. When it comes to SOAP with attachment, the file adapter is not allowing the message to get processed.

Regards,

Deepak Ravi

javier_alcubilla
Contributor