Consume wsdl using wso2

593 Views Asked by At

I have one wsdl which is working fine on mule esb. Now i am new to wso2 i need to consume that wsdl via wso2.

I have tried to consume it from Wso2 developer studio but it showed 202 http status

Anyone can help me in this

The request of service is in xml with header APIKEY and username password basic authentication.

Anybody can help me in this problem.

2

There are 2 best solutions below

0
On

Just wsdl endpoint whit proper configuration.

0
On

I Chris, I am going to describe all the necessary steps to achieve what you want.

  1. Create an WSDL Endpoint
  2. Create a proxy, can be Custom Proxy. 2.1 So, depending on what you want to do (get/post/...). For GET instance: You can Send the endpoint in (inSequence) and consume the response in outSequence with Payload factory ( https://docs.wso2.com/display/ESB500/PayloadFactory+Mediator ) passing the necessary arguments.