org.codehaus.xfire.wsdl11.parser
Class WSDLServiceBuilder

java.lang.Object
  extended byorg.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder

public class WSDLServiceBuilder
extends java.lang.Object

Builds a collection of Services from a WSDL.

Author:
Dan Diephouse
See Also:
Service

Field Summary
protected  javax.wsdl.Definition definition
           
 
Constructor Summary
WSDLServiceBuilder(javax.wsdl.Definition definition)
           
WSDLServiceBuilder(java.io.InputStream is)
           
 
Method Summary
 BindingProvider getBindingProvider()
           
 javax.wsdl.Definition getDefinition()
           
protected  ServiceInfo getServiceInfo(javax.wsdl.PortType portType)
           
 java.util.Collection getServices()
           
protected  java.lang.String getTargetNamespace()
           
 TransportManager getTransportManager()
           
protected static boolean hasAttributes(org.apache.ws.commons.schema.XmlSchemaComplexType complexType)
           
static boolean isWrapped(javax.wsdl.Operation op, org.apache.ws.commons.schema.XmlSchemaCollection schemas)
          A message is wrapped IFF: The input message has a single part.
 void setBindingProvider(BindingProvider bindingProvider)
           
 void setTransportManager(TransportManager transportManager)
           
protected  void visit(javax.wsdl.Fault fault)
           
protected  void visit(javax.wsdl.Input input)
           
protected  void visit(javax.wsdl.Operation operation)
           
protected  void visit(javax.wsdl.Output output)
           
protected  void visit(javax.wsdl.PortType portType)
           
protected  void visit(javax.wsdl.Types types)
           
 void walkTree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

definition

protected final javax.wsdl.Definition definition
Constructor Detail

WSDLServiceBuilder

public WSDLServiceBuilder(javax.wsdl.Definition definition)

WSDLServiceBuilder

public WSDLServiceBuilder(java.io.InputStream is)
                   throws javax.wsdl.WSDLException
Method Detail

getBindingProvider

public BindingProvider getBindingProvider()

setBindingProvider

public void setBindingProvider(BindingProvider bindingProvider)

getDefinition

public javax.wsdl.Definition getDefinition()

getTransportManager

public TransportManager getTransportManager()

setTransportManager

public void setTransportManager(TransportManager transportManager)

walkTree

public void walkTree()
              throws java.lang.Exception
Throws:
java.lang.Exception

getServices

public java.util.Collection getServices()

visit

protected void visit(javax.wsdl.Types types)

visit

protected void visit(javax.wsdl.PortType portType)

getServiceInfo

protected ServiceInfo getServiceInfo(javax.wsdl.PortType portType)

visit

protected void visit(javax.wsdl.Fault fault)

visit

protected void visit(javax.wsdl.Input input)

visit

protected void visit(javax.wsdl.Operation operation)

isWrapped

public static boolean isWrapped(javax.wsdl.Operation op,
                                org.apache.ws.commons.schema.XmlSchemaCollection schemas)
A message is wrapped IFF: The input message has a single part. The part is an element. The element has the same name as the operation. The element's complex type has no attributes.

Returns:

hasAttributes

protected static boolean hasAttributes(org.apache.ws.commons.schema.XmlSchemaComplexType complexType)

getTargetNamespace

protected java.lang.String getTargetNamespace()

visit

protected void visit(javax.wsdl.Output output)


Copyright © 2004-2006 null. All Rights Reserved.