I use wsdl2java from Apache CXF to create java stubs for Mikogo Web interface.
The creation fails with the following message:
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.
The WSDL looks defines the following message:
<wsdl:message name="methodHttpPostOut">
<wsdl:part name="Body"/>
</wsdl:message>
<http:address location=... />
This looks to me like a non-SOAP and "schema-less" response type, that is not covered by a strict XSD type definition.
Can anyone help with that?
This errors you get because the your part doesn't have a type defined. You can use these message-typing attributes:
Here is simple example for complexType:
<definitions .... >
<types>
<schema .... >
<element name="Invoice" type="tns:InvoiceType"/>
<complexType name="InvoiceType">
<all>
<element name="id" type="string"/>
</all>
</complexType>
</schema>
</types>
<message name="PO">
<part name="invoice" element="tns:Invoice"/>
</message>
</definitions>
and here some link about http namespace and wsdl's message: