org.apache.ode.axis2
Class ODEService
java.lang.Object
org.apache.ode.axis2.ODEService
public class ODEService
- extends java.lang.Object
A running service, encapsulates the Axis service, its receivers and our receivers as well.
Constructor Summary |
ODEService(org.apache.axis2.description.AxisService axisService,
ProcessConf pconf,
javax.xml.namespace.QName serviceName,
java.lang.String portName,
BpelServer server)
|
Method Summary |
static MutableEndpoint |
createServiceRef(org.w3c.dom.Element elmt)
Create-and-copy a service-ref element. |
static org.w3c.dom.Element |
genEPRfromWSDL(javax.wsdl.Definition wsdlDef,
javax.xml.namespace.QName name,
java.lang.String portName)
Get the EPR of this service from the WSDL. |
org.apache.axis2.description.AxisService |
getAxisService()
|
EndpointReference |
getMyServiceRef()
Return the service-ref element that will be used to represent this endpoint. |
void |
onAxisMessageExchange(org.apache.axis2.context.MessageContext msgContext,
org.apache.axis2.context.MessageContext outMsgContext,
org.apache.axiom.soap.SOAPFactory soapFactory)
|
boolean |
respondsTo(javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portTypeName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TARGET_SESSION_ENDPOINT
public static final java.lang.String TARGET_SESSION_ENDPOINT
- See Also:
- Constant Field Values
CALLBACK_SESSION_ENDPOINT
public static final java.lang.String CALLBACK_SESSION_ENDPOINT
- See Also:
- Constant Field Values
ODEService
public ODEService(org.apache.axis2.description.AxisService axisService,
ProcessConf pconf,
javax.xml.namespace.QName serviceName,
java.lang.String portName,
BpelServer server)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
onAxisMessageExchange
public void onAxisMessageExchange(org.apache.axis2.context.MessageContext msgContext,
org.apache.axis2.context.MessageContext outMsgContext,
org.apache.axiom.soap.SOAPFactory soapFactory)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
respondsTo
public boolean respondsTo(javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portTypeName)
getAxisService
public org.apache.axis2.description.AxisService getAxisService()
getMyServiceRef
public EndpointReference getMyServiceRef()
- Return the service-ref element that will be used to represent this endpoint.
- Returns:
- my service endpoint
genEPRfromWSDL
public static org.w3c.dom.Element genEPRfromWSDL(javax.wsdl.Definition wsdlDef,
javax.xml.namespace.QName name,
java.lang.String portName)
- Get the EPR of this service from the WSDL.
- Parameters:
name
- service nameportName
- port name
- Returns:
- XML representation of the EPR
createServiceRef
public static MutableEndpoint createServiceRef(org.w3c.dom.Element elmt)
- Create-and-copy a service-ref element.
- Parameters:
elmt
-
- Returns:
- wrapped element