【发布时间】:2014-01-27 11:51:01
【问题描述】:
我使用 Apache CXF 的 wsdl2java 为 Mikogo Web 界面创建 java 存根。
创建失败并显示以下消息:
The part does not have a type defined. Every part must specify a type from
some type system. The type can be specified using the built in element or type
attributes or may be specified using an extension attribute.
WSDL 看起来定义了以下消息:
<wsdl:message name="methodHttpPostOut">
<wsdl:part name="Body"/>
</wsdl:message>
<http:address location=... />
在我看来,这类似于非 SOAP 和“无模式”响应类型,严格的 XSD 类型定义未涵盖该类型。
- 我不确定 CXF 是否确实提供了这种“无模式”定义。
- http://schemas.xmlsoap.org/wsdl/http/ 的目的是什么,我可以在 Apache CXF 中使用这种接口
有人可以帮忙吗?
【问题讨论】:
标签: web-services soap wsdl cxf