Skip to Content
Former Member
Jul 14, 2008 at 09:27 AM

File upload with the SOAP Axis Framework



my scenario is as follows:

ERP --> PI --> System A (3rd party application)

ERP sends data (IDoc) to the PI and is mapped there to a xml structure expected by A.

IDoc --> PI --> target xml structure

On A runs a Web service (Axis Framework) with a method uploadFile that expects one parameter (client of A) and the file for the upload has to come as attachment (call.addAttachment).

I imported already the wsdl and can see the message uploadFile in the IR. The Axis Framework is also available already in the SOAP adapter.

So I have

IDoc --> PI --> target xml structure

but want to call

PI --> uploadFile(client) \[with the target xml structure as attachment\]

How can I map the parameter to uploadFile and get the mapped xml structure as attachment?

Thanks and regards