cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice Synchronous Scenario.

Former Member
0 Kudos

Hi All,

I will trying to implement file->webservice->file scenario using the blog.

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

Upto message mapping everything is fine and configured as given in the blog.

But in Interface mapping , I am not getting response tab where I can specify the message mapping for response data from webservice.

I am only getting request tab. What could the reason?

Ranjeet Singh.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Ranjeet,

Did u created Outbound Synch/Inbound synch?

Follow this -https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&, if your SP >=SP19(3.0) or SP>=SPs10(7.0

raj.

Former Member
0 Kudos

Hi Raj and all,

Thanks for directing to proper blog and wiki. The wiki given by raj is the one i was looking for.

I will configured the scenario and let you all know .

i will reward points once i complete the scenario.

Ranjeet singh.

Edited by: Ranjeet Singh on Feb 13, 2008 4:14 PM

Former Member
0 Kudos

Hi All,

I tried to configured the scenario as given in link by Raj.

Description:

Syn-RFC-Syn-Webservice.

FILE Request -> webService Request -> webservice resp->File response.

Both file input and webservice message interface are synchronouos.

While testing the scenario, my sender file adapter is giving this error.

Error: com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_webservice;TS=BS_webservice;AN=MI_Request;ANS=http://sap.com/xi/sap

to dig into the issue,

Then I tired to implement simple asynchronous scenario.

Asyn File Request -> Asy webservice.

I am sending file request to XI. Xi call webservice. End.

This time scenario ran successfully.

Then I revert back to my previous configuration of synchronous interfaces and again i got the same error as given above.

This cannot be CPA cache refresh otherwise secnd scenario should not have run.

It looks like Module configuration issue. But I have SAP XI 3.0 SP 19 .

Any idea what is happening inside Adapter engine.

Ranjeet Singh.

justin_santhanam
Active Contributor
0 Kudos

Ranjeet,

Are u using same Business service for sender and receiver? Coz the error says FS=BS_webservice;TS=BS_webservice

raj

Former Member
0 Kudos

Hi Raj,

I used used business system for source system and business service for calling webservice.

Ranjeet Singh.

justin_santhanam
Active Contributor
0 Kudos

Ranjeet,

Then how come the error says ur sender and receiver services are same? Can u check with ur configurations one more time. I'm sure it must be perfect, plz cross verify it again.

raj.

Former Member
0 Kudos

Hi Raj,

well .. I rechecked the configuration .. Sender and Receiver system are different and configured is correct as it is running for asynchronous case.

Only when I changing the scenario in synchrouns is that i am gettng this error.

What is the meaning of FP, FS?

Ranjeet Singh.

Former Member
0 Kudos

Hi Raj,

I notice one thing in your wiki. under File Adapter ->Module->Module Configuration. you have taken Module key '3' twice and have not taken key '2'. Any specific reason for that.

I was using 1,2,3 set previously, now i changed it to 1,3,3 as per wiki and i am getting

Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId

Sorry for disturbing you with so many questions.

Ranjeet Singh.

justin_santhanam
Active Contributor
0 Kudos

Ranjeet,

FP , FS - From Party, From Service.

See the receiverChannel Parameter and receiverService Parameter corresponds to AF_Modules/ResponseOneWayBean that's the reason I specified 3 and 3.

What did u gave in the value column receiverChannel and receiverService?

raj.

Former Member
0 Kudos

Hi Raj,

I am so excited that the problem is finally resovled. Thanks for your help and patience.

The receiverService value was wrong as i was giving BS_webservice . I corrected it to BS_File. and It ran successfully.

This was my first scenario in webservice and am really grateful to you .

Keep sharing knowledge.

Ranjeet Singh.

justin_santhanam
Active Contributor
0 Kudos

Ranjeet,

Good to know that it helped. Lemme go to bed

raj.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You need to create the Synchronous outbound messages and need to specify your request and response. i hope you have created the outbound interface as Asynchornous.

Pleaes let me know if you have any queries.

Regards,

Chandu.

prateek
Active Contributor
0 Kudos

U r following an incorrect scenario for incorrect configuration. The scenario u want to configure involves File which is always async in communication. The RFC shown in weblog can be sync.

U should follow this

Regards,

Prateek