org.apache.beehive.wsm.jsr181.wsdl
Class WSDLProcessor

Object
  extended by WSDLProcessor

public class WSDLProcessor
extends Object

****************************************************************************


Field Summary
static String SOAPENCODING
           
static String TRANSPORT
           
static String WSDLNS
           
static String WSDLSOAPNS
           
 
Constructor Summary
WSDLProcessor()
           
 
Method Summary
static QName class2QName(Class type)
           
static QName class2QName(String typeName)
           
static DefinitionsDocument fromWebServiceMetadata(WebServiceTYPEMetadata wsm)
           
static TAddress[] getSOAPAddress(TPort port)
           
static TBinding[] getSOAPBinding(TBinding b)
           
static TBody[] getSOAPBody(TBindingOperationMessage bom)
           
static TOperation[] getSOAPOperations(TBindingOperation bo)
           
static boolean insertChild(XmlObject parent, XmlObject child)
           
static WebServiceTYPEMetadata loadWebServiceMetadataFromWSDL(String wsdlLocation)
           
static DefinitionsDocument parseWSDL(File wsdlFile)
           
static DefinitionsDocument parseWSDL(String wsdlLocation)
           
static DefinitionsDocument parseWSDL(URL wsdlURL)
           
static WebServiceTYPEMetadata toWebServiceMetadata(DefinitionsDocument defDoc)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSPORT

public static final String TRANSPORT
See Also:
Constant Field Values

SOAPENCODING

public static final String SOAPENCODING
See Also:
Constant Field Values

WSDLNS

public static final String WSDLNS
See Also:
Constant Field Values

WSDLSOAPNS

public static final String WSDLSOAPNS
See Also:
Constant Field Values
Constructor Detail

WSDLProcessor

public WSDLProcessor()
Method Detail

toWebServiceMetadata

public static WebServiceTYPEMetadata toWebServiceMetadata(DefinitionsDocument defDoc)
                                                   throws IllegalAccessException,
                                                          NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

fromWebServiceMetadata

public static DefinitionsDocument fromWebServiceMetadata(WebServiceTYPEMetadata wsm)
                                                  throws Exception
Throws:
Exception

insertChild

public static boolean insertChild(XmlObject parent,
                                  XmlObject child)

loadWebServiceMetadataFromWSDL

public static WebServiceTYPEMetadata loadWebServiceMetadataFromWSDL(String wsdlLocation)
                                                             throws IOException,
                                                                    XmlException,
                                                                    IllegalAccessException,
                                                                    NoSuchFieldException
Throws:
IOException
XmlException
IllegalAccessException
NoSuchFieldException

parseWSDL

public static DefinitionsDocument parseWSDL(String wsdlLocation)
                                     throws IOException,
                                            MalformedURLException,
                                            XmlException
Throws:
IOException
MalformedURLException
XmlException

parseWSDL

public static DefinitionsDocument parseWSDL(File wsdlFile)
                                     throws IOException,
                                            XmlException
Throws:
IOException
XmlException

parseWSDL

public static DefinitionsDocument parseWSDL(URL wsdlURL)
                                     throws IOException,
                                            MalformedURLException,
                                            XmlException
Throws:
IOException
MalformedURLException
XmlException

getSOAPOperations

public static TOperation[] getSOAPOperations(TBindingOperation bo)
                                      throws IllegalAccessException,
                                             NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

getSOAPBinding

public static TBinding[] getSOAPBinding(TBinding b)
                                 throws IllegalAccessException,
                                        NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

getSOAPBody

public static TBody[] getSOAPBody(TBindingOperationMessage bom)
                           throws IllegalAccessException,
                                  NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

getSOAPAddress

public static TAddress[] getSOAPAddress(TPort port)
                                 throws IllegalAccessException,
                                        NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

class2QName

public static QName class2QName(String typeName)

class2QName

public static QName class2QName(Class type)