Sunday, May 2, 2010

WebLogic WSDL generation

When WL recognizes a WS as a "WebLogic Web Service", it generates the WSDL in a single .wsdl file.
If it recognizes the WS as a plain "JAX-WS Web Service", it generates a .wsdl file AND a .xsd file with the parameters in the XSD.

Needless to say, I prefer having the parameters factored out in the .XSD file, and using an import:

  <types>
    <xsd:schema>
      <xsd:import namespace="http://ws.testws.com/" schemaLocation="WSExceptionHandlingService_schema1.xsd"/>
    </xsd:schema>
  </types>


Another difference, for JAX-WS WebLogic doesn't populate the address element in the WSDL.

No comments: