org.apache.beehive.wsm.jsr181.model.wsdl
Class XmlBeanWSDLProcessor
Object
XmlBeanWSDLProcessor
- All Implemented Interfaces:
- WSDLProcessor
public class XmlBeanWSDLProcessor
- extends Object
- implements WSDLProcessor
An Implementation of WSDLProcessor that uses XmlBeans to convert the WSDL
into the WSM Object Model.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
XmlBeanWSDLProcessor
public XmlBeanWSDLProcessor()
createObjectModel
public BeehiveWsTypeMetadata createObjectModel(InputStream wsdlStream)
throws Exception
- Description copied from interface:
WSDLProcessor
- Converts a WSDL document in the provided InputStream into the WSM
Model.
- Specified by:
createObjectModel
in interface WSDLProcessor
- Parameters:
wsdlStream
- an InputStream containing a WSDL document.
- Returns:
- a WSM Object model representing the service in the provided WSDL.
- Throws:
Exception
setTypeMappingUtil
public void setTypeMappingUtil(TypeMappingUtil tmu)
getTypeMappingUtil
public TypeMappingUtil getTypeMappingUtil()
toWebServiceMetadata
public BeehiveWsTypeMetadata toWebServiceMetadata(DefinitionsDocument defDoc)
throws Exception
- Throws:
Exception
loadWebServiceMetadataFromWSDL
public BeehiveWsTypeMetadata loadWebServiceMetadataFromWSDL(String wsdlLocation)
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
getSOAPAddress
public static TAddress[] getSOAPAddress(TPort port)
throws IllegalAccessException,
NoSuchFieldException
- Throws:
IllegalAccessException
NoSuchFieldException