Posted: Wed Sep 21, 2011 1:02 am Post subject: Save attachment from SOAP with Attach
Novice
Joined: 19 Sep 2011 Posts: 10
Hello,
i want to create a service with a soap with attachment. This service task is
1. FTP an attachment to a FTP server
2. send some data to a java process
3. reply overall result to a client
so my flow includes
- soap input node
- file output node
- java compute node
- soap reply node
Firstly, i try to use a file output node to save an attachment to localdisk by setting a Data Location field.
i've tried a lot of value such as
$Root/SOAP_Domain_Msg/Attachment
$Root/XMLNSC/soapenv:Envelope/impl:xmlAtt
all of them produce an error like:
'$Root/SOAP_Domain_Msg/Attachment' could not be used to resolve the data location in the incoming message
After fail for several times, i change my method to save an attachment.
i copy a BLOB data of an attachment to LocalEnvironment.Variable.attach first and then use a file output node to write my variable to disk.
i successfully copy an attachment BLOB data to the variable but the file output node still not work.
this time i set a Data Location field to
$LocalEnvironment/Variables/att1
$LocalEnvironment/Variables/child::att1
this time a output file is create but with no data.
Can you suggest me where shoud i research how to set a Data Location field of a file output node
or what should it be to get an attachment
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum