on 12-01-2008 1:10 PM
hi,
My requirment is
FTP----> SOAP synchronous.
In this one at SOAP receiver side SOAP request is an attachment file and response also I m getting as an attachment.
My problem is that I need to convert this SOAP response (attachment) in SOAP body so that I can map it with FTP datatype.
I used PayLoadSwapBean module but i m unable to convert this attachment into SOAP Body.
I just followed this blog
May be i m not using this module in a proper mannner.
Can anybody explan it step by step.
Is there anyother solution for my problem..
<It is against the rules of Engagement to post a question with the catch of awarding points. Please refrain from the same.>
Thanks
Jaideep Jain
Edited by: Bhavesh Kantilal on Dec 3, 2008 10:26 AM
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaideep,
I am facing the exact same issue. I have a synch ABAP Proxy --PI--WebService scenario.
When I trigger the request from RWB, I get the expected response back as an Attachmnet from WebService, there is no main body for payload, we just get one single response back as an attachmnet.
When PROXY triggers the request, it gives an error "Response Message contains an error. HTTP 500 Internal Server Error" . I am assuming the PROXY is expecting the response as normal payload and not an attachmnet.
Can you please outline, how you solved the issue. We want to convert this attachmnet payload into normal payload( main documnet). We are using PI 7.1 EHP 1, support package 06.
Thanks in Advance, please provide inputs for this issue.
Hi,
You said your scenario is FTP to SOAP
Then how are you getting the file as an attachment???
Is the scenario?
FTP -->convert to attachment --> SOAPrequest
FTP <---- convert to payload <-- SOAP Response
Edited by: Progirl Progirl on Dec 5, 2008 1:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the Error I m getting is:--
com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of payloadSwapBean
In Payload I am getting only one attcment named MainAttchment as SOAP response.
'I need to convert it into file document(as Main Document) So that I can MaP it.
There is no other main document or payload.
Thanks
Jai
hi Progirl,
Thanx for urs response. Even i m using same Module name with P.
As i told i m getting only one document under payload folder in SXMB_Moni.
The doc. name is MainAttachment. I need to extract it from attachment so that i can use it in mapping.
For that i am using swap.keyName and swap.keyValue once only.
Should i use it twice as shown in blog for e-mail adapter.
Thanks
Jaideep
For the parameters you could use:
swap.keyName -> payload-name
swap.keyValue -> see the attachment name in SXMB_MONI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Stefan,
Thanx for urs helpul response.
swap.keyName -> payload-name
what will be the value of payload-name. or should i put it as it is. and can u plzzz tell the sequence of the modules used in SOAP receiver channel for this.
One more problem is that the attachment i will be getting will be in zipped form.
Will XI allow it to enter and is it possible to proceess it in XI.
If possible than plzz give the solution.
Thanks
Jaideep Jain
The key name is "payload-name"
Put the module after the soap module, as you want to work on the response.
If you want to unzip the file, you can use the PayloadZipBean.
See online help for further information.
http://help.sap.com/saphelp_nw04/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm
hi stefan,
I m getting this error after using PayloadSwapBean.
com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of payloadSwapBean
I m mentioning here the value of parameter name and value for this module:--
parameter name parameter value
swap.keyName payload-name
swap.keyValue MainAttachment
Can u suggest where i went wrong.....
Thanks
Jaideep
Edited by: Jaideep Baid on Dec 5, 2008 9:27 AM
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.