wso2esb - How to invoke methods inside a service using wso2 proxy service -


i new wso2

i have created 2 jar services

1) simple service has 2 methods add , subtract 2 numbers

2) simple service has 2 methods multiply , divide 2 numbers

i want invoke these 2 services based on condition,that have implemented using filter mediator.

i want call methods inside services.

say, if a > b called first service,then want call operations(methods) inside these service,say addtwonumbers(int a,int b) , subtwonumberes(int , int b)

how call these methods using proxy service?

can me on ?

you have 2 backend services , want expose both service 1 proxy service.. proxy service must capable of deciding backend service message must sent. so, can create 1 proxy service using wso2esb , can attach new wsdl it. once message received proxy service, filer mediator can use send different based on parameters. can extract a , b values incoming message using xpath expression. these 2 values can compared. once filter mediator compares them, can build soap message required send services.

you can use following wso2esb docs this..

1.how create proxy service 2.xpath 3.filter mediator 4.payloadfactory mediator

also please refer esb docs, may fine more details


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -