[jboss-svn-commits] JBL Code SVN: r25467 - in labs/jbossesb/trunk/product/services/soapui-client/src: test/java/org/jboss/soa/esb/services/soapui and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Mar 1 13:18:47 EST 2009
Author: tfennelly
Date: 2009-03-01 13:18:47 -0500 (Sun, 01 Mar 2009)
New Revision: 25467
Added:
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451.wsdl
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451_SoapUIClientServiceMBeanUnitTest.java
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/LineItem.java
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/Order.java
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/ProcessOrderRequest.java
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_01.xml
labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_02.xml
Modified:
labs/jbossesb/trunk/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
Log:
https://jira.jboss.org/jira/browse/JBESB-2451
Modified: labs/jbossesb/trunk/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java 2009-02-28 16:55:50 UTC (rev 25466)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java 2009-03-01 18:18:47 UTC (rev 25467)
@@ -525,10 +525,7 @@
} else if(collectionSize == 1) {
// It's a collection, but no need to clone coz we
// already have an entry for it...
- if(clonePoint == element) {
- // If the element itself is the clone point, add the OGNL expression attribute...
- element.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + OGNLUtils.OGNL_ATTRIB, ognl + "[0]");
- }
+ clonePoint.setAttributeNS(OGNLUtils.JBOSSESB_SOAP_NS, OGNLUtils.JBOSSESB_SOAP_NS_PREFIX + OGNLUtils.OGNL_ATTRIB, ognl + "[0]");
} else {
// It's a collection and we need to do some cloning
if(clonePoint != null) {
Added: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451.wsdl
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451.wsdl 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,71 @@
+<definitions name='OrderProcessorWSService' targetNamespace='http://webservice_consumer2/orderProcessor'
+ xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+ xmlns:tns='http://webservice_consumer2/orderProcessor' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <xs:schema targetNamespace='http://webservice_consumer2/orderProcessor' version='1.0'
+ xmlns:tns='http://webservice_consumer2/orderProcessor' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:complexType name='order'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='id' type='xs:long'/>
+ <xs:element maxOccurs='unbounded' minOccurs='0' name='lineItems' nillable='true'
+ type='tns:lineItem'/>
+ <xs:element minOccurs='0' name='shipTo' type='xs:string'/>
+ </xs:sequence>
+
+ </xs:complexType>
+ <xs:complexType name='lineItem'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='id' type='xs:long'/>
+ <xs:element minOccurs='0' name='name' type='xs:string'/>
+ <xs:element minOccurs='0' name='price' type='xs:float'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='orderStatus'>
+
+ <xs:sequence>
+ <xs:element minOccurs='0' name='comment' type='xs:string'/>
+ <xs:element minOccurs='0' name='id' type='xs:long'/>
+ <xs:element name='returnCode' type='xs:int'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType final='#all' name='orderArray'>
+ <xs:sequence>
+ <xs:element maxOccurs='unbounded' minOccurs='0' name='item' nillable='true' type='tns:order'/>
+
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </types>
+ <message name='OrderProcessor_processOrder'>
+ <part name='order' type='tns:orderArray'></part>
+ </message>
+ <message name='OrderProcessor_processOrderResponse'>
+ <part name='return' type='tns:orderStatus'></part>
+
+ </message>
+ <portType name='OrderProcessor'>
+ <operation name='processOrder' parameterOrder='order'>
+ <input message='tns:OrderProcessor_processOrder'></input>
+ <output message='tns:OrderProcessor_processOrderResponse'></output>
+ </operation>
+ </portType>
+ <binding name='OrderProcessorBinding' type='tns:OrderProcessor'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+
+ <operation name='processOrder'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://webservice_consumer2/orderProcessor' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://webservice_consumer2/orderProcessor' use='literal'/>
+ </output>
+ </operation>
+
+ </binding>
+ <service name='OrderProcessorWSService'>
+ <port binding='tns:OrderProcessorBinding' name='OrderProcessorPort'>
+ <soap:address location='http://127.0.0.1:8080/Quickstart_webservice_consumer2/OrderProcessorWS'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Copied: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451_SoapUIClientServiceMBeanUnitTest.java (from rev 25466, labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_1713_SoapUIClientServiceMBeanUnitTest.java)
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451_SoapUIClientServiceMBeanUnitTest.java (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451_SoapUIClientServiceMBeanUnitTest.java 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,184 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, 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) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.StringWriter;
+import java.util.*;
+
+import javax.xml.transform.stream.StreamResult;
+
+import junit.framework.TestCase;
+
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.http.HttpClientFactory;
+import org.jboss.soa.esb.dom.YADOMUtil;
+import org.w3c.dom.Document;
+import org.xml.sax.SAXException;
+
+public class JBESB_2451_SoapUIClientServiceMBeanUnitTest extends TestCase {
+
+ private static final String WSDL_LOCATAION = "src/test/java/org/jboss/soa/esb/services/soapui";
+ private Properties properties;
+
+ protected void setUp() throws Exception {
+ properties = new Properties();
+ }
+
+ public void test_single() throws IOException, SAXException, ConfigurationException {
+ HashMap requestMap = new HashMap();
+ Order[] orders = new Order[1];
+
+ Order order = new Order();
+ order.setId((long)1);
+ order.setShipTo("Hokkaido");
+
+ LineItem lineItem1 = new LineItem();
+ lineItem1.setId((long)1);
+ lineItem1.setName("aname");
+ lineItem1.setPrice((float)10.00);
+
+ LineItem lineItem2 = new LineItem();
+ lineItem2.setId((long)2);
+ lineItem2.setName("aname2");
+ lineItem2.setPrice((float)20.00);
+
+ ArrayList lineItems = new ArrayList();
+ lineItems.add(lineItem1);
+ lineItems.add(lineItem2);
+
+ order.setLineItems(lineItems);
+
+ orders[0] = order;
+
+ ProcessOrderRequest requestObject = new ProcessOrderRequest();
+ requestObject.setOrder(orders);
+ requestMap.put("processOrder", requestObject);
+
+ test(requestMap, "expected_JBESB_2451_01.xml");
+ }
+
+ public void test_multiple() throws IOException, SAXException, ConfigurationException {
+ HashMap requestMap = new HashMap();
+ Order[] orders = new Order[2];
+
+ Order order = new Order();
+ order.setId((long)1);
+ order.setShipTo("Hokkaido");
+
+ LineItem lineItem1 = new LineItem();
+ lineItem1.setId((long)1);
+ lineItem1.setName("aname");
+ lineItem1.setPrice((float)10.00);
+
+ LineItem lineItem2 = new LineItem();
+ lineItem2.setId((long)2);
+ lineItem2.setName("aname2");
+ lineItem2.setPrice((float)20.00);
+
+ ArrayList lineItems = new ArrayList();
+ lineItems.add(lineItem1);
+ lineItems.add(lineItem2);
+
+ order.setLineItems(lineItems);
+
+ Order order2 = new Order();
+ order2.setId((long)2);
+ order2.setShipTo("Okinawa");
+
+ LineItem lineItem3 = new LineItem();
+ lineItem3.setId((long)3);
+ lineItem3.setName("aname3");
+ lineItem3.setPrice((float)30.00);
+
+ LineItem lineItem4 = new LineItem();
+ lineItem4.setId((long)4);
+ lineItem4.setName("aname4");
+ lineItem4.setPrice((float)40.00);
+
+ ArrayList lineItems2 = new ArrayList();
+ lineItems2.add(lineItem3);
+ lineItems2.add(lineItem4);
+
+ order2.setLineItems(lineItems2);
+
+ orders[0] = order;
+ orders[1] = order2;
+
+ ProcessOrderRequest requestObject = new ProcessOrderRequest();
+ requestObject.setOrder(orders);
+ requestMap.put("processOrder", requestObject);
+
+ test(requestMap, "expected_JBESB_2451_02.xml");
+ }
+
+ public void test(Map params, String expected) throws IOException, SAXException, ConfigurationException {
+ File wsdlFile = new File(WSDL_LOCATAION + "/JBESB_2451.wsdl");
+ SoapUIClientService mbean = new SoapUIClientService();
+
+ properties.setProperty(HttpClientFactory.TARGET_HOST_URL, wsdlFile.toURI().toString());
+
+ params.put("dumpSOAP", true);
+
+ String message = mbean.buildRequest(wsdlFile.toURI().toString(), "processOrder", params, properties, null, null);
+ assertTrue("Generated SOAP message not as expected. See " + expected + ". Generated message: \n" + message, compareCharStreams(getClass().getResourceAsStream(expected), new ByteArrayInputStream(message.getBytes())));
+ }
+
+ // Lifted from milyn commons
+ public static boolean compareCharStreams(InputStream s1, InputStream s2) {
+ try {
+ final String xml1 = trimLines(s1).toString() ;
+ final String xml2 = trimLines(s2).toString() ;
+
+ final Document doc1 = YADOMUtil.parse(xml1) ;
+ final Document doc2 = YADOMUtil.parse(xml2) ;
+
+ final StringWriter writer1 = new StringWriter() ;
+ final StringWriter writer2 = new StringWriter() ;
+ YADOMUtil.serialize(doc1, new StreamResult(writer1)) ;
+ YADOMUtil.serialize(doc2, new StreamResult(writer2)) ;
+ return (writer1.toString().equals(writer2.toString())) ;
+ } catch (IOException e) {
+ // fail the comparison
+ } catch (SAXException e) {
+ // fail the comparison
+ } catch (ConfigurationException e) {
+ // fail the comparison
+ }
+
+ return false;
+ }
+ public static StringBuffer trimLines(InputStream charStream) throws IOException {
+ StringBuffer stringBuf = new StringBuffer();
+ BufferedReader reader = new BufferedReader(new InputStreamReader(charStream));
+ String line;
+
+ while((line = reader.readLine()) != null) {
+ stringBuf.append(line.trim());
+ }
+
+ return stringBuf;
+ }
+}
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/JBESB_2451_SoapUIClientServiceMBeanUnitTest.java
___________________________________________________________________
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Copied: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/LineItem.java (from rev 25466, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer2/LineItem.java)
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/LineItem.java (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/LineItem.java 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,47 @@
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.Serializable;
+
+public class LineItem implements Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 0L;
+ private Long id;
+ private Float price;
+ private String name;
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Float getPrice()
+ {
+ return price;
+ }
+ public void setPrice(Float price)
+ {
+ this.price = price;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String toString()
+ {
+ return "Line Item ID= " + this.id + "\nPrice=" + this.price + "\nShip To=" + this.name;
+ }
+
+}
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/LineItem.java
___________________________________________________________________
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Copied: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/Order.java (from rev 25466, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer2/Order.java)
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/Order.java (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/Order.java 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,79 @@
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+
+/**
+ * Order is the serialized object that this example is based around. It contains
+ * a product name, the quantity of that product ordered, and the price per unit
+ * of the product. It is serializable so that it can be bundled up in a message,
+ * and the JSPs
+ *
+ * @author <a href="mailto:tcunning at redhat.com">tcunning at redhat.com</a>
+ * @since Version 4.2
+ */
+public class Order implements Serializable {
+ private static final long serialVersionUID = -4620754343715487457L;
+ private Long id;
+ private ArrayList<LineItem> lineItems;
+ private String shipTo;
+
+ public ArrayList<LineItem> getLineItems() {
+ return lineItems;
+ }
+
+ public void setLineItems(ArrayList<LineItem> lineItems) {
+ this.lineItems = lineItems;
+ }
+
+ public float getTotalPrice() {
+ float totalPrice = 0;
+ {
+ if (lineItems != null) {
+ for (LineItem item : lineItems) {
+ if (item.getPrice() != null)
+ totalPrice += item.getPrice();
+ }
+ }
+ }
+ return totalPrice;
+ }
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getShipTo() {
+ return shipTo;
+ }
+
+ public void setShipTo(String shipTo) {
+ this.shipTo = shipTo;
+ }
+
+ public String toString() {
+ StringBuffer stringBuffer = new StringBuffer();
+
+ stringBuffer.append("Order ID= " + this.id + "\nTotal Price="
+ + getTotalPrice() + "\nShip to=" + this.shipTo
+ + "\nLine Items:\n");
+ if (lineItems != null) {
+ for (LineItem lineItem : lineItems) {
+ stringBuffer.append("\t ID: " + lineItem.getId() + "\n");
+ stringBuffer.append("\t Name: " + lineItem.getName() + "\n");
+ stringBuffer.append("\t Price: " + lineItem.getPrice() + "\n");
+ }
+ }
+ else
+ {
+ stringBuffer.append("\t There are no Line Items!\n");
+ }
+
+ return stringBuffer.toString();
+ }
+
+}
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/Order.java
___________________________________________________________________
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Copied: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/ProcessOrderRequest.java (from rev 25466, labs/jbossesb/trunk/product/samples/quickstarts/webservice_consumer2/src/org/jboss/soa/esb/samples/quickstart/webservice_consumer2/ProcessOrderRequest.java)
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/ProcessOrderRequest.java (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/ProcessOrderRequest.java 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, 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) 2005-2006, JBoss Inc.
+ */
+package org.jboss.soa.esb.services.soapui;
+
+import java.io.Serializable;
+
+/**
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+public class ProcessOrderRequest implements Serializable {
+
+ private Order[] order;
+
+ public Order[] getOrder() {
+ return order;
+ }
+
+ public void setOrder(Order[] order) {
+ this.order = order;
+ }
+}
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/ProcessOrderRequest.java
___________________________________________________________________
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Copied: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_01.xml (from rev 25466, labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_1713_01.xml)
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_01.xml (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_01.xml 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,32 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://webservice_consumer2/orderProcessor">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <ord:processOrder>
+ <order>
+ <!--Zero or more repetitions: - cloned-->
+ <item>
+ <!--Optional:-->
+ <id>1</id>
+ <!--Zero or more repetitions: - cloned-->
+ <lineItems>
+ <!--Optional:-->
+ <id>1</id>
+ <!--Optional:-->
+ <name>aname</name>
+ <!--Optional:-->
+ <price>10.0</price>
+ </lineItems><lineItems>
+ <!--Optional:-->
+ <id>2</id>
+ <!--Optional:-->
+ <name>aname2</name>
+ <!--Optional:-->
+ <price>20.0</price>
+ </lineItems>
+ <!--Optional:-->
+ <shipTo>Hokkaido</shipTo>
+ </item>
+ </order>
+ </ord:processOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_01.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_02.xml
===================================================================
--- labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_02.xml (rev 0)
+++ labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_02.xml 2009-03-01 18:18:47 UTC (rev 25467)
@@ -0,0 +1,53 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://webservice_consumer2/orderProcessor">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <ord:processOrder>
+ <order>
+ <!--Zero or more repetitions: - cloned-->
+ <item>
+ <!--Optional:-->
+ <id>1</id>
+ <!--Zero or more repetitions: - cloned-->
+ <lineItems>
+ <!--Optional:-->
+ <id>1</id>
+ <!--Optional:-->
+ <name>aname</name>
+ <!--Optional:-->
+ <price>10.0</price>
+ </lineItems><lineItems>
+ <!--Optional:-->
+ <id>2</id>
+ <!--Optional:-->
+ <name>aname2</name>
+ <!--Optional:-->
+ <price>20.0</price>
+ </lineItems>
+ <!--Optional:-->
+ <shipTo>Hokkaido</shipTo>
+ </item><item>
+ <!--Optional:-->
+ <id>2</id>
+ <!--Zero or more repetitions: - cloned-->
+ <lineItems>
+ <!--Optional:-->
+ <id>3</id>
+ <!--Optional:-->
+ <name>aname3</name>
+ <!--Optional:-->
+ <price>30.0</price>
+ </lineItems><lineItems>
+ <!--Optional:-->
+ <id>4</id>
+ <!--Optional:-->
+ <name>aname4</name>
+ <!--Optional:-->
+ <price>40.0</price>
+ </lineItems>
+ <!--Optional:-->
+ <shipTo>Okinawa</shipTo>
+ </item>
+ </order>
+ </ord:processOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/services/soapui-client/src/test/java/org/jboss/soa/esb/services/soapui/expected_JBESB_2451_02.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
More information about the jboss-svn-commits
mailing list