Author: jeff.yuchang
Date: 2009-08-21 02:29:19 -0400 (Fri, 21 Aug 2009)
New Revision: 791
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/CreditAgencyDecision.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/MemoryEPRStorage.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckInvalidMessageAction.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckResponseMessageAction.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditAgencyService.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditCheckInvalid.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/ObjectFactory.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/PurchaseDetailsType.java
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/package-info.java
Removed:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/overlord/
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/pom.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbm-queue-service.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbmq-queue-service.xml
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/webapp/WEB-INF/web.xml
Log:
* SOAG-114, refactor package name.
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/pom.xml
===================================================================
--- cdl/trunk/samples/jbossesb/common/creditAgency/pom.xml 2009-08-21 03:20:54 UTC (rev
790)
+++ cdl/trunk/samples/jbossesb/common/creditAgency/pom.xml 2009-08-21 06:29:19 UTC (rev
791)
@@ -21,8 +21,8 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.jboss.savara.runtime</groupId>
- <artifactId>savara-jbossesb</artifactId>
+ <groupId>org.jboss.savara</groupId>
+ <artifactId>savara-runtime-jbossesb</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/CreditAgencyDecision.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/CreditAgencyDecision.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/CreditAgencyDecision.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2008,
+ */
+package org.jboss.savara.examples.creditAgency;
+
+import org.jboss.savara.internal.jbossesb.utils.XMLUtils;
+import org.jboss.savara.jbossesb.Decision;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
+ *
+ */
+public class CreditAgencyDecision implements Decision {
+
+ /*
+ * @see
org.jboss.soa.overlord.jbossesb.Decision#executeDecision(org.jboss.soa.esb.message.Message)
+ *
+ * return true if amount is less than 500.
+ *
+ */
+ public boolean executeDecision(Message message) {
+ try {
+ String xmlMsg = (String)message.getBody().get();
+ Node node = XMLUtils.getNode(xmlMsg);
+ NodeList nodeList = node.getChildNodes();
+ for (int i =0; i < nodeList.getLength(); i++) {
+ if ("amount".equals(nodeList.item(i).getNodeName())) {
+ String value = nodeList.item(i).getTextContent();
+ if (500 >= Integer.valueOf(value).intValue()) {
+ return true;
+ }
+ }
+ }
+ return false;
+ } catch (Exception e) {
+ return false;
+ }
+ }
+
+}
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/MemoryEPRStorage.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/MemoryEPRStorage.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/MemoryEPRStorage.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2008,
+ */
+package org.jboss.savara.examples.creditAgency;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.jboss.savara.jbossesb.EPRStore;
+import org.jboss.soa.esb.addressing.EPR;
+import org.jboss.soa.esb.message.Message;
+
+/**
+ * @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
+ *
+ */
+public class MemoryEPRStorage implements EPRStore {
+
+ private static final Map<String, EPR> storage = new HashMap<String, EPR>();
+
+ public EPR getEPRByRole(String roleName, Message message) {
+ return storage.get(roleName);
+ }
+
+ public void registerRole(String roleName, Message message) {
+ EPR epr = message.getHeader().getCall().getReplyTo();
+ storage.put(roleName, epr);
+ }
+
+}
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckInvalidMessageAction.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckInvalidMessageAction.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckInvalidMessageAction.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2008,
+ */
+package org.jboss.savara.examples.creditAgency;
+
+import org.apache.log4j.Logger;
+import org.jboss.savara.internal.jbossesb.utils.XMLUtils;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class SetCreditCheckInvalidMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger =
Logger.getLogger(SetCreditCheckInvalidMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetCreditCheckInvalidMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+ StringBuffer sbuffer = new StringBuffer();
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ sbuffer.append("<CreditCheckInvalid id=\"" + idValue
+"\">");
+
+ NodeList list = node.getChildNodes();
+ for (int i =0; i < list.getLength(); i++) {
+ if ("amount".equals(list.item(i).getNodeName())) {
+ sbuffer.append("<amount>" + list.item(i).getTextContent() +
"</amount>");
+ }
+ if ("account".equals(list.item(i).getNodeName())) {
+ sbuffer.append("<account>" +
list.item(i).getTextContent()+"</account>");
+ }
+ }
+
+ sbuffer.append("</CreditCheckInvalid>");
+
+ message.getBody().add(sbuffer.toString());
+
+ logger.info("Updated credit message: " + message.getBody().get());
+
+ return(message);
+ }
+
+}
+
+
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckResponseMessageAction.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckResponseMessageAction.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/creditAgency/SetCreditCheckResponseMessageAction.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2008,
+ */
+package org.jboss.savara.examples.creditAgency;
+
+import org.apache.log4j.Logger;
+import org.jboss.savara.internal.jbossesb.utils.XMLUtils;
+import org.jboss.soa.esb.actions.AbstractActionLifecycle;
+import org.jboss.soa.esb.helpers.ConfigTree;
+import org.jboss.soa.esb.message.Message;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+public class SetCreditCheckResponseMessageAction extends AbstractActionLifecycle {
+
+ private static Logger logger =
Logger.getLogger(SetCreditCheckResponseMessageAction.class);
+
+ private ConfigTree config;
+
+ public SetCreditCheckResponseMessageAction(ConfigTree config) {
+ this.config = config;
+ }
+
+ public Message process(Message message) throws Exception{
+ StringBuffer sbuffer = new StringBuffer();
+
+ Node node = XMLUtils.getNode((String)message.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ sbuffer.append("<CreditCheckOk id=\"" + idValue
+"\">");
+
+ NodeList list = node.getChildNodes();
+ for (int i =0; i < list.getLength(); i++) {
+ if ("amount".equals(list.item(i).getNodeName())) {
+ sbuffer.append("<amount>" + list.item(i).getTextContent() +
"</amount>");
+ }
+ if ("account".equals(list.item(i).getNodeName())) {
+ sbuffer.append("<account>" +
list.item(i).getTextContent()+"</account>");
+ }
+ }
+
+ sbuffer.append("</CreditCheckOk>");
+
+ message.getBody().add(sbuffer.toString());
+
+ logger.info("Updated credit message: "+message.getBody().get() +"'
by thread of " + Thread.currentThread().getName());
+
+ return(message);
+ }
+
+
+}
+
+
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditAgencyService.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditAgencyService.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditAgencyService.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,103 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2008,
+ */
+package org.jboss.savara.examples.wsdl;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+import org.jboss.savara.examples.xsd.PurchaseDetailsType;
+import org.jboss.savara.internal.jbossesb.utils.MessageUtil;
+import org.jboss.savara.internal.jbossesb.utils.XMLUtils;
+import org.jboss.soa.esb.client.ServiceInvoker;
+import org.jboss.soa.esb.message.Message;
+import org.jboss.soa.esb.message.format.MessageFactory;
+import org.jboss.soa.esb.message.format.MessageType;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+
+/**
+ * @author <a href="mailto:cyu@redhat.com">Jeff Yu</a>
+ *
+ */
+@WebService(name="creditAgencyPT",
targetNamespace="http://www.jboss.org/savara/examples/wsdl")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class CreditAgencyService {
+
+ @WebMethod
+ @WebResult(name = "CreditCheckOk", partName = "CreditCheckOk")
+ public PurchaseDetailsType checkCredit(@WebParam(name =
"CreditCheckRequest", partName = "CreditCheckRequest")
+ PurchaseDetailsType creditCheckRequest) throws CreditCheckInvalid {
+
+ Message message = getRequestMessage(creditCheckRequest);
+
+ try {
+ ServiceInvoker invoker = new
ServiceInvoker("org.pi4soa.purchase.purchasegoods",
"PurchaseGoodsProcess_CreditAgency");
+ Message response = invoker.deliverSync(message, 20000);
+
+ PurchaseDetailsType result = getConvertedResponse(response);
+
+ String messageType = MessageUtil.getMessageType(response.getBody().get());
+ if ("CreditCheckInvalid".equalsIgnoreCase(messageType)) {
+ throw new
CreditCheckInvalid("org.jboss.savara.examples.wsdl.CreditCheckFailed", result);
+ }
+ return result;
+ } catch (Exception e) {
+ throw new
CreditCheckInvalid("org.jboss.savara.examples.wsdl.CreditCheckFailed",
creditCheckRequest);
+ }
+
+ }
+
+ private PurchaseDetailsType getConvertedResponse(Message response) throws Exception {
+ Node node = XMLUtils.getNode((String)response.getBody().get());
+ String idValue = node.getAttributes().getNamedItem("id").getNodeValue();
+ String amountNo = null;
+ String accountNo = null;
+ NodeList list = node.getChildNodes();
+ for (int i =0; i < list.getLength(); i++) {
+ if ("amount".equals(list.item(i).getNodeName())) {
+ amountNo = list.item(i).getTextContent();
+ }
+ if ("account".equals(list.item(i).getNodeName())) {
+ accountNo = list.item(i).getTextContent();
+ }
+ }
+
+ PurchaseDetailsType result = new PurchaseDetailsType();
+ result.setId(Integer.valueOf(idValue));
+ result.setAccount(Integer.valueOf(accountNo));
+ result.setAmount(Integer.valueOf(amountNo));
+ return result;
+ }
+
+ private Message getRequestMessage(PurchaseDetailsType creditCheckRequest) {
+ Message message = MessageFactory.getInstance().getMessage(MessageType.JBOSS_XML);
+ StringBuffer sbuffer = new StringBuffer();
+ sbuffer.append("<CreditCheckRequest id=\"" +
creditCheckRequest.getId() +"\">");
+ sbuffer.append("<account>" + creditCheckRequest.getAccount() +
"</account>");
+ sbuffer.append("<amount>" + creditCheckRequest.getAmount() +
"</amount>");
+ sbuffer.append("</CreditCheckRequest>");
+ message.getBody().add(sbuffer.toString());
+ return message;
+ }
+}
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditCheckInvalid.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditCheckInvalid.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/wsdl/CreditCheckInvalid.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,56 @@
+
+package org.jboss.savara.examples.wsdl;
+
+import javax.xml.ws.WebFault;
+
+import org.jboss.savara.examples.xsd.PurchaseDetailsType;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.7-hudson-48-
+ * Generated source version: 2.1
+ *
+ */
+@WebFault(name = "CreditCheckInvalid", targetNamespace =
"http://www.jboss.org/savara/examples/xsd")
+public class CreditCheckInvalid
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private PurchaseDetailsType faultInfo;
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ */
+ public CreditCheckInvalid(String message, PurchaseDetailsType faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param faultInfo
+ * @param message
+ * @param cause
+ */
+ public CreditCheckInvalid(String message, PurchaseDetailsType faultInfo, Throwable
cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: org.jboss.overlord.examples.xsd.PurchaseDetailsType
+ */
+ public PurchaseDetailsType getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/ObjectFactory.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/ObjectFactory.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/ObjectFactory.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,53 @@
+
+package org.jboss.savara.examples.xsd;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.overlord.examples.xsd package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _CreditCheckInvalid_QNAME = new
QName("http://www.jboss.org/savara/examples/xsd",
"CreditCheckInvalid");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: org.jboss.savara.examples.xsd
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link PurchaseDetailsType }
+ *
+ */
+ public PurchaseDetailsType createPurchaseDetailsType() {
+ return new PurchaseDetailsType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PurchaseDetailsType
}{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.jboss.org/savara/examples/xsd",
name = "CreditCheckInvalid")
+ public JAXBElement<PurchaseDetailsType>
createCreditCheckInvalid(PurchaseDetailsType value) {
+ return new JAXBElement<PurchaseDetailsType>(_CreditCheckInvalid_QNAME,
PurchaseDetailsType.class, null, value);
+ }
+
+}
\ No newline at end of file
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/PurchaseDetailsType.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/PurchaseDetailsType.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/PurchaseDetailsType.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,99 @@
+
+package org.jboss.savara.examples.xsd;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for PurchaseDetailsType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within
this class.
+ *
+ * <pre>
+ * <complexType name="PurchaseDetailsType">
+ * <complexContent>
+ * <restriction
base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="account"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="amount"
type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * <attribute name="id"
type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "PurchaseDetailsType", propOrder = {
+ "account",
+ "amount"
+})
+public class PurchaseDetailsType {
+
+ protected int account;
+ protected int amount;
+ @XmlAttribute
+ protected Integer id;
+
+ /**
+ * Gets the value of the account property.
+ *
+ */
+ public int getAccount() {
+ return account;
+ }
+
+ /**
+ * Sets the value of the account property.
+ *
+ */
+ public void setAccount(int value) {
+ this.account = value;
+ }
+
+ /**
+ * Gets the value of the amount property.
+ *
+ */
+ public int getAmount() {
+ return amount;
+ }
+
+ /**
+ * Sets the value of the amount property.
+ *
+ */
+ public void setAmount(int value) {
+ this.amount = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setId(Integer value) {
+ this.id = value;
+ }
+
+}
\ No newline at end of file
Added:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/package-info.java
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/package-info.java
(rev 0)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/java/org/jboss/savara/examples/xsd/package-info.java 2009-08-21
06:29:19 UTC (rev 791)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace =
"http://www.jboss.org/savara/examples/xsd", elementFormDefault =
javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.savara.examples.xsd;
\ No newline at end of file
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml 2009-08-21
03:20:54 UTC (rev 790)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/deployment.xml 2009-08-21
06:29:19 UTC (rev 791)
@@ -1,9 +1,10 @@
<jbossesb-deployment>
- <depends>jboss.esb:deployment=savara-runtime.esb</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency1</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency2</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency3</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=ws-esb-creditAgency</depends>
-
<depends>jboss.esb.gen.destination:service=Queue,name=ws-esb-creditAgency_reply</depends>
+ <depends>jboss.esb:deployment=savara-runtime-jbossesb.esb</depends>
+ <depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__3</depends>
+ <depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__2</depends>
+ <depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__1</depends>
+ <depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency</depends>
+
<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency_reply</depends>
+
<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__ws</depends>
+
<depends>org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__ws_reply</depends>
</jbossesb-deployment>
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml 2009-08-21
03:20:54 UTC (rev 790)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/META-INF/jboss-esb.xml 2009-08-21
06:29:19 UTC (rev 791)
@@ -2,19 +2,19 @@
<providers>
<jms-provider connection-factory="ConnectionFactory"
jndi-URL="localhost"
jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
name="JBossMQ">
<jms-bus busid="busId1">
- <jms-message-filter
dest-name="queue/esb-stateless-creditAgency" dest-type="QUEUE"/>
+ <jms-message-filter
dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency"
dest-type="QUEUE"/>
</jms-bus>
<jms-bus busid="busId2">
- <jms-message-filter
dest-name="queue/esb-stateless-creditAgency1" dest-type="QUEUE"/>
+ <jms-message-filter
dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__1"
dest-type="QUEUE"/>
</jms-bus>
<jms-bus busid="busId3">
- <jms-message-filter
dest-name="queue/esb-stateless-creditAgency2" dest-type="QUEUE"/>
+ <jms-message-filter
dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__2"
dest-type="QUEUE"/>
</jms-bus>
<jms-bus busid="busId4">
- <jms-message-filter
dest-name="queue/esb-stateless-creditAgency3" dest-type="QUEUE"/>
+ <jms-message-filter
dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__3"
dest-type="QUEUE"/>
</jms-bus>
<jms-bus busid="ws-esb-busId">
- <jms-message-filter dest-name="queue/ws-esb-creditAgency"
dest-type="QUEUE"/>
+ <jms-message-filter
dest-name="queue/org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__ws"
dest-type="QUEUE"/>
</jms-bus>
</jms-provider>
<jbr-provider name="JBR-Http" protocol="http"
host="localhost">
@@ -34,50 +34,50 @@
</action>
</actions>
</service>
-
- <service category="org.pi4soa.purchase.purchasegoods"
name="PurchaseGoodsProcess_CreditAgency" description="">
+
+ <service category="org.jboss.savara.examples.purchasegoods"
description="" name="PurchaseGoodsProcess_CreditAgency">
<listeners>
- <jms-listener busidref="busId1" maxThreads="1"
name="esb-stateless-creditAgency"/>
+ <jms-listener busidref="busId1" maxThreads="1"
name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_CreditAgency"/>
</listeners>
- <actions mep="OneWay">
- <action name="c1" process="process"
class="org.jboss.savara.jbossesb.actions.SwitchAction">
- <property name="serviceDescriptionName"
value="{org.pi4soa.purchase.purchasegoods}PurchaseGoodsProcess-CreditAgency"/>
- <property name="conversationType"
value="overlord.cdl.samples.Common@CreditAgency"/>
+ <actions>
+ <action
class="org.jboss.soa.overlord.jbossesb.actions.stateless.SwitchAction"
name="PurchaseGoodsProcess_CreditAgency_action_1"
process="process">
+ <property name="serviceDescriptionName"
value="{org.jboss.savara.examples.purchasegoods}PurchaseGoodsProcess-CreditAgency"/>
+ <property name="conversationType"
value="savara.samples.Common@CreditAgency"/>
<property name="paths">
- <case
service-category="org.pi4soa.purchase.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__1">
+ <case
service-category="org.jboss.savara.examples.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__1">
<message type="CreditCheckRequest"/>
</case>
</property>
</action>
</actions>
</service>
- <service category="org.pi4soa.purchase.purchasegoods"
name="PurchaseGoodsProcess_CreditAgency__1" description="">
+ <service category="org.jboss.savara.examples.purchasegoods"
description="" name="PurchaseGoodsProcess_CreditAgency__1">
<listeners>
- <jms-listener busidref="busId2" maxThreads="1"
name="esb-stateless-creditAgency1"/>
+ <jms-listener busidref="busId2" maxThreads="1"
name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_CreditAgency__1"/>
</listeners>
- <actions mep="OneWay">
- <action name="c2" process="process"
class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction">
+ <actions>
+ <action
class="org.jboss.savara.jbossesb.actions.ReceiveMessageAction"
name="PurchaseGoodsProcess_CreditAgency__1_action_1"
process="process">
<property name="operation"
value="checkCredit"/>
<property name="messageType"
value="CreditCheckRequest"/>
<property name="clientRole" value="Store"
/>
<property name="eprStore"
value="org.jboss.overlord.examples.creditAgency.MemoryEPRStorage" />
</action>
- <action name="c3" process="process"
class="org.jboss.savara.jbossesb.actions.IfAction">
+ <action class="org.jboss.savara.jbossesb.actions.IfAction"
name="PurchaseGoodsProcess_CreditAgency__1_action_2"
process="process">
<property name="paths">
- <if
service-category="org.pi4soa.purchase.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__2"
decision-class="org.jboss.overlord.examples.creditAgency.CreditAgencyDecision"/>
- <else
service-category="org.pi4soa.purchase.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__3"/>
+ <if
service-category="org.jboss.savara.examples.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__2"
decision-class="org.jboss.overlord.examples.creditAgency.CreditAgencyDecision"/>
+ <elseif
service-category="org.jboss.savara.examples.purchasegoods"
service-name="PurchaseGoodsProcess_CreditAgency__3"/>
</property>
</action>
</actions>
</service>
- <service category="org.pi4soa.purchase.purchasegoods"
name="PurchaseGoodsProcess_CreditAgency__2" description="">
+ <service category="org.jboss.savara.examples.purchasegoods"
description="" name="PurchaseGoodsProcess_CreditAgency__2">
<listeners>
- <jms-listener busidref="busId3" maxThreads="1"
name="esb-stateless-creditAgency2"/>
+ <jms-listener busidref="busId3" maxThreads="1"
name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_CreditAgency__2"/>
</listeners>
- <actions mep="OneWay">
+ <actions>
<action name="custom-1" process="process"
class="org.jboss.overlord.examples.creditAgency.SetCreditCheckResponseMessageAction">
</action>
- <action name="c4" process="process"
class="org.jboss.savara.jbossesb.actions.SendMessageAction">
+ <action
class="org.jboss.savara.jbossesb.actions.SendMessageAction"
name="PurchaseGoodsProcess_CreditAgency__2_action_1"
process="process">
<property name="operation"
value="checkCredit"/>
<property name="messageType"
value="CreditCheckOk"/>
<property name="clientRole"
value="Store"/>
@@ -85,14 +85,14 @@
</action>
</actions>
</service>
- <service category="org.pi4soa.purchase.purchasegoods"
name="PurchaseGoodsProcess_CreditAgency__3" description="">
+ <service category="org.jboss.savara.examples.purchasegoods"
description="" name="PurchaseGoodsProcess_CreditAgency__3">
<listeners>
- <jms-listener busidref="busId4" maxThreads="1"
name="esb-stateless-creditAgency3"/>
+ <jms-listener busidref="busId4" maxThreads="1"
name="org.jboss.savara.examples.purchasegoods-PurchaseGoodsProcess_CreditAgency__3"/>
</listeners>
- <actions mep="OneWay">
+ <actions>
<action name="custom-2" process="process"
class="org.jboss.overlord.examples.creditAgency.SetCreditCheckInvalidMessageAction">
</action>
- <action name="c5" process="process"
class="org.jboss.savara.jbossesb.actions.SendMessageAction">
+ <action
class="org.jboss.savara.jbossesb.actions.SendMessageAction"
name="PurchaseGoodsProcess_CreditAgency__3_action_1"
process="process">
<property name="operation"
value="checkCredit"/>
<property name="messageType"
value="CreditCheckInvalid"/>
<property name="clientRole"
value="Store"/>
@@ -100,5 +100,6 @@
</action>
</actions>
</service>
+
</services>
</jbossesb>
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbm-queue-service.xml
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbm-queue-service.xml 2009-08-21
03:20:54 UTC (rev 790)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbm-queue-service.xml 2009-08-21
06:29:19 UTC (rev 791)
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__3"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency_reply"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__2"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency1"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__1"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency2"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency3"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency_reply"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.gen.destination:service=Queue,name=ws-esb-creditAgency"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__ws"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
<mbean code="org.jboss.jms.server.destination.QueueService"
-
name="jboss.esb.gen.destination:service=Queue,name=ws-esb-creditAgency_reply"
+
name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__ws_reply"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
Modified:
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbmq-queue-service.xml
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbmq-queue-service.xml 2009-08-21
03:20:54 UTC (rev 790)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/resources/jbmq-queue-service.xml 2009-08-21
06:29:19 UTC (rev 791)
@@ -1,33 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?>
<server>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency1">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency2">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
-</mbean>
-<mbean code="org.jboss.mq.server.jmx.Queue"
-
name="jboss.esb.gen.destination:service=Queue,name=esb-stateless-creditAgency3">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
-</mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__3">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__2">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency__1">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="org.jboss.savara.examples.purchasegoods.destination:service=Queue,name=org_jboss_savara_examples_purchasegoods_PurchaseGoodsProcess_CreditAgency">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
</server>
Modified: cdl/trunk/samples/jbossesb/common/creditAgency/src/main/webapp/WEB-INF/web.xml
===================================================================
---
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/webapp/WEB-INF/web.xml 2009-08-21
03:20:54 UTC (rev 790)
+++
cdl/trunk/samples/jbossesb/common/creditAgency/src/main/webapp/WEB-INF/web.xml 2009-08-21
06:29:19 UTC (rev 791)
@@ -7,7 +7,7 @@
<servlet>
<servlet-name>CreditAgencyService</servlet-name>
-
<servlet-class>org.jboss.overlord.examples.wsdl.CreditAgencyService</servlet-class>
+
<servlet-class>org.jboss.savara.examples.wsdl.CreditAgencyService</servlet-class>
</servlet>
<servlet-mapping>