This is Wsdl2java's deploy Writer. It writes the deploy.wsdd file.
generate
public void generate()
throws IOException
Generate deploy.wsdd. Only generate it if the emitter
is generating server-side mappings.
- generate in interface Generator
- generate in interface JavaWriter
getFileName
protected String getFileName()
Return the fully-qualified name of the deploy.wsdd file
to be generated.
- getFileName in interface JavaWriter
getModeString
public String getModeString(byte mode)
Method getModeString
getPrintWriter
protected PrintWriter getPrintWriter(String filename)
throws IOException
Method getPrintWriter
- getPrintWriter in interface JavaWriter
writeArrayTypeMapping
protected void writeArrayTypeMapping(PrintWriter pw,
String namespaceURI,
String localPart,
String javaType,
String encodingStyle,
QName innerType)
throws IOException
Raw routine that writes out the typeMapping.
pw
- namespaceURI
- localPart
- javaType
- encodingStyle
-
writeDeployBinding
protected void writeDeployBinding(PrintWriter pw,
BindingEntry bEntry)
throws IOException
Write out deployment instructions for given WSDL binding
writeDeployPort
protected void writeDeployPort(PrintWriter pw,
Port port,
Service service,
BindingEntry bEntry)
throws IOException
Write out deployment and undeployment instructions for given WSDL port
pw
- port
- service
- bEntry
-
writeDeployServices
protected void writeDeployServices(PrintWriter pw)
throws IOException
Write out deployment and undeployment instructions for each WSDL service
writeDeployTypes
protected void writeDeployTypes(PrintWriter pw,
Binding binding,
boolean hasLiteral,
boolean hasMIME,
Use use)
throws IOException
Write out bean mappings for each type
pw
- binding
- hasLiteral
- hasMIME
- use
-
writeFileBody
protected void writeFileBody(PrintWriter pw)
throws IOException
Write the body of the deploy.wsdd file.
- writeFileBody in interface JavaWriter
writeFileHeader
protected void writeFileHeader(PrintWriter pw)
throws IOException
Replace the default file header with the deployment doc file header.
- writeFileHeader in interface JavaWriter
writeOperation
protected void writeOperation(PrintWriter pw,
String javaOperName,
QName elementQName,
QName returnQName,
QName returnType,
Parameters params,
QName bindingQName,
ArrayList faults,
String SOAPAction)
Raw routine that writes out the operation and parameters.
pw
- javaOperName
- elementQName
- returnQName
- returnType
- params
- bindingQName
- faults
-
writeTypeMapping
protected void writeTypeMapping(PrintWriter pw,
String namespaceURI,
String localPart,
String javaType,
String serializerFactory,
String deserializerFactory,
String encodingStyle)
throws IOException
Raw routine that writes out the typeMapping.
pw
- namespaceURI
- localPart
- javaType
- serializerFactory
- deserializerFactory
- encodingStyle
-