org.codehaus.xfire.wsdl11.builder
Class WSDLBuilder

java.lang.Object
  extended by org.codehaus.xfire.wsdl11.builder.AbstractWSDL
      extended by org.codehaus.xfire.wsdl11.builder.WSDLBuilder
All Implemented Interfaces:
WSDLWriter
Direct Known Subclasses:
XmlBeansWSDLBuilder

public class WSDLBuilder
extends AbstractWSDL
implements WSDLWriter

WSDL

Author:
Dan Diephouse

Field Summary
 
Fields inherited from class org.codehaus.xfire.wsdl11.builder.AbstractWSDL
CLEAN_IMPORTS, GENERATE_IMPORTS, REMOVE_ALL_IMPORTS, XSD_NS
 
Fields inherited from interface org.codehaus.xfire.wsdl.WSDLWriter
WSDL11_NS, WSDL11_SOAP_NS
 
Constructor Summary
WSDLBuilder(Service service, TransportManager transportManager)
           
 
Method Summary
 PortType createAbstractInterface()
           
 void createConcreteInterface(PortType portType)
           
 Part createDocLitPart(javax.xml.namespace.QName pName, java.lang.Class clazz, SchemaType type)
          Creates a wsdl:message part and a global schema element for it if it is abstract.
protected  javax.xml.namespace.QName createDocumentType(MessageInfo message, Part part, java.lang.String opName)
           
 void createInputParts(Message req, OperationInfo op)
           
 javax.wsdl.Operation createOperation(OperationInfo op, Message req, Message res, java.util.List faultMessages)
           
 void createOutputParts(Message req, OperationInfo op)
           
 Part createPart(MessagePartInfo part)
           
 Part createRpcLitPart(javax.xml.namespace.QName pName, java.lang.Class clazz, SchemaType type)
          Creates a wsdl:message part without creating a global schema element.
protected  Element createSequence(Element complex)
           
protected  void createWrappedInputParts(Message req, OperationInfo op)
           
protected  void createWrappedOutputParts(Message req, OperationInfo op)
           
 TransportManager getTransportManager()
           
 void setTransportManager(TransportManager transportManager)
           
 void write(java.io.OutputStream out)
          Write the WSDL to an OutputStream.
protected  void writeParametersSchema(java.util.Collection params, Element sequence)
           
 
Methods inherited from class org.codehaus.xfire.wsdl11.builder.AbstractWSDL
addDependency, addNamespace, addNamespaceImport, addSchema, addSchemas, cleanImport, cleanImports, cleanImports, createSchemaType, getDefinition, getDocument, getImport, getNamespacePrefix, getSchemaTypes, getService, getTargetNamespace, hasDependency, hasSchema, isSchemaLocationRemoved, removeAllImports, setDefinition, setSchema, setSchemaLocationRemoved, setSchemaTypes, setService, writeComplexTypes, writeDocument, writeImports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLBuilder

public WSDLBuilder(Service service,
                   TransportManager transportManager)
            throws WSDLException
Throws:
WSDLException
Method Detail

getTransportManager

public TransportManager getTransportManager()

setTransportManager

public void setTransportManager(TransportManager transportManager)

write

public void write(java.io.OutputStream out)
           throws java.io.IOException
Description copied from interface: WSDLWriter
Write the WSDL to an OutputStream.

Specified by:
write in interface WSDLWriter
Overrides:
write in class AbstractWSDL
Parameters:
out - The OutputStream.
Throws:
java.io.IOException
See Also:
WSDLWriter.write(java.io.OutputStream)

createAbstractInterface

public PortType createAbstractInterface()
                                 throws WSDLException
Throws:
WSDLException

createConcreteInterface

public void createConcreteInterface(PortType portType)

createPart

public Part createPart(MessagePartInfo part)

createRpcLitPart

public Part createRpcLitPart(javax.xml.namespace.QName pName,
                             java.lang.Class clazz,
                             SchemaType type)
Creates a wsdl:message part without creating a global schema element.

Parameters:
pName -
clazz -
type -
Returns:

createDocLitPart

public Part createDocLitPart(javax.xml.namespace.QName pName,
                             java.lang.Class clazz,
                             SchemaType type)
Creates a wsdl:message part and a global schema element for it if it is abstract.

Parameters:
pName -
clazz -
type -
Returns:

createOperation

public javax.wsdl.Operation createOperation(OperationInfo op,
                                            Message req,
                                            Message res,
                                            java.util.List faultMessages)

createInputParts

public void createInputParts(Message req,
                             OperationInfo op)

createOutputParts

public void createOutputParts(Message req,
                              OperationInfo op)

createWrappedInputParts

protected void createWrappedInputParts(Message req,
                                       OperationInfo op)

createWrappedOutputParts

protected void createWrappedOutputParts(Message req,
                                        OperationInfo op)

createDocumentType

protected javax.xml.namespace.QName createDocumentType(MessageInfo message,
                                                       Part part,
                                                       java.lang.String opName)

writeParametersSchema

protected void writeParametersSchema(java.util.Collection params,
                                     Element sequence)
Parameters:
op -
sequence -

createSequence

protected Element createSequence(Element complex)


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.