Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用cxf2.6.1以上版本(2.6.1可以,以上的版本才有问题)作为webservice服务时,导出的wsdl文件缺少了 service/port节点下的address子节点,导致客户端调用失败。 #5140

Closed
2 tasks done
marlinlm opened this issue Oct 7, 2019 · 0 comments · Fixed by #5154

Comments

@marlinlm
Copy link
Contributor

marlinlm commented Oct 7, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.2
  • Operating System version: windows 10 / CentOS release 6.9 (Final)
  • Java version: 1.8.0_172-b11

Steps to reproduce this issue

  1. use cxf 3.0.14 artifacts(core,frontend-simple,transports-http,binding,wsdl) as webservice lib
  2. define webservice protocol and services in dubbo provider xml file
  3. start the project
  4. use web browser to view wsdl file

Expected Result

The wsdl file should content address element like the following:
expacted.wsdl.txt

Actual Result

The wsdl address element is missing! See the attachement below:
actual.wsdl.txt

beiwei30 added a commit that referenced this issue Jan 16, 2020
…0.14 or higher version of cxf #5140 (#5154)

* 改为使用soapTransferFactory

* 改为使用soapTransferFactory作为destinationFactory

* 使用soapTransferFactory替代原来的HttpTransforFactory

* 修复codestyle检查错误

* 增加SoapAction配置的处理,使wsdl文件可以正常显示operation对应的soapAction值

* 修改SoapAction配置类的名称

Co-authored-by: sthe9 <he_junjun@163.com>
Co-authored-by: Ian Luo <ian.luo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment