Files
ofbiz-plugins/googlecheckout/servicedef/services_request.xml
T
Ashish Vijaywargiya e3b18d04e1 Here comes the first pass to create order in OFBiz from the notification message coming from the google checkout server.
For more details please have a look on the jira issue: OFBIZ-2545 (Create Order and Party information using google notification)

This is collaborative effort from Andrew Zeneski, Vivek Mishra, Arun Patidar, Anurag Singh Sengar & Me.
Thanks guys for giving a good head start to this feature.

More exciting features are coming soon in this area, so please stay tuned.
Thanks !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@779907 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 09:43:39 +00:00

73 lines
3.6 KiB
XML

<?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">
<!-- create order request notification -->
<service name="sendGoogleOrderNumberRequest" engine="java" invoke="sendOrderNumberRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
<!-- payment notifications -->
<service name="sendGoogleAuthorizeRequest" engine="java" invoke="sendAuthorizeRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
<service name="sendGoogleChargeRequest" engine="java" invoke="sendChargeRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
<!-- returns -->
<service name="sendGoogleReturnRequest" engine="java" invoke="sendReturnRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="returnId" type="String" mode="IN" optional="false"/>
</service>
<!-- cancel notification -->
<service name="sendGoogleOrderCancelRequest" engine="java" invoke="sendOrderCancelRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
<service name="sendGoogleOrderItemCancelRequest" engine="java" invoke="sendOrderItemCancelRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
</service>
<!-- shipment notification -->
<service name="sendGoogleShipRequest" engine="java" invoke="sendShipRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="shipmentId" type="String" mode="IN" optional="false"/>
</service>
<!-- archive order requests -->
<service name="sendGoogleArchiveOrderRequest" engine="java" invoke="sendArchiveOrderRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
<service name="sendGoogleUnarchiveOrderRequest" engine="java" invoke="sendUnarchiveOrderRequest"
location="org.ofbiz.googlecheckout.GoogleRequestServices">
<attribute name="orderId" type="String" mode="IN" optional="false"/>
</service>
</services>