Apache CXF 通过wsdl文件生成 webservice 之后 wsdl: binding 属性被修改了,如何改回去?
Apache CXF
通过已存在
的wsdl文件生成 webservice 之后 wsdl: binding
属性被修改了,如何改回去?
下面是我的wsdl源文件,请大佬们帮帮忙!
<?xml version = "1.0" encoding = "UTF-8"?>
<!-- this file was generated by vis LightESB 3.0.0 -->
<!-- 2018-03-30 16:34:39 -->
<!-- Generated file version: 1.0.0 -->
<!-- Copyright (c) 2004-2018 -->
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://soa.cmcc.com/OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv"
name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv"
targetNamespace="http://soa.cmcc.com/OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://soa.cmcc.com/OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv" schemaLocation="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvRequestMessage">
<wsdl:part name="payload" element="tns:InputParameters"/>
</wsdl:message>
<wsdl:message name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvResponseMessage">
<wsdl:part name="payload" element="tns:OutputParameters"/>
</wsdl:message>
<wsdl:portType name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv">
<wsdl:operation name="process">
<wsdl:input message="tns:OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvRequestMessage"/>
<wsdl:output message="tns:OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvBinding" type="tns:OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="process">
<soap:operation style="document" soapAction="process"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv">
<wsdl:port name="OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvPort" binding="tns:OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrvBinding">
<soap:address location="http://localhost:8080/OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 service 中指定 portName 属性和 wsdlLocation 属性