Package org.jibx.ws.wsdl.tools
Class WsdlWriter
- java.lang.Object
-
- 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
Nested Classes Modifier and Type Class Description static class
WsdlWriter.SchemaMarshaller
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description WsdlWriter()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeWSDL(Definitions def, java.io.OutputStream os)
Write WSDL for service to output stream.
-
-
-
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 informationos
- destination output stream- Throws:
JiBXException
- on error creating WSDL output
-
-