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:

      <xsd:import namespace="" schemaLocation="WSExceptionHandlingService_schema1.xsd"/>

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

No comments: