如何允许客户端不使用" -extension"忽略SOAP端口标签

时间:2016-01-12 12:34:21

标签: web-services soap console wsdl soap-client

我试图使用在具有此WSDL" http://localhost:8000/eamsLink/RepositoryService/?wsdl"的本地主机中运行的Web服务。

我跑了命令:

wsimport -keep -p ws -verbose -wsdllocation http://localhost:8000/eamsLink/RepositoryService/?wsdl http://localhost:8000/eamsLink/RepositoryService/?wsdl

控制台输出:

parsing WSDL...


[WARNING] unknown extensibility element or attribute "EndpointReference" (in namespace "http://www.w3.org/2005/08/addressing")
  line 1 of http://localhost:8000/eamsLink/RepositoryService/?wsdl

[WARNING] Ignoring SOAP port "NetTcpBinding_IRemoteSource": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
  line 1 of http://localhost:8000/eamsLink/RepositoryService/?wsdl

[WARNING] Service "RemoteSourceService" does not contain any usable ports. try running wsimport with -extension switch.
  line 1 of http://localhost:8000/eamsLink/RepositoryService/?wsdl


Generating code...

它加载了大量的类,但它没有创建任何"服务"类。

你知道如何处理这个错误吗?

0 个答案:

没有答案