org.codehaus.xfire.wsdl11.parser
Class WSDLServiceBuilder

java.lang.Object
  extended by org.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  Definition definition
           
 
Constructor Summary
WSDLServiceBuilder(Definition definition)
           
 
Method Summary
 BindingProvider getBindingProvider()
           
 Definition getDefinition()
           
protected  ServiceInfo getServiceInfo(PortType portType)
           
 java.util.Collection getServices()
           
protected  java.lang.String getTargetNamespace()
           
 TransportManager getTransportManager()
           
protected static boolean hasAttributes(XmlSchemaComplexType complexType)
           
static boolean isWrapped(Operation op, 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(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 Definition definition
Constructor Detail

WSDLServiceBuilder

public WSDLServiceBuilder(Definition definition)
Method Detail

getBindingProvider

public BindingProvider getBindingProvider()

setBindingProvider

public void setBindingProvider(BindingProvider bindingProvider)

getDefinition

public 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(Types types)

getServiceInfo

protected ServiceInfo getServiceInfo(PortType portType)

isWrapped

public static boolean isWrapped(Operation op,
                                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(XmlSchemaComplexType complexType)

getTargetNamespace

protected java.lang.String getTargetNamespace()


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