org.ow2.orchestra.util.wsdl
Class WsdlUtil

java.lang.Object
  extended by org.ow2.orchestra.util.wsdl.WsdlUtil

public final class WsdlUtil
extends Object


Method Summary
static List<javax.wsdl.Service> getServicesOfPortType(QName portTypeQName, Set<javax.wsdl.Definition> wsdlDefinitions)
          Return the service that implements the given port type.
static javax.wsdl.Definition readWsdl(Element wsdlDefinitionElt)
           
static javax.wsdl.Definition readWsdl(URL wsdlURL)
           
static javax.wsdl.Definition readWsdl(javax.wsdl.xml.WSDLLocator locator)
           
static String writeWsdl(javax.wsdl.Definition wsdlDefinition)
           
static void writeWsdl(javax.wsdl.Definition wsdlDefinition, OutputStream sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readWsdl

public static javax.wsdl.Definition readWsdl(javax.wsdl.xml.WSDLLocator locator)

readWsdl

public static javax.wsdl.Definition readWsdl(URL wsdlURL)

readWsdl

public static javax.wsdl.Definition readWsdl(Element wsdlDefinitionElt)
Parameters:
wsdlDefinitionElt -
Returns:

writeWsdl

public static String writeWsdl(javax.wsdl.Definition wsdlDefinition)

writeWsdl

public static void writeWsdl(javax.wsdl.Definition wsdlDefinition,
                             OutputStream sink)

getServicesOfPortType

public static List<javax.wsdl.Service> getServicesOfPortType(QName portTypeQName,
                                                             Set<javax.wsdl.Definition> wsdlDefinitions)
Return the service that implements the given port type.

Parameters:
portTypeQName - name of the portType to search
Returns:
the service that contains the given port.


Copyright © 2011 OW2 Consortium. All Rights Reserved.