Class WsdlWriter


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

      • WSDL_NAMESPACE_URI

        public static final java.lang.String WSDL_NAMESPACE_URI
        Fixed URI for WSDL namespace.
        See Also:
        Constant Field Values
      • WSDL_NAMESPACE_PREFIX

        public static final java.lang.String WSDL_NAMESPACE_PREFIX
        Fixed prefix for WSDL namespace.
        See Also:
        Constant Field Values
      • SOAP_NAMESPACE_URI

        public static final java.lang.String SOAP_NAMESPACE_URI
        Fixed URI for SOAP namespace.
        See Also:
        Constant Field Values
      • SOAP_NAMESPACE_PREFIX

        public static final java.lang.String SOAP_NAMESPACE_PREFIX
        Fixed prefix for SOAP namespace.
        See Also:
        Constant Field Values
      • DEFINITIONS_NAMESPACE_PREFIX

        public static final java.lang.String DEFINITIONS_NAMESPACE_PREFIX
        Fixed prefix for WSDL target namespace.
        See Also:
        Constant Field Values
      • 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 java.util.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.
    • Method Detail

      • writeWSDL

        public void writeWSDL​(Definitions def,
                              java.io.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