Note that there are some explanatory texts on larger screens.

plurals
  1. POApache CXF wsdl does not include any data type definition
    primarykey
    data
    text
    <p>I am using Apache CXF 2.4.2 for implementing a SOAP webservice. I followed/adapted the tutorial (see next link) to create a webservice by a contract.</p> <blockquote> <p><a href="http://confluence.highsource.org/display/HJ3/Apache+CXF+Tutorial+-+Building+JAX-WS,+JAXB+and+JPA-based+web+service+with+Apache+CXF,+Spring+and+Hyperjaxb3" rel="nofollow">http://confluence.highsource.org/display/HJ3/Apache+CXF+Tutorial+-+Building+JAX-WS,+JAXB+and+JPA-based+web+service+with+Apache+CXF,+Spring+and+Hyperjaxb3</a></p> </blockquote> <p>In this example, you can see a wsdl and a xsd file which contains the data model. This datamodel is imported by the wsdl file. After that I generate the code with the Maven cxf-codegen-plugin (v. 2.4.2). Everything seem OK. I can compile my project and also I can consume the webservice on my local maschine by using the Eclipse Webservices Explorer. </p> <p>But on another computer there I can see only the webservice opererations. The wsdl contains no datamodel (http://<strong><em>*</em>**</strong>:18080/webservice/Test?wsdl) and another consumer is not able to generate a client. </p> <p>I tested another case where I put the data type declarations directly into the wsdl but the effect is the same :-(. It seems so that Apache CXF creates internally a new wsdl on the fly. </p> <blockquote> <p>write a wsdl -> generate code -> apache cxf generates wsdl on the fly</p> </blockquote> <p>Are there any switches where I can change this behavior? </p> <p>Thanks</p> <p>~Chris</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload