Class WsdlWriter

java.lang.Object
org.jibx.ws.wsdl.tools.WsdlWriter

public class WsdlWriter extends Object
WSDL writer class. This handles writing generated WSDLs and schemas.
Author:
Dennis M. Sosnoski
  • Field Details

    • WSDL_NAMESPACE_URI

      public static final String WSDL_NAMESPACE_URI
      Fixed URI for WSDL namespace.
      See Also:
    • WSDL_NAMESPACE_PREFIX

      public static final String WSDL_NAMESPACE_PREFIX
      Fixed prefix for WSDL namespace.
      See Also:
    • SOAP_NAMESPACE_URI

      public static final String SOAP_NAMESPACE_URI
      Fixed URI for SOAP namespace.
      See Also:
    • SOAP_NAMESPACE_PREFIX

      public static final String SOAP_NAMESPACE_PREFIX
      Fixed prefix for SOAP namespace.
      See Also:
    • DEFINITIONS_NAMESPACE_PREFIX

      public static final String DEFINITIONS_NAMESPACE_PREFIX
      Fixed prefix for WSDL target namespace.
      See Also:
    • s_namespaceMap

      private StringIntSizedMap s_namespaceMap
      Namespaces defined in binding.
    • s_wsdlNamespaceIndex

      private int s_wsdlNamespaceIndex
      Namespace index for the WSDL namespace.
    • m_uriPrefixMap

      private Map m_uriPrefixMap
      Map from extra namespace URIs to prefixes.
    • s_soapNamespaceIndex

      private int s_soapNamespaceIndex
      Namespace index for the SOAP namespace.
    • m_marshalContext

      private final MarshallingContext m_marshalContext
      Marshalling context.
  • Constructor Details

  • Method Details

    • writeWSDL

      public void writeWSDL(Definitions def, OutputStream os) throws JiBXException
      Write WSDL for service to output stream.
      Parameters:
      def - WSDL definitions information
      os - destination output stream
      Throws:
      JiBXException - on error creating WSDL output