org.jibx.ws.wsdl.tools
Class WsdlWriter

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

public class WsdlWriter
extends java.lang.Object

WSDL writer class. This handles writing generated WSDLs and schemas.

Author:
Dennis M. Sosnoski

Nested Class Summary
static class WsdlWriter.SchemaMarshaller
           
 
Field Summary
static java.lang.String DEFINITIONS_NAMESPACE_PREFIX
          Fixed prefix for WSDL target namespace.
private  MarshallingContext m_marshalContext
          Marshalling context.
private  java.util.Map m_uriPrefixMap
          Map from extra namespace URIs to prefixes.
private  StringIntSizedMap s_namespaceMap
          Namespaces defined in binding.
private  int s_soapNamespaceIndex
          Namespace index for the SOAP namespace.
private  int s_wsdlNamespaceIndex
          Namespace index for the WSDL namespace.
static java.lang.String SOAP_NAMESPACE_PREFIX
          Fixed prefix for SOAP namespace.
static java.lang.String SOAP_NAMESPACE_URI
          Fixed URI for SOAP namespace.
static java.lang.String WSDL_NAMESPACE_PREFIX
          Fixed prefix for WSDL namespace.
static java.lang.String WSDL_NAMESPACE_URI
          Fixed URI for WSDL namespace.
 
Constructor Summary
WsdlWriter()
          Constructor.
 
Method Summary
 void writeWSDL(Definitions def, java.io.OutputStream os)
          Write WSDL for service to output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

WsdlWriter

public WsdlWriter()
           throws JiBXException
Constructor.

Throws:
JiBXException - on error creating marshaller
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


Project Web Site