cancel
Showing results for 
Search instead for 
Did you mean: 

File to SOAP scenario question???

Former Member
0 Kudos

Hi,experts

let's take source system is A,target system is B.

I have a File to soap scenario using BPM,the scenario is send file request(from A) to PI,PI will be communicating target system(B) with soap(syn).After that, PI receives the soap response and send the response data to A.

Now the requirement is, we need to archive the file request msg(before sending to B) to a folder and archive the response msg(response from B) to a folder as well.how could it be achived?

any help will be much appreciated!

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Since you are using a BPM in your scenario, in the first part of the config, from System A to BPM Receiver Determination, add another Receiver system, where you will send the file request message as FTP/NFS to store using File receiver adapter.

So the config becomes System A to BPM and System C, for storing the file request message. If you need to archive the files in System A itself, then simply select processing mode as Archive in your sender file channel.

For storing the file response, from your BPM, again send it to system A and system C, after your RFC send/receive step.

Regards

Former Member
0 Kudos

Shiladitya Sarkar.

I added one more receiver system in the same receiver determination along with BPM,and placed one more channel to receive the request file.

vice versa,from BPM to A,added the C system in the receiver determination to receive the response data.

Thanks a lot,gurus. Appreciate ur help.

Answers (4)

Answers (4)

0 Kudos

Hello Rajesh_V2009 ,

I am trying to implement exactly the same pi scenario, but having some problems :

File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.

The web service that I call works file from wsnavigator. I have created all the design and configuration objects

needed for the scenario.

I place a file with following contents:

<?xml version="1.0" encoding="utf-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SOAP-ENV:Body>

<pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">

<pns:name1>ajeet</pns:name1>

<pns:name2>phadnis</pns:name2>

</pns:GetSetNameWS>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

When I look at the process monitor I get this:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Receiver Determination

-->

- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>

<SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I have no clue about this error. Can you help me with this ?

If yes I can send you more details, if you liked 

Hoping to get help from you,

Cheers,

Ajeet Phadnis

Former Member
0 Kudos

HI

Alll you have to do is to change "Processing Mode" to "Archive" and input your Archive directory in "Archive Directory" form.

I hope your success.

Naoki

Former Member
0 Kudos

Hi,

For your first requirement please change "PROCESSING MODE" of your comm channel to "ARCHIVE" and then give archive folder name in below.

For second requirement in BPM use ASYNCH-SYNCH bridge.

Regards,

Nayan

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

Sender file communication channel level only you can archive files,select processing mode archive , so that all req messages you can easilty archive .

To archive response files add one more send step and point arhive folder, you required one more communication channel for the same.

Regards,

Raj