我正在使用wso2esb4.7.0,我尝试使用数据库工作正常我编写了没有发布wsdl选项的代理服务器,所以那些工作正常。没有运行发布,这很好。
现在我希望发布该操作,因为我写了一个示例wsdl并将其放在我的本地系统下载文件夹中。当我导入代理时它无法导入,如果我给任何wso2dss wsdl这个url:192.168.1.14:8282/services/user?wsdl
该服务工作正常并且发布操作也是但我不想使用那个wso2dss操作,我希望发布我自己的操作我怎么能这样做
我的wsdl文件就像这样
<definitions name="HelloService"
targetNamespace="http://www.examples.com/wsdl/Addition.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.examples.com/wsdl/Addition.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<message name="SayHelloRequest">
<part name="var1" type="xsd:integer"/>
<part name="var2" type="xsd:integer"/>
</message>
<message name="SayHelloResponse">
<part name="result" type="xsd:integer"/>
</message>
<portType name="Hello_PortType">
<operation name="sayHello">
<input message="tns:SayHelloRequest"/>
<output message="tns:SayHelloResponse"/>
</operation>
</portType>
<binding name="Hello_Binding" type="tns:Hello_PortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sayHello">
<soap:operation soapAction="sayHello"/>
<input>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:helloservice"
use="encoded"/>
</input>
<output>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:helloservice"
use="encoded"/>
</output>
</operation>
</binding>
<service name="Hello_Service">
<documentation>WSDL File for HelloService</documentation>
<port binding="tns:Hello_Binding" name="Hello_Port">
<soap:address
location="http://www.examples.com/SayHello/">
</port>
</service>
我正在将此存储到此路径中 家用/下载/系统/ addtion.wsdl 但它没有导入给出错误 我在哪里可以存储此wsdl以导入到wso2esb