Package org.jibx.ws.wsdl.tools
Class WsdlWriter
java.lang.Object
org.jibx.ws.wsdl.tools.WsdlWriter
WSDL writer class. This handles writing generated WSDLs and schemas.
- Author:
- Dennis M. Sosnoski
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Fixed prefix for WSDL target namespace.private final MarshallingContext
Marshalling context.private Map
Map from extra namespace URIs to prefixes.private StringIntSizedMap
Namespaces defined in binding.private int
Namespace index for the SOAP namespace.private int
Namespace index for the WSDL namespace.static final String
Fixed prefix for SOAP namespace.static final String
Fixed URI for SOAP namespace.static final String
Fixed prefix for WSDL namespace.static final String
Fixed URI for WSDL namespace. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeWSDL
(Definitions def, OutputStream os) Write WSDL for service to output stream.
-
Field Details
-
WSDL_NAMESPACE_URI
Fixed URI for WSDL namespace.- See Also:
-
WSDL_NAMESPACE_PREFIX
Fixed prefix for WSDL namespace.- See Also:
-
SOAP_NAMESPACE_URI
Fixed URI for SOAP namespace.- See Also:
-
SOAP_NAMESPACE_PREFIX
Fixed prefix for SOAP namespace.- See Also:
-
DEFINITIONS_NAMESPACE_PREFIX
Fixed prefix for WSDL target namespace.- See Also:
-
s_namespaceMap
Namespaces defined in binding. -
s_wsdlNamespaceIndex
private int s_wsdlNamespaceIndexNamespace index for the WSDL namespace. -
m_uriPrefixMap
Map from extra namespace URIs to prefixes. -
s_soapNamespaceIndex
private int s_soapNamespaceIndexNamespace index for the SOAP namespace. -
m_marshalContext
Marshalling context.
-
-
Constructor Details
-
WsdlWriter
Constructor.- Throws:
JiBXException
- on error creating marshaller
-
-
Method Details
-
writeWSDL
Write WSDL for service to output stream.- Parameters:
def
- WSDL definitions informationos
- destination output stream- Throws:
JiBXException
- on error creating WSDL output
-