cancel
Showing results for 
Search instead for 
Did you mean: 

miltiple operations in webservice to webservice

Former Member
0 Kudos

is there miltiple operations possiable in webservice to webservice scenario in pi?

if possiable , can u exaplain .

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks for help

Former Member
0 Kudos

Hi

Yes it is possible to have multiple operations in a webservice hosted by PI.

Create a service interface in PI with multiple operations and for each operation, choose a different message type or external defintion.

Regards

Monika

Former Member
0 Kudos

thanks for reply

yes i will create multiple operations in service interface using stateless interface protocol but in ID, how can we handle multiple receiver agreements because service interface name will be same for all operations.

Former Member
0 Kudos

Hi Solasu

Agreed you will have only one service interface.

You will have different message mappina and hence different operation mapping for each operation.

Next in ID, while creating interface determination use all such operation mappings for each operation. Create all other ID object using service interface only.

Regards

Monika

Former Member
0 Kudos

yes but i am asking about Receiver aggrement, If we use multiple operations for web service then, that many receiver communication channles must be created bcoz, we have to give SOAP Action for each communication channel for each operation.So, while creating receiver agreement, it takes the combination of sender, receiver service interface of receiver only one right. So, how it is possible.Do u have any idea?

Former Member
0 Kudos

Dear Solasu

We have similar scneario with my client.

Only in case of Soap Adapter you will have the need of multiple actions. This is also possible by using a udf which will dynamically detemine the soap action. You need to ensure in this case that the input should have criteria by which we are able to identify which action to invoke.

Else in this case even after creating multiple operations you will not get benefit. If you have proxy receiver it had worked

Regards

Monika

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You still need only one receiver agreement and one receiver soap adapter. Basically action corresponds to individual soap operations. You will dynamicallly set action in the UDF based on the runtime condition.

Hope that helps.