我的服务是从wsdl文件中选取的.但是发布的服务已经变得很糟糕.如果我想将wso2发布为我的wsdl文件.怎么设置?例如,我的wsdl文件是:
<wsdl:service name="CoshipServiceImplService">
<wsdl:port binding="tns:CoshipServiceImplServiceSoapBinding" name="CoshipServiceImplPort">
<soap:address location="http://X.X.X.X:7843/sysway-boss-service/cxf/CoshipService" />
</wsdl:port>
</wsdl:service>
Run Code Online (Sandbox Code Playgroud)
和WSO2发表如下:
<wsdl:portType name="CoshipServiceImplServicePortType"></wsdl:portType>
<wsdl:binding name="CoshipServiceImplServiceSoap11Binding" type="tns:CoshipServiceImplServicePortType">
</wsdl:binding><wsdl:binding name="CoshipServiceImplServiceSoap12Binding" type="tns:CoshipServiceImplServicePortType"></wsdl:binding>
<wsdl:binding name="CoshipServiceImplServiceHttpBinding" type="tns:CoshipServiceImplServicePortType"></wsdl:binding>
<wsdl:service name="CoshipServiceImplService"></wsdl:service>
It changed my port form "CoshipServiceImplPort" to "CoshipServiceImplServicePortType".
Run Code Online (Sandbox Code Playgroud)