svn commit: r553909 [1/3] - in /ofbiz/trunk/specialpurpose/oagis: servicedef/secas.xml servicedef/services.xml src/org/ofbiz/oagis/OagisInventoryServices.java src/org/ofbiz/oagis/OagisServices.java src/org/ofbiz/oagis/OagisShipmentServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r553909 [1/3] - in /ofbiz/trunk/specialpurpose/oagis: servicedef/secas.xml servicedef/services.xml src/org/ofbiz/oagis/OagisInventoryServices.java src/org/ofbiz/oagis/OagisServices.java src/org/ofbiz/oagis/OagisShipmentServices.java

apatel-2
Author: apatel
Date: Fri Jul  6 07:46:27 2007
New Revision: 553909

URL: http://svn.apache.org/viewvc?view=rev&rev=553909
Log:
call to createOagisMessageInfo is moved into services. Messages are now being saved to a File.

Modified:
    ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml
    ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisServices.java
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java

Modified: ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml?view=diff&rev=553909&r1=553908&r2=553909
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml Fri Jul  6 07:46:27 2007
@@ -1,35 +1,76 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
-    <!-- order status changes -->
-    
-    <!--eca service="changeOrderStatus" event="commit" run-on-error="false">
-        <condition field-name="statusId" operator="equals" value="ORDER_APPROVED"/>
-        <condition field-name="orderTypeId" operator="equals" value="SALES_ORDER"/>
-        <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
-        <action service="oagisProcessShipment" mode="sync"/>
-    </eca-->
-    <eca service="processShipment" event="commit" run-on-error="false">
-        <action service="createOagisMessageInfo" mode="sync"/>
-    </eca>
-    
-</service-eca>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
+    <!-- order status changes -->
+    
+    <!--eca service="changeOrderStatus" event="commit" run-on-error="false">
+        <condition field-name="statusId" operator="equals" value="ORDER_APPROVED"/>
+        <condition field-name="orderTypeId" operator="equals" value="SALES_ORDER"/>
+        <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
+        <action service="oagisProcessShipment" mode="sync"/>
+    </eca-->
+    <eca service="oagisPocessShipment" event="commit" run-on-error="false">
+        <action service="createOagisMessageInfo" mode="sync"/>
+    </eca>
+    
+    <!--<eca service="receiveConfirmBod" event="commit" run-on-error="true">
+        <action service="createOagisMessageInfo" mode="sync"/>
+    </eca>-->
+    
+    <eca service="receiveConfirmBod" event="commit" run-on-error="true">
+        <condition field-name="description" operator="is-not-empty"/>
+        <action service="createOagisMessageErrorInfo" mode="sync"/>
+        <action service="oagisSendConfirmBod" mode="sync"/>
+    </eca>
+    
+     <eca service="oagisReceiveDelivery" event="commit" run-on-error="false">
+        <action service="createOagisMessageInfo" mode="sync"/>
+    </eca>
+    
+    <!--<eca service="showShipment" event="commit" run-on-error="true">
+        <action service="createOagisMessageInfo" mode="sync"/>
+    </eca>-->
+    
+    <eca service="showShipment" event="commit" run-on-error="true">
+        <condition field-name="description" operator="is-not-empty"/>
+        <action service="createOagisMessageErrorInfo" mode="sync"/>
+        <action service="oagisSendConfirmBod" mode="sync"/>
+    </eca>
+    
+    <eca service="syncInventory" event="commit" run-on-error="true">
+       <condition field-name="description" operator="is-not-empty"/>
+       <action service="createOagisMessageErrorInfo" mode="sync"/>
+       <action service="oagisSendConfirmBod" mode="sync"/>
+    </eca>
+    
+    <eca service="receivePoAcknowledge" event="commit" run-on-error="true">
+       <condition field-name="description" operator="is-not-empty"/>
+       <action service="createOagisMessageErrorInfo" mode="sync"/>
+       <action service="oagisSendConfirmBod" mode="sync"/>
+    </eca>
+    
+    <eca service="receiveRmaAcknowledge" event="commit" run-on-error="true">
+       <condition field-name="description" operator="is-not-empty"/>
+       <action service="createOagisMessageErrorInfo" mode="sync"/>
+       <action service="oagisSendConfirmBod" mode="sync"/>
+    </eca>
+</service-eca>

Modified: ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml?view=diff&rev=553909&r1=553908&r2=553909
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/servicedef/services.xml Fri Jul  6 07:46:27 2007
@@ -1,147 +1,166 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
-    
-    <service name="oagisMessageInfoInterface" engine="interface" location="" invoke="">
-        <attribute name="logicalId" type="String" mode="OUT" optional="false"/>
-        <attribute name="component" type="String" mode="OUT" optional="false"/>
-        <attribute name="task" type="String" mode="OUT" optional="false"/>
-        <attribute name="referenceId" type="String" mode="OUT" optional="false"/>
-        <attribute name="authId" type="String" mode="OUT" optional="true"/>
-        <attribute name="outgoingMessage" type="String" mode="OUT" optional="true"/>
-        <attribute name="sentDate" type="Timestamp" mode="OUT" optional="true"/>
-        <attribute name="receivedDate" type="Timestamp" mode="OUT" optional="true"/>
-        <attribute name="confirmation" type="String" mode="OUT" optional="true"/>
-        <attribute name="bsrVerb" type="String" mode="OUT" optional="true"/>
-        <attribute name="bsrNoun" type="String" mode="OUT" optional="true"/>
-        <attribute name="bsrRevision" type="String" mode="OUT" optional="true"/>
-        <attribute name="processingStatusId" type="String" mode="OUT" optional="true"/>        
-        <attribute name="orderId" type="String" mode="INOUT" optional="true"/>        
-        <attribute name="returnId" type="String" mode="INOUT" optional="true"/>        
-        <attribute name="shipmentId" type="String" mode="INOUT" optional="true"/>
-    </service>
-
-    <service name="createOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo"
-            location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageInfo" auth="true">
-         <description>Create MessageInfo</description>
-         <auto-attributes mode="IN" include="pk" optional="false"/>
-         <auto-attributes mode="IN" include="nonpk" optional="true"/>
-    </service>
-    
-    <service name="updateOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo"
-             location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageInfo" auth="true">
-        <description>Update MessageInfo</description>
-        <auto-attributes mode="IN" include="pk" optional="false"/>
-        <auto-attributes mode="IN" include="nonpk" optional="true"/>
-    </service>
-
-    <service name="createOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo"
-            location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageErrorInfo" auth="true">
-         <description>Create MessageErrorInfo</description>
-         <auto-attributes mode="IN" include="pk" optional="false"/>
-         <auto-attributes mode="IN" include="nonpk" optional="true"/>
-         <override name="errorSeqId" optional="true"/>        
-    </service>        
-    
-    <service name="updateOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo"
-             location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageErrorInfo" auth="true">
-        <description>Update MessageErrorInfo</description>
-        <auto-attributes mode="IN" include="pk" optional="false"/>
-        <auto-attributes mode="IN" include="nonpk" optional="true"/>
-    </service>
-    <service name="showShipment" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisShipmentServices" invoke="showShipment" auth="false">
-        <description>Process incoming shipment message</description>
-        <implements service="serviceStreamInterface"/>
-    </service>
-    
-    <service name="sendConfirmBod" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisServices" invoke="sendConfirmBod" auth="false">
-        <description>Send ConfirmBod</description>
-        <attribute name="outputStream" type="java.io.OutputStream" mode="IN"/>
-        <attribute name="logicalId" type="String" mode="IN" optional="false"/>
-        <attribute name="component" type="String" mode="IN" optional="false"/>
-        <attribute name="task" type="String" mode="IN" optional="false"/>
-        <attribute name="referenceId" type="String" mode="IN" optional="false"/>
-        <attribute name="description" type="String" mode="IN" optional="true"/>
-        <attribute name="reasonCode" type="String" mode="IN" optional="true"/>
-        <attribute name="origRefId" type="String" mode="IN" optional="true"/>
-    </service>
-    
-    <service name="receiveConfirmBod" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisServices" invoke="receiveConfirmBod" auth="false">
-        <description>Process incoming ConfirmBod</description>
-        <implements service="serviceStreamInterface"/>
-    </service>
-    <service name="syncInventory" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisInventoryServices" invoke="syncInventory" auth="false">
-        <description>Process incoming Inventory Sync message</description>
-        <implements service="serviceStreamInterface"/>
-    </service>
-    <service name="exportMsgFromScreen" max-retry="0" engine="java"
-        location="org.ofbiz.oagis.OagisShipmentServices" invoke="exportMsgFromScreen">
-        <description>Export Message From Screen</description>
-        <attribute name="bodyScreenUri" type="String" mode="IN" optional="true"/>
-        <attribute name="bodyParameters" type="Map" mode="IN" optional="true"/>
-        <attribute name="body" type="String" mode="OUT" optional="true"/>
-    </service>
-    <service name="oagisProcessShipment" max-retry="0" engine="java"
-        location="org.ofbiz.oagis.OagisShipmentServices" invoke="oagisProcessShipment">
-        <description>Prepare and Optionally Send OAGIS Process Shipment Message.
-            Note on usage: you can pass in either sendToUrl, saveToFilename, or outputStream.
-            If none are passed in the URL in oagis.properties will be used at the target for the message.</description>
-        <implements service="oagisMessageInfoInterface"/>
-        <attribute name="sendToUrl" type="String" mode="IN" optional="true"/>
-        <attribute name="saveToFilename" type="String" mode="IN" optional="true"/>
-        <attribute name="saveToDirectory" type="String" mode="IN" optional="true"/>
-        <attribute name="outputStream" type="java.io.OutputStream" mode="IN" optional="true"/>
-        <override name="orderId" mode="INOUT" type="String" optional="false"/>
-    </service>
-    <service name="sendProcessShipmentMsg" max-retry="0" engine="simple"
-        location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="sendProcessShipmentMsg">
-        <description>Send Process Shipment Message</description>
-        <attribute name="shipmentId" mode="IN" type="String" optional="false"/>
-        <attribute name="logicalId" mode="IN" type="String" optional="false"/>
-        <attribute name="authId" mode="IN" type="String" optional="false"/>
-        <attribute name="referenceId" mode="IN" type="String" optional="false"/>
-        <attribute name="sentDate" mode="IN" type="Timestamp" optional="false"/>
-    </service>
-    <service name="receiveDelivery" max-retry="0" engine="java"
-        location="org.ofbiz.oagis.OagisShipmentServices" invoke="receiveDelivery">
-        <description>Receive Delivery</description>
-        <attribute name="returnId" mode="IN" type="String" optional="false"/>
-    </service>
-    
-    <service name="receivePoAcknowledge" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisInventoryServices" invoke="receivePoAcknowledgement" auth="false">
-        <description>Process PO Acknowledge message</description>
-        <implements service="serviceStreamInterface"/>
-    </service>
-
-    <service name="receiveRmaAcknowledge" engine="java" transaction-timeout="300"
-            location="org.ofbiz.oagis.OagisInventoryServices" invoke="receiveRmaAcknowledge" auth="false">
-        <description>Process RMA Acknowledge message</description>
-        <implements service="serviceStreamInterface"/>
-    </service>
-
-
-</services>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    
+    <service name="oagisMessageInfoInterface" engine="interface">
+        <attribute name="logicalId" type="String" mode="OUT" optional="false"/>
+        <attribute name="component" type="String" mode="OUT" optional="false"/>
+        <attribute name="task" type="String" mode="OUT" optional="false"/>
+        <attribute name="referenceId" type="String" mode="OUT" optional="false"/>
+        <attribute name="authId" type="String" mode="OUT" optional="true"/>
+        <attribute name="outgoingMessage" type="String" mode="OUT" optional="true"/>
+        <attribute name="sentDate" type="Timestamp" mode="OUT" optional="true"/>
+        <attribute name="receivedDate" type="Timestamp" mode="OUT" optional="true"/>
+        <attribute name="confirmation" type="String" mode="OUT" optional="true"/>
+        <attribute name="bsrVerb" type="String" mode="OUT" optional="true"/>
+        <attribute name="bsrNoun" type="String" mode="OUT" optional="true"/>
+        <attribute name="bsrRevision" type="String" mode="OUT" optional="true"/>
+        <attribute name="processingStatusId" type="String" mode="OUT" optional="true"/>        
+        <attribute name="orderId" type="String" mode="INOUT" optional="true"/>        
+        <attribute name="returnId" type="String" mode="INOUT" optional="true"/>        
+        <attribute name="shipmentId" type="String" mode="INOUT" optional="true"/>
+    </service>
+    
+    <service name="oagisMessageErrorInfoInterface" engine="interface">
+        <implements service="oagisMessageInfoInterface"/>
+        <attribute name="description" type="String" mode="OUT" optional="true"/>
+        <attribute name="reasonCode" type="String" mode="OUT" optional="true"/>
+    </service>
+
+    <service name="createOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo"
+            location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageInfo" auth="true">
+         <description>Create MessageInfo</description>
+         <auto-attributes mode="IN" include="pk" optional="false"/>
+         <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    
+    <service name="updateOagisMessageInfo" engine="simple" default-entity-name="OagisMessageInfo"
+             location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageInfo" auth="true">
+        <description>Update MessageInfo</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+
+    <service name="createOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo"
+            location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="createOagisMessageErrorInfo" auth="true">
+         <description>Create MessageErrorInfo</description>
+         <auto-attributes mode="IN" include="pk" optional="false"/>
+         <auto-attributes mode="IN" include="nonpk" optional="true"/>
+         <override name="errorSeqId" optional="true"/>        
+    </service>        
+    
+    <service name="updateOagisMessageErrorInfo" engine="simple" default-entity-name="OagisMessageErrorInfo"
+             location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="updateOagisMessageErrorInfo" auth="true">
+        <description>Update MessageErrorInfo</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="showShipment" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisShipmentServices" invoke="showShipment" auth="false">
+        <description>Process incoming shipment message</description>
+        <implements service="serviceStreamInterface"/>
+        <implements service="oagisMessageErrorInfoInterface"/>
+    </service>
+    
+    <service name="oagisSendConfirmBod" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisServices" invoke="oagisSendConfirmBod" auth="false">
+        <description>Send ConfirmBod</description>
+        <attribute name="sendToUrl" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToFilename" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToDirectory" type="String" mode="IN" optional="true"/>
+        <attribute name="outputStream" type="java.io.OutputStream" mode="IN" optional="true"/>
+        <attribute name="logicalId" type="String" mode="IN" optional="false"/>
+        <attribute name="component" type="String" mode="IN" optional="false"/>
+        <attribute name="task" type="String" mode="IN" optional="false"/>
+        <attribute name="referenceId" type="String" mode="IN" optional="false"/>
+        <attribute name="description" type="String" mode="IN" optional="true"/>
+        <attribute name="reasonCode" type="String" mode="IN" optional="true"/>
+        <attribute name="origRefId" type="String" mode="IN" optional="true"/>
+    </service>
+    
+    <service name="receiveConfirmBod" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisServices" invoke="receiveConfirmBod" auth="false">
+        <description>Process incoming ConfirmBod</description>
+        <implements service="serviceStreamInterface"/>
+        <implements service="oagisMessageErrorInfoInterface"/>
+    </service>
+    <service name="syncInventory" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisInventoryServices" invoke="syncInventory" auth="false">
+        <description>Process incoming Inventory Sync message</description>
+        <implements service="serviceStreamInterface"/>
+        <implements service="oagisMessageErrorInfoInterface"/>
+    </service>
+    <service name="exportMsgFromScreen" max-retry="0" engine="java"
+        location="org.ofbiz.oagis.OagisShipmentServices" invoke="exportMsgFromScreen">
+        <description>Export Message From Screen</description>
+        <attribute name="bodyScreenUri" type="String" mode="IN" optional="true"/>
+        <attribute name="bodyParameters" type="Map" mode="IN" optional="true"/>
+        <attribute name="body" type="String" mode="OUT" optional="true"/>
+    </service>
+    <service name="oagisProcessShipment" max-retry="0" engine="java"
+        location="org.ofbiz.oagis.OagisShipmentServices" invoke="oagisProcessShipment">
+        <description>Prepare and Optionally Send OAGIS Process Shipment Message.
+            Note on usage: you can pass in either sendToUrl, saveToFilename, or outputStream.
+            If none are passed in the URL in oagis.properties will be used at the target for the message.</description>
+        <implements service="oagisMessageInfoInterface"/>
+        <attribute name="sendToUrl" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToFilename" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToDirectory" type="String" mode="IN" optional="true"/>
+        <attribute name="outputStream" type="java.io.OutputStream" mode="IN" optional="true"/>
+        <override name="orderId" mode="INOUT" type="String" optional="false"/>
+    </service>
+    <service name="sendProcessShipmentMsg" max-retry="0" engine="simple"
+        location="org/ofbiz/oagis/OagisMessageServices.xml" invoke="sendProcessShipmentMsg">
+        <description>Send Process Shipment Message</description>
+        <attribute name="shipmentId" mode="IN" type="String" optional="false"/>
+        <attribute name="logicalId" mode="IN" type="String" optional="false"/>
+        <attribute name="authId" mode="IN" type="String" optional="false"/>
+        <attribute name="referenceId" mode="IN" type="String" optional="false"/>
+        <attribute name="sentDate" mode="IN" type="Timestamp" optional="false"/>
+    </service>
+    <service name="oagisReceiveDelivery" max-retry="0" engine="java"
+        location="org.ofbiz.oagis.OagisShipmentServices" invoke="oagisReceiveDelivery">
+        <description>Receive Delivery</description>
+        <implements service="oagisMessageInfoInterface"/>
+        <attribute name="sendToUrl" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToFilename" type="String" mode="IN" optional="true"/>
+        <attribute name="saveToDirectory" type="String" mode="IN" optional="true"/>
+        <attribute name="outputStream" type="java.io.OutputStream" mode="IN" optional="true"/>
+        <override name="returnId" mode="INOUT" type="String" optional="false"/>
+    </service>
+    
+    <service name="receivePoAcknowledge" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisInventoryServices" invoke="receivePoAcknowledge" auth="false">
+        <description>Process PO Acknowledge message</description>
+        <implements service="serviceStreamInterface"/>
+        <implements service="oagisMessageErrorInfoInterface"/>
+    </service>
+
+    <service name="receiveRmaAcknowledge" engine="java" transaction-timeout="300"
+            location="org.ofbiz.oagis.OagisInventoryServices" invoke="receiveRmaAcknowledge" auth="false">
+        <description>Process RMA Acknowledge message</description>
+        <implements service="serviceStreamInterface"/>
+        <implements service="oagisMessageErrorInfoInterface"/>
+    </service>
+
+
+</services>