简体   繁体   English

使用wso2消耗wsdl

[英]Consume wsdl using wso2

I have one wsdl which is working fine on mule esb. 我有一个wsdl在ule esb上工作正常。 Now i am new to wso2 i need to consume that wsdl via wso2. 现在我是wso2的新手,我需要通过wso2使用该wsdl。

I have tried to consume it from Wso2 developer studio but it showed 202 http status 我尝试从Wso2开发人员工作室使用它,但显示为202 http状态

Anyone can help me in this 任何人都可以在这方面帮助我

The request of service is in xml with header APIKEY and username password basic authentication. 服务请求以XML格式进行,并带有标头APIKEY和用户名密码基本身份验证。

Anybody can help me in this problem. 任何人都可以帮助我解决这个问题。

I Chris, I am going to describe all the necessary steps to achieve what you want. 克里斯,我将描述实现您想要的一切必要步骤。

  1. Create an WSDL Endpoint 创建一个WSDL端点
  2. Create a proxy, can be Custom Proxy. 创建代理,可以是“自定义代理”。 2.1 So, depending on what you want to do (get/post/...). 2.1因此,取决于您要执行的操作(获取/发布/ ...)。 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. 对于GET实例:您可以使用有效负载(必需的参数)通过Payload工厂( https://docs.wso2.com/display/ESB500/PayloadFactory+Mediator )在(inSequence)中发送端点,并在outSequence中使用响应。

只是wsdl端点需要正确配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM