You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mr...@apache.org on 2006/07/20 01:57:42 UTC
svn commit: r423668 [2/2] - in /incubator/ode/scratch/pxe-iapi:
axis2/src/main/java/com/fs/pxe/axis2/
axis2/src/main/java/com/fs/pxe/axis2/hooks/
bpel-api/src/main/java/com/fs/pxe/bpel/dao/
bpel-api/src/main/java/com/fs/pxe/bpel/epr/ bpel-api/src/main/...
Modified: incubator/ode/scratch/pxe-iapi/bpel-runtime/src/main/java/com/fs/pxe/bpel/runtime/PropertyAliasEvaluationContext.java
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/bpel-runtime/src/main/java/com/fs/pxe/bpel/runtime/PropertyAliasEvaluationContext.java?rev=423668&r1=423667&r2=423668&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/bpel-runtime/src/main/java/com/fs/pxe/bpel/runtime/PropertyAliasEvaluationContext.java (original)
+++ incubator/ode/scratch/pxe-iapi/bpel-runtime/src/main/java/com/fs/pxe/bpel/runtime/PropertyAliasEvaluationContext.java Wed Jul 19 16:57:40 2006
@@ -30,11 +30,8 @@
_root = msgData;
} else {
Element part = DOMUtils.findChildByName(msgData,new QName(null, alias.part.name),false);
- System.out.println("Applying alias evaluation on " +DOMUtils.domToString(msgData));
- System.out.println("Check child " + alias.part.name + " => " + part);
if (part != null && alias.part.type instanceof OElementVarType) {
_root = DOMUtils.findChildByName(part, ((OElementVarType)alias.part.type).elementType);
- System.out.println("Check child " + ((OElementVarType)alias.part.type).elementType + " => " + part);
} else
_root = part;
}
Modified: incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/MessageExchangeDaoImpl.java
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/MessageExchangeDaoImpl.java?rev=423668&r1=423667&r2=423668&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/MessageExchangeDaoImpl.java (original)
+++ incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/MessageExchangeDaoImpl.java Wed Jul 19 16:57:40 2006
@@ -137,7 +137,31 @@
if (ld == null)
return null;
try {
- return (Element)DOMUtils.stringToDOM(ld.getText());
+ return DOMUtils.stringToDOM(ld.getText());
+ } catch (Exception e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ public void setCallbackEPR(Element source) {
+ if (source == null)
+ _hself.setCallbackEndpoint(null);
+ else {
+ HLargeData ld = new HLargeData(DOMUtils.domToString(source));
+ getSession().save(ld);
+ _hself.setCallbackEndpoint(ld);
+ }
+
+ getSession().saveOrUpdate(_hself);
+
+ }
+
+ public Element getCallbackEPR() {
+ HLargeData ld = _hself.getCallbackEndpoint();
+ if (ld == null)
+ return null;
+ try {
+ return DOMUtils.stringToDOM(ld.getText());
} catch (Exception e) {
throw new RuntimeException(e);
}
Modified: incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/hobj/HMessageExchange.java
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/hobj/HMessageExchange.java?rev=423668&r1=423667&r2=423668&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/hobj/HMessageExchange.java (original)
+++ incubator/ode/scratch/pxe-iapi/dao-hibernate/src/main/java/com/fs/pxe/daohib/bpel/hobj/HMessageExchange.java Wed Jul 19 16:57:40 2006
@@ -31,6 +31,8 @@
private HLargeData _endpoint;
+ private HLargeData _callbackEndpoint;
+
private HMessage _request;
private HMessage _response;
@@ -104,6 +106,17 @@
public void setEndpoint(HLargeData endpoint) {
_endpoint = endpoint;
+ }
+
+ /**
+ * @hibernate.many-to-one column="LDATA_CEPR_ID" cascade="delete"
+ */
+ public HLargeData getCallbackEndpoint() {
+ return _callbackEndpoint;
+ }
+
+ public void setCallbackEndpoint(HLargeData endpoint) {
+ _callbackEndpoint = endpoint;
}
/**
Modified: incubator/ode/scratch/pxe-iapi/utils/src/main/java/com/fs/utils/Namespaces.java
URL: http://svn.apache.org/viewvc/incubator/ode/scratch/pxe-iapi/utils/src/main/java/com/fs/utils/Namespaces.java?rev=423668&r1=423667&r2=423668&view=diff
==============================================================================
--- incubator/ode/scratch/pxe-iapi/utils/src/main/java/com/fs/utils/Namespaces.java (original)
+++ incubator/ode/scratch/pxe-iapi/utils/src/main/java/com/fs/utils/Namespaces.java Wed Jul 19 16:57:40 2006
@@ -1,14 +1,18 @@
package com.fs.utils;
+import javax.xml.namespace.QName;
+
/**
* Constant class to centralize all namespaces declarations.
*/
public class Namespaces {
public static final String INTALIO_SESSION_NS = "http://www.intalio.com/type/session";
-
+
public static final String WS_ADDRESSING_NS = "http://www.w3.org/2005/08/addressing";
+ public static final String WS_ADDRESSING_WSDL_NS = "http://www.w3.org/2006/05/addressing/wsdl";
+
public static final String SOAP_NS = "http://schemas.xmlsoap.org/wsdl/soap/";
public static final String WS_BPEL_20_NS = "http://schemas.xmlsoap.org/ws/2004/03/business-process/";
@@ -20,5 +24,7 @@
public static final String XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
public static final String JBI_END_POINT_REFERENCE = "http://java.sun.com/jbi/end-point-reference";
+
+ public static final QName WS_ADDRESSING_ENDPOINT = new QName(WS_ADDRESSING_NS, "EndpointReference");
}