CXF+Spring发布的WEBSERVICE,发布的WSDL文件中没有

nn360697589 2010-09-15 05:49:20
发布的WSDL文件中没有<wsdl:message 标签,这是怎么回事,高手指点指点
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions name="CustomerBOImplService" targetNamespace="http://boImpl.service.sykj.com/" xmlns:ns1="http://bo.service.sykj.com/" xmlns:ns2="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://boImpl.service.sykj.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:import location="http://192.168.1.4:8080/SaleManager/web/customerBOWS?wsdl=CustomerBO.wsdl" namespace="http://bo.service.sykj.com/" />
- <wsdl:binding name="CustomerBOImplServiceSoapBinding" type="ns1:CustomerBO">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="updateCustomer">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="updateCustomer">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="updateCustomerResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_S_O_P_P_CLS">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_S_O_P_P_CLS">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_S_O_P_P_CLSResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="findCustomerByName">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="findCustomerByName">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="findCustomerByNameResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_C_P">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_C_P">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_C_PResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="addCustomer">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="addCustomer">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="addCustomerResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="findAll">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="findAll">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="findAllResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getCriteria">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getCriteria">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getCriteriaResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="findCustomerByID">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="findCustomerByID">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="findCustomerByIDResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="delCustomer">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="delCustomer">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="delCustomerResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_S_P_P_CLS">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_S_P_P_CLS">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_S_P_P_CLSResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_S_O_P_CLS">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_S_O_P_CLS">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_S_O_P_CLSResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_S_P_CLS">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_S_P_CLS">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_S_P_CLSResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="getPage_C_P_P">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="getPage_C_P_P">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="getPage_C_P_PResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="CustomerBOImplService">
- <wsdl:port binding="tns:CustomerBOImplServiceSoapBinding" name="CustomerBOImplPort">
<soap:address location="http://192.168.1.4:8080/SaleManager/web/customerBOWS" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
...全文
674 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
hurongshan 2011-06-08
  • 打赏
  • 举报
回复
回复 :qihool

将http://192.168.1.4:8080/SaleManager/web/customerBOWS?wsdl=CustomerBO.wsdl的内容保存到本地
然后将<wsdl:import location="http://192.168.1.4:8080/SaleManager/web/customerBOWS?wsdl=CustomerBO.wsdl"
修改为
<wsdl:import location="file:///刚才下载文件的fullpath"就整合到一起了
qihool 2011-02-19
  • 打赏
  • 举报
回复
<wsdl:import location="http://192.168.1.4:8080/SaleManager/web/customerBOWS?wsdl=CustomerBO.wsdl"

在这里:http://192.168.1.4:8080/SaleManager/web/customerBOWS?wsdl=CustomerBO.wsdl
不知道与Spring集成后为什么会这样,不知道能不能把这个文件都放在一起,那位哥们知道了请共享下。
java_aix 2010-10-08
  • 打赏
  • 举报
回复
没有人懂!
nn360697589 2010-09-26
  • 打赏
  • 举报
回复
怎么没有人回答啊,高手来指点下啊

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧