cancel
Showing results for 
Search instead for 
Did you mean: 

Re: CALLING THE WEB SERVICE

03-15-2011 4:56 PM
baskar_gopalakrishnan2 Active Contributor
266 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi gurus,

how we call the web service based on incoming value form SAP ?

the above one is my exact question let me explain clearly

i have the scenary lke SAP -


(CLIENT PROXY)--


>SAPXI---(SOAP)----Thirdparty

the third party will provide the WSDL including three functions like I(insert),U(update),D(delete).from sap side they will write a proxy program and send the data along with the field flag(I,U or D) based on that flag field we need to call the Webservice

this is my requiremnnt is it possible?

note: all operation coming in single WSDL plz suggest me

thanks in advance

0 Likes
View Entire Topic
baskar_gopalakrishnan2
Active Contributor
0 Likes

You use same WSDL for all three operations. So I believe same WSDL URL. How about action? If that is different for each insert , update and delete operation... You might have to use UDF and dynamically change the action before PI call the webservice. But still one soap receiver is good enough. See Abhishek's reply on this thread

If your action is same for all operations then you might have to create three recievers

Hope that helps.

Former Member
0 Likes

Hi bhaskar,

Can u please explain the logic how can i call the perticular part of the WSDL . and also explain a bit clearly about three type of recivers creation for same WSDL(target structure)

it is very helpfull for me

Thanks

Former Member
0 Likes

Hi Bhaskar,

here ths my exact requirement

BLE

-


Fault

-


Exception code

-


Exception message

ADDPARTS

-


Add parts

-


Parts

-


Each record

-


Field1

-


Field2

-


Field3

-


Price

-


Usd

-


Field4

ADD PARTSRESPONSE

-


Add parts response

-


Status

-


Success

-


Message

DELETEPARTS

-


Deleteparts

-


Parts

-


Criteria

DELETEPARTSRESPONSE

-


Deletepartsresponse

-


Status

-


Success

-


Message

GETPARTS

-


Getparts

-


Parts

-


Criteria

GETPARTSRESPONSE

-


- -Getpartsresponse

-


Status

-


Parts

-


Eachrecord

-


Field1

-


Field2

-


Field3

-


Field4

UPDATEPARTS

-


Updateparts

-


Parts

-


Eachrecord

-


Field1

-


Field2

-


Field3

UPDATEPARTSRESPONSE

-


Updatepartsresponse

-


Status

i have the webservice like this in WSDL . messages are ADDPARTS,ADDPARTS RESPONSE,GETPARTS,GETPARTSRESPONSE,UPDATEPARTS,UPDATEPARTSRESPONSE........

i need to call the perticular webservice of the WSDL at runtime based on the value coming from source to the field FLAG

please suggest to me reg this

thanks in advance

Former Member
0 Likes

HI

As of my understanding you have 3 different functions in single WSDL Provided by third part and you have proxy on Sender side. now you want to select appropriate WSDL Function depending on Flag field from source side.

in that case could you provide details for following question?

so you mean to say you have Single WSDL with Different (3) Messages inside.? am I right?

if above question answer YEs then following are the steps.

create single outbound service interface with multiple operations inside.. and create three different mapping and operation mapping then on ID side create receiver determination and single Interface determination and provide respected operation mapping to respected operations .. this will resolve your problem..

as now you have single WSDL and 3 messages inside and you have developed single outbound service interface with multiple(3) different operations inside on ID side it will detect the right message and right message mapping accordingly..

one more question..is your Target system for all 3 function same or different?

Thanks,

Bhupesh