org.apache.beehive.wsm.model.wsdl
Class XmlBeanWSDLProcessor

Object
  extended by XmlBeanWSDLProcessor

public class XmlBeanWSDLProcessor
extends Object

An Implementation of WSDLProcessor that uses XmlBeans to convert the WSDL into the WSM Object Model.


Field Summary
static String SOAPENCODING
           
static String TRANSPORT
           
static String WSDLNS
           
static String WSDLSOAPNS
           
 
Constructor Summary
XmlBeanWSDLProcessor(InputStream wsdlStream)
           
 
Method Summary
 BeehiveWsTypeMetadata getObjectModel(BindingLookupService lookupService)
           
 QName getServiceName()
           
static TAddress[] getSOAPAddress(TPort port)
           
static TBinding[] getSOAPBinding(TBinding b)
           
static TBody[] getSOAPBody(TBindingOperationMessage bom)
           
static THeader[] getSOAPHeader(TBindingOperationMessage bom)
           
static TOperation[] getSOAPOperations(TBindingOperation bo)
           
static DefinitionsDocument parseWSDL(File wsdlFile)
           
static DefinitionsDocument parseWSDL(InputStream wsdlStream)
           
static DefinitionsDocument parseWSDL(String wsdlLocation)
           
static DefinitionsDocument parseWSDL(URL wsdlURL)
           
 
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

XmlBeanWSDLProcessor

public XmlBeanWSDLProcessor(InputStream wsdlStream)
                     throws MalformedURLException,
                            IOException,
                            XmlException
Throws:
MalformedURLException
IOException
XmlException
Method Detail

getServiceName

public QName getServiceName()

getObjectModel

public BeehiveWsTypeMetadata getObjectModel(BindingLookupService lookupService)
                                     throws Exception
Throws:
Exception

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

parseWSDL

public static DefinitionsDocument parseWSDL(InputStream wsdlStream)
                                     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

getSOAPHeader

public static THeader[] getSOAPHeader(TBindingOperationMessage bom)
                               throws IllegalAccessException,
                                      NoSuchFieldException
Throws:
IllegalAccessException
NoSuchFieldException

getSOAPAddress

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