cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1080240 - in /cxf/trunk: parent/ rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/ rt/databinding/jibx/src/main/resources/META-INF/ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/ systests/databinding/ systest...
Date Thu, 10 Mar 2011 14:54:37 GMT
Author: dkulp
Date: Thu Mar 10 14:54:37 2011
New Revision: 1080240

URL: http://svn.apache.org/viewvc?rev=1080240&view=rev
Log:
Add a system tests for the JIBX databinding to show it actually works
and fix issues discovered while doing so.

Added:
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java   (with props)
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java   (with props)
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java   (with props)
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java   (with props)
    cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml   (with props)
    cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/
    cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl   (with props)
    cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl   (with props)
Modified:
    cxf/trunk/parent/pom.xml
    cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingDataBinding.java
    cxf/trunk/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java
    cxf/trunk/systests/databinding/pom.xml

Modified: cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=1080240&r1=1080239&r2=1080240&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Thu Mar 10 14:54:37 2011
@@ -82,6 +82,7 @@
         <cxf.wsdl4j.version>1.6.2</cxf.wsdl4j.version>
         <cxf.xmlbeans.version>2.4.0</cxf.xmlbeans.version>
         <cxf.xmlschema.version>2.0</cxf.xmlschema.version>
+        <cxf.jibx.version>1.2.3</cxf.jibx.version>
         <cxf.checkstyle.extension />
 
         <cxf.spring.validation.mode>VALIDATION_AUTO</cxf.spring.validation.mode>
@@ -1077,22 +1078,22 @@
 	    <dependency>
 	        <groupId>org.jibx</groupId>
             <artifactId>jibx-bind</artifactId>
-            <version>1.2.3</version>
+            <version>${cxf.jibx.version}</version>
 	    </dependency>
 	    <dependency>
             <groupId>org.jibx</groupId>
             <artifactId>jibx-run</artifactId>
-            <version>1.2.3</version>
+            <version>${cxf.jibx.version}</version>
 	    </dependency>
 	    <dependency>
             <groupId>org.jibx</groupId>
             <artifactId>jibx-schema</artifactId>
-            <version>1.2.3</version>
+            <version>${cxf.jibx.version}</version>
 	    </dependency>
 	    <dependency>
             <groupId>org.jibx</groupId>
             <artifactId>jibx-tools</artifactId>
-            <version>1.2.3</version>
+            <version>${cxf.jibx.version}</version>
 	    </dependency>
             <dependency>
                 <groupId>xml-resolver</groupId>

Modified: cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingDataBinding.java?rev=1080240&r1=1080239&r2=1080240&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingDataBinding.java (original)
+++ cxf/trunk/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingDataBinding.java Thu Mar 10 14:54:37 2011
@@ -47,6 +47,7 @@ import org.apache.cxf.tools.common.ToolC
 import org.apache.cxf.tools.common.ToolException;
 import org.apache.cxf.tools.common.model.DefaultValueWriter;
 import org.apache.cxf.tools.util.ClassCollector;
+import org.apache.cxf.tools.util.URIParserUtil;
 import org.apache.cxf.tools.wsdlto.core.DataBindingProfile;
 import org.jibx.binding.Compile;
 import org.jibx.binding.Utility;
@@ -92,7 +93,7 @@ public class JibxToolingDataBinding impl
             codegen.setProblemHandler(handler);
 
             // Setting the source (or the output) directory
-            String sourcePath = (String)context.get(ToolConstants.CFG_SOURCEDIR);
+            String sourcePath = (String)context.get(ToolConstants.CFG_OUTPUTDIR);
             if (sourcePath == null) {
                 sourcePath = (new File(".")).getAbsolutePath();
             }
@@ -101,6 +102,17 @@ public class JibxToolingDataBinding impl
                 generatePath.mkdir();
             }
             codegen.setGeneratePath(generatePath);
+            String wsdlUrl = URIParserUtil.getAbsoluteURI((String)context.get(ToolConstants.CFG_WSDLURL));
+            if (wsdlUrl.contains("/")) {
+                wsdlUrl = wsdlUrl.substring(wsdlUrl.lastIndexOf('/'));
+            }
+            if (wsdlUrl.toLowerCase().endsWith(".wsdl")) {
+                wsdlUrl = wsdlUrl.substring(0, wsdlUrl.length() - 5);
+            }
+            wsdlUrl += ".xml";
+            File jibxDir = new File(generatePath, "jibx_bindings/");
+            jibxDir.mkdirs();
+            codegen.setBindingName("jibx_bindings/" +  wsdlUrl);
 
             String classPath = (String)context.get(ToolConstants.CFG_CLASSDIR);
             if (classPath == null) {
@@ -168,11 +180,15 @@ public class JibxToolingDataBinding impl
     }
 
     public void initialize(ToolContext context) throws ToolException {
+        context.put(ToolConstants.RUNTIME_DATABINDING_CLASS,
+                    "org.apache.cxf.jibx.JibxDataBinding.class");
+        
         String wsdlUrl = (String)context.get(ToolConstants.CFG_WSDLURL);
         initializeJiBXCodeGenerator(wsdlUrl);
     }
 
     private void initializeJiBXCodeGenerator(String wsdlUrl) {
+
         try {
             loadWsdl(wsdlUrl, this.schemaMap, this.resolvers);
         } catch (WSDLException e) {
@@ -213,14 +229,21 @@ public class JibxToolingDataBinding impl
     }
 
     @SuppressWarnings("unchecked")
-    private static SchemasetCustom defaultSchemasetCustom(Map<String, Element> schemaMap) {
+    private SchemasetCustom defaultSchemasetCustom(Map<String, Element> smap) {
         SchemasetCustom customRoot = new SchemasetCustom((SchemasetCustom)null);
-        Set<String> schemaIds = schemaMap.keySet();
+        Set<String> schemaIds = smap.keySet();
         for (String schemaId : schemaIds) {
             SchemaCustom schemaCustom = new SchemaCustom(customRoot);
             schemaCustom.setName(schemaId);
+            schemaCustom.setForceTypes(Boolean.TRUE);
             customRoot.getChildren().add(schemaCustom);
         }
+        for (ISchemaResolver r : resolvers) {
+            SchemaCustom schemaCustom = new SchemaCustom(customRoot);
+            schemaCustom.setName(r.getName());
+            schemaCustom.setForceTypes(Boolean.TRUE);
+            customRoot.getChildren().add(schemaCustom);                    
+        }
         return customRoot;
     }
 
@@ -229,7 +252,6 @@ public class JibxToolingDataBinding impl
         for (Object child : children) {
             SchemaCustom schemaCustom = (SchemaCustom)child;
             schemaCustom.setForceTypes(Boolean.TRUE);
-            // TODO setForceType recursively ??
         }
     }
 
@@ -346,6 +368,7 @@ public class JibxToolingDataBinding impl
          */
         public void generate() throws JiBXException, IOException {
             CodeGen codegen = new CodeGen(customRoot, schemaRoot, generatePath);
+            
             codegen.generate(verbose, usingNamespace, nonamespacePackage, bindingName, fileset, includePaths,
                              modelFile, problemHandler);
             setPostGenerateInfo(codegen);

Modified: cxf/trunk/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml?rev=1080240&r1=1080239&r2=1080240&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml (original)
+++ cxf/trunk/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml Thu Mar 10 14:54:37 2011
@@ -19,5 +19,5 @@ under the License.
 -->
 
 <plugin name="jibx" version="" provider="cxf.apache.org" xmlns="http://cxf.apache.org/tools/plugin">
-    <databinding name="jibx" package="org.apache.cxf.jibx.tools" profile="JiBXToolingDataBinding"/>
+    <databinding name="jibx" package="org.apache.cxf.jibx.tools" profile="JibxToolingDataBinding"/>
 </plugin>
\ No newline at end of file

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java?rev=1080240&r1=1080239&r2=1080240&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java Thu Mar 10 14:54:37 2011
@@ -26,10 +26,9 @@ import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamWriter;
 import javax.xml.ws.WebFault;
 
-import org.w3c.dom.Node;
-
 import org.apache.cxf.common.classloader.ClassLoaderUtils;
 import org.apache.cxf.common.i18n.BundleUtils;
 import org.apache.cxf.common.logging.LogUtils;
@@ -44,6 +43,7 @@ import org.apache.cxf.service.model.Bind
 import org.apache.cxf.service.model.FaultInfo;
 import org.apache.cxf.service.model.MessagePartInfo;
 import org.apache.cxf.service.model.OperationInfo;
+import org.apache.cxf.staxutils.W3CDOMStreamWriter;
 
 public class WebFaultOutInterceptor extends FaultOutInterceptor {
 
@@ -104,15 +104,16 @@ public class WebFaultOutInterceptor exte
             Service service = message.getExchange().get(Service.class);
 
             try {
-                DataWriter<Node> writer = service.getDataBinding().createWriter(Node.class);
+                DataWriter<XMLStreamWriter> writer 
+                    = service.getDataBinding().createWriter(XMLStreamWriter.class);
     
                 OperationInfo op = message.getExchange().get(BindingOperationInfo.class).getOperationInfo();
                 QName faultName = getFaultName(fault, cause.getClass(), op);
                 MessagePartInfo part = getFaultMessagePart(faultName, op);
                 if (f.hasDetails()) {
-                    writer.write(faultInfo, part, f.getDetail());
+                    writer.write(faultInfo, part, new W3CDOMStreamWriter(f.getDetail()));
                 } else {
-                    writer.write(faultInfo, part, f.getOrCreateDetail());
+                    writer.write(faultInfo, part, new W3CDOMStreamWriter(f.getOrCreateDetail()));
                     if (!f.getDetail().hasChildNodes()) {
                         f.setDetail(null);
                     }

Modified: cxf/trunk/systests/databinding/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/pom.xml?rev=1080240&r1=1080239&r2=1080240&view=diff
==============================================================================
--- cxf/trunk/systests/databinding/pom.xml (original)
+++ cxf/trunk/systests/databinding/pom.xml Thu Mar 10 14:54:37 2011
@@ -112,6 +112,20 @@
                                         <extraarg>xmlbeans</extraarg>
                                     </extraargs>
                                 </wsdlOption>
+                                <wsdlOption>
+                                    <wsdl>${basedir}/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl</wsdl>
+                                    <extraargs>
+                                        <extraarg>-db</extraarg>
+                                        <extraarg>jibx</extraarg>
+                                    </extraargs>
+                                </wsdlOption>
+                                <wsdlOption>
+                                    <wsdl>${basedir}/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl</wsdl>
+                                    <extraargs>
+                                        <extraarg>-db</extraarg>
+                                        <extraarg>jibx</extraarg>
+                                    </extraargs>
+                                </wsdlOption>
                             </wsdlOptions>
                         </configuration>
                         <goals>
@@ -120,6 +134,28 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.jibx</groupId>
+                <artifactId>maven-jibx-plugin</artifactId>
+                <version>${cxf.jibx.version}</version>
+                <configuration>
+                    <directory>${basedir}/target/generated/src/test/java/jibx_bindings</directory>
+                    <load>true</load>
+                    <validate>true</validate>
+                    <!--verify>true</verify-->
+                    <includes>
+                        <include>hello_world.xml</include>
+                        <include>doc_lit_bare.xml</include>
+                    </includes>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-bind</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <profiles>
@@ -192,6 +228,11 @@
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-databinding-jibx</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
             <version>${project.version}</version>
         </dependency>
@@ -286,6 +327,22 @@
        	    <scope>test</scope>
        	</dependency>
 
+        <dependency>
+            <groupId>org.jibx</groupId>
+            <artifactId>jibx-bind</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jibx</groupId>
+            <artifactId>jibx-run</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jibx</groupId>
+            <artifactId>jibx-schema</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.jibx</groupId>
+            <artifactId>jibx-tools</artifactId>
+        </dependency>
     </dependencies>
     <properties>
         <cxf.surefire.fork.mode>pertest</cxf.surefire.fork.mode>

Added: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java (added)
+++ cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java Thu Mar 10 14:54:37 2011
@@ -0,0 +1,144 @@
+/**
+ * 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.
+ */
+
+package org.apache.cxf.systest.jibx;
+
+import java.math.BigDecimal;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Holder;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.frontend.ClientProxy;
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.interceptor.LoggingOutInterceptor;
+import org.apache.cxf.jibx.doc_lit_bare.PutLastTradedPricePortType;
+import org.apache.cxf.jibx.doclitbare.types.In;
+import org.apache.cxf.jibx.doclitbare.types.InDecimal;
+import org.apache.cxf.jibx.doclitbare.types.Inout;
+import org.apache.cxf.jibx.doclitbare.types.OutString;
+import org.apache.cxf.jibx.doclitbare.types.StringRespType;
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.apache.cxf.testutil.common.TestUtil;
+import org.apache.hello_world_soap_http.jibx.GreetMeFault;
+import org.apache.hello_world_soap_http.jibx.Greeter;
+import org.apache.hello_world_soap_http.jibx.PingMeFault;
+import org.apache.hello_world_soap_http.jibx.SOAPService;
+import org.apache.helloworldsoaphttp.jibx.types.FaultDetail;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ * 
+ */
+public class ClientServerJibxTest extends AbstractBusClientServerTestBase {
+    static final String WSDL_PORT = TestUtil.getPortNumber(Server.class);
+
+    private static final QName SERVICE_NAME 
+        = new QName("http://apache.org/hello_world_soap_http/jibx", "SOAPService");
+    
+    private static final QName DOC_LIT_BARE_SERVICE =
+        new QName("http://cxf.apache.org/jibx/doc_lit_bare", "SOAPService");
+    
+    @BeforeClass
+    public static void startServers() throws Exception {
+        assertTrue("server did not launch correctly", launchServer(Server.class, true));
+    }
+    
+    @Test
+    public void testCallFromDocLitBareClient() throws Exception {
+        SpringBusFactory factory = new SpringBusFactory();
+        Bus bus = factory.createBus("org/apache/cxf/systest/jibx/cxf.xml");
+        BusFactory.setDefaultBus(bus);
+        URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl");
+        assertNotNull("We should have found the WSDL here. " , wsdl);      
+        
+        org.apache.cxf.jibx.doc_lit_bare.SOAPService ss = 
+            new org.apache.cxf.jibx.doc_lit_bare.SOAPService(wsdl, DOC_LIT_BARE_SERVICE);
+        PutLastTradedPricePortType port = ss.getSoapPort();
+        updateAddressPort(port, WSDL_PORT);
+        
+         
+        ClientProxy.getClient(port).getInInterceptors().add(new LoggingInInterceptor());
+        ClientProxy.getClient(port).getOutInterceptors().add(new LoggingOutInterceptor());
+        StringRespType resp = port.bareNoParam();
+        assertEquals("Get a wrong response", "Get the request!", resp.getStringRespType());
+        
+        InDecimal xd = new InDecimal();
+        xd.setInDecimal(new BigDecimal(123));
+        OutString response = port.nillableParameter(xd);
+        assertEquals("Get a wrong response", "Get the request 123", response.getOutString());
+        
+        In data = new In();
+        data.setTickerPrice(12.33F);
+        data.setTickerSymbol("CXF");
+        port.putLastTradedPrice(data);
+        
+        Inout dataio = new Inout();
+        dataio.setTickerPrice(12.33F);
+        dataio.setTickerSymbol("CXF");
+        Holder<Inout> holder = new Holder<Inout>(dataio);
+        port.sayHi(holder);
+        assertEquals("Get a wrong response", "BAK", holder.value.getTickerSymbol());
+    }
+    
+    @Test
+    public void testCallFromClient() throws Exception {
+        SpringBusFactory factory = new SpringBusFactory();
+        Bus bus = factory.createBus("org/apache/cxf/systest/jibx/cxf.xml");
+        BusFactory.setDefaultBus(bus);
+        URL wsdl = this.getClass().getResource("/wsdl_systest_databinding/jibx/hello_world.wsdl");
+        assertNotNull("We should have found the WSDL here. " , wsdl);      
+        
+        SOAPService ss = new SOAPService(wsdl, SERVICE_NAME);
+        Greeter port = ss.getSoapPort();
+        updateAddressPort(port, WSDL_PORT);
+        
+        String resp; 
+        ClientProxy.getClient(port).getInInterceptors().add(new LoggingInInterceptor());
+        ClientProxy.getClient(port).getOutInterceptors().add(new LoggingOutInterceptor());
+        resp = port.sayHi();
+        assertEquals("We should get the right response", "Bonjour", resp);        
+        
+        resp = port.greetMe("Willem");
+        assertEquals("We should get the right response", "Hello Willem", resp);
+
+        try {
+            port.greetMe("fault");
+            fail("Should have been a fault");
+        } catch (GreetMeFault ex) {
+            assertEquals("Some fault detail", ex.getFaultInfo().getGreetMeFaultDetail());
+        }
+        
+        try {
+            port.pingMe();
+            fail("We expect exception here");
+        } catch (PingMeFault ex) {            
+            FaultDetail detail = ex.getFaultInfo();
+            assertEquals("Wrong faultDetail major", detail.getMajor(), 2);
+            assertEquals("Wrong faultDetail minor", detail.getMinor(), 1);             
+        }
+        
+    }
+    
+}

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java (added)
+++ cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java Thu Mar 10 14:54:37 2011
@@ -0,0 +1,76 @@
+/**
+ * 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.
+ */
+
+package org.apache.cxf.systest.jibx;
+
+import java.util.logging.Logger;
+
+import org.apache.cxf.common.logging.LogUtils;
+import org.apache.hello_world_soap_http.jibx.GreetMeFault;
+import org.apache.hello_world_soap_http.jibx.Greeter;
+import org.apache.hello_world_soap_http.jibx.PingMeFault;
+import org.apache.helloworldsoaphttp.jibx.types.FaultDetail;
+
+@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService", 
+                      targetNamespace = "http://apache.org/hello_world_soap_http/jibx", 
+                      endpointInterface = "org.apache.hello_world_soap_http.jibx.Greeter")
+public class GreeterImpl implements Greeter {
+
+    private static final Logger LOG = LogUtils.getL7dLogger(GreeterImpl.class);        
+    
+    /* (non-Javadoc)
+     * @see org.apache.hello_world_soap_http.Greeter#greetMe(java.lang.String)
+     */
+    public String greetMe(String me) throws GreetMeFault {
+        if ("fault".equals(me)) {
+            org.apache.helloworldsoaphttp.jibx.types.GreetMeFaultDetail detail
+                = new org.apache.helloworldsoaphttp.jibx.types.GreetMeFaultDetail();
+            detail.setGreetMeFaultDetail("Some fault detail");
+            throw new GreetMeFault("Fault String", detail);
+        }
+        LOG.info("Executing operation greetMe");        
+        return "Hello " + me;
+    }
+    
+    /* (non-Javadoc)
+     * @see org.apache.hello_world_soap_http.Greeter#greetMeOneWay(java.lang.String)
+     */
+    public void greetMeOneWay(String me) {
+        LOG.info("Executing operation greetMeOneWay");        
+    }
+
+    /* (non-Javadoc)
+     * @see org.apache.hello_world_soap_http.Greeter#sayHi()
+     */
+    public String sayHi() {
+        LOG.info("Executing operation sayHi");        
+        return "Bonjour";
+    }
+    
+    public void pingMe() throws PingMeFault {
+        // here we need to put the FaultDetail into the FaultDetailDocument
+        FaultDetail faultDetail = new FaultDetail();
+        faultDetail.setMajor((short)2);
+        faultDetail.setMinor((short)1);
+        LOG.info("Executing operation pingMe, throwing PingMeFault exception");        
+        throw new PingMeFault("PingMeFault raised by server", faultDetail);
+    }
+
+    
+}

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java (added)
+++ cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java Thu Mar 10 14:54:37 2011
@@ -0,0 +1,62 @@
+/**
+ * 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.
+ */
+
+package org.apache.cxf.systest.jibx;
+
+import javax.jws.WebService;
+
+import org.apache.cxf.jibx.doc_lit_bare.PutLastTradedPricePortType;
+import org.apache.cxf.jibx.doclitbare.types.In;
+import org.apache.cxf.jibx.doclitbare.types.InDecimal;
+import org.apache.cxf.jibx.doclitbare.types.OutString;
+import org.apache.cxf.jibx.doclitbare.types.StringRespType;
+
+/**
+ * 
+ */
+@WebService(targetNamespace = "http://cxf.apache.org/jibx/doc_lit_bare",
+            portName = "SoapPort", serviceName = "SOAPService",
+            endpointInterface = "org.apache.cxf.jibx.doc_lit_bare.PutLastTradedPricePortType"
+)
+public class PutLastTradePriceImpl implements PutLastTradedPricePortType {
+    
+    public StringRespType bareNoParam() {
+        StringRespType st = new StringRespType();
+        st.setStringRespType("Get the request!");
+        return st;
+    }
+
+    public void sayHi(javax.xml.ws.Holder<org.apache.cxf.jibx.doclitbare.types.Inout> body) {
+        body.value.setTickerSymbol("BAK");
+    }
+    
+
+    public void putLastTradedPrice(In body) {
+        // TODO Auto-generated method stub
+        
+    }
+
+    public OutString nillableParameter(InDecimal theRequest) {
+        OutString st = new OutString();
+        st.setOutString("Get the request " + theRequest.getInDecimal().toString());
+        return st;
+    }
+    
+
+}

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java (added)
+++ cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java Thu Mar 10 14:54:37 2011
@@ -0,0 +1,58 @@
+/**
+ * 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.
+ */
+
+package org.apache.cxf.systest.jibx;
+
+import javax.xml.ws.Endpoint;
+
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+import org.apache.cxf.testutil.common.TestUtil;
+
+public class Server extends AbstractBusTestServerBase {
+    static final String PORT = TestUtil.getPortNumber(Server.class);
+
+    protected void run() {
+        // set the configuration file
+        SpringBusFactory factory = new SpringBusFactory();
+        Bus bus = factory.createBus("org/apache/cxf/systest/jibx/cxf.xml");
+        BusFactory.setDefaultBus(bus);
+        setBus(bus);
+        Endpoint.publish("http://localhost:" + PORT + "/SoapContext/SoapPort",
+                         new GreeterImpl());
+        
+        Endpoint.publish("http://localhost:" + PORT + "/SOAPDocLitBareService/SoapPort", 
+                         new PutLastTradePriceImpl());
+    }
+
+    public static void main(String args[]) {
+        try {
+            Server s = new Server();
+            s.start();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            System.exit(-1);
+        } finally {
+            System.out.println("done!");
+        }
+    }
+}

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml (added)
+++ cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml Thu Mar 10 14:54:37 2011
@@ -0,0 +1,50 @@
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xmlns:jaxws="http://cxf.apache.org/jaxws"
+      xmlns:cxf="http://cxf.apache.org/core"
+      xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+
+
+    <jaxws:client name="{http://apache.org/hello_world_soap_http/jibx}SoapPort"
+        createdFromAPI="true">
+        <!-- jaxws:properties>
+            <entry key="schema-validation-enabled" value="true" />
+        </jaxws:properties-->
+    </jaxws:client>
+
+    <jaxws:endpoint name="{http://apache.org/hello_world_soap_http/jibx}SoapPort"
+        wsdlLocation="classpath:wsdl_systest_databinding/jibx/hello_world.wsdl"
+        createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="schema-validation-enabled" value="true" />
+        </jaxws:properties>
+    </jaxws:endpoint>
+    
+    
+    <jaxws:endpoint name="{http://cxf.apache.org/jibx/doc_lit_bare}SoapPort"
+        wsdlLocation="classpath:wsdl_systest_databinding/jibx/doc_lit_bare.wsdl"
+        createdFromAPI="true"/>
+</beans>
+

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/databinding/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl (added)
+++ cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl Thu Mar 10 14:54:37 2011
@@ -0,0 +1,121 @@
+<?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.
+-->
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://cxf.apache.org/jibx/doc_lit_bare"
+     xmlns:x1="http://cxf.apache.org/jibx/doc_lit_bare/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://cxf.apache.org/jibx/doc_lit_bare" name="DocLitBare">
+    <wsdl:types>
+        <schema targetNamespace="http://cxf.apache.org/jibx/doc_lit_bare/types" 
+            xmlns:tns="http://cxf.apache.org/jibx/doc_lit_bare/types" 
+            xmlns="http://www.w3.org/2001/XMLSchema" 
+            elementFormDefault="qualified">
+            <complexType name="TradePriceData">
+                <sequence>
+                    <element name="tickerSymbol" type="xsd:string"/>
+                    <element name="tickerPrice" type="xsd:float"/>
+                </sequence>
+            </complexType>
+            <element name="in" type="tns:TradePriceData"/>
+            <element name="inout" type="tns:TradePriceData"/>
+            <element name="stringRespType" type="xsd:string"/>
+            <element name="inDecimal" nillable="true" type="xsd:decimal" />
+            <element name="outString" nillable="true" type="xsd:string" />
+        </schema>
+    </wsdl:types>
+    <message name="PutLastTradedPriceInput">
+        <part name="body" element="x1:in"/>
+    </message>
+    <message name="PutLastTradedPriceOutput"/>
+    <message name="SayHiInput">
+        <part name="body" element="x1:inout"/>
+    </message>
+    <message name="SayHiOutput">
+        <part name="body" element="x1:inout"/>
+    </message>
+    <message name="bareNoParamRequest"/>
+    <message name="bareNoParamResponse">
+        <part element="x1:stringRespType" name="theResponse"/>
+    </message>
+    <message name="nillableRequest">
+        <part name="theRequest" element="x1:inDecimal" />
+    </message>
+    <message name="nillableResponse">
+        <part name="theResponse" element="x1:outString" />
+    </message>
+    <portType name="PutLastTradedPricePortType">
+        <operation name="SayHi">
+            <input message="tns:SayHiInput"/>
+            <output message="tns:SayHiOutput"/>
+        </operation>
+        <operation name="PutLastTradedPrice">
+            <input message="tns:PutLastTradedPriceInput"/>
+            <output message="tns:PutLastTradedPriceOutput"/>
+        </operation>
+        <operation name="bareNoParam">
+            <input message="tns:bareNoParamRequest"/>
+            <output message="tns:bareNoParamResponse"/>
+        </operation>
+        <operation name="nillableParameter">
+            <input message="tns:nillableRequest" />
+            <output message="tns:nillableResponse" />
+        </operation>
+    </portType>
+    <binding name="PutLastTradedPriceSoapBinding" type="tns:PutLastTradedPricePortType">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <operation name="SayHi">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="PutLastTradedPrice">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="bareNoParam">
+            <input>
+                <soap:body use="literal"/>
+            </input>
+            <output>
+                <soap:body use="literal"/>
+            </output>
+        </operation>
+        <operation name="nillableParameter">
+            <input>
+                <soap:body use="literal" />
+            </input>
+            <output>
+                <soap:body use="literal" />
+            </output>
+        </operation>
+    </binding>
+    <wsdl:service name="SOAPService">
+        <wsdl:port name="SoapPort" binding="tns:PutLastTradedPriceSoapBinding">
+            <soap:address location="http://localhost:9107/SOAPDocLitBareService/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl?rev=1080240&view=auto
==============================================================================
--- cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl (added)
+++ cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl Thu Mar 10 14:54:37 2011
@@ -0,0 +1,196 @@
+<?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.
+-->
+<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http/jibx"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://apache.org/hello_world_soap_http/jibx"
+    xmlns:x1="http://apache.org/hello_world_soap_http/jibx/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <wsdl:types>
+        <schema targetNamespace="http://apache.org/hello_world_soap_http/jibx/types"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+        xmlns:tns="http://apache.org/hello_world_soap_http/jibx/types"
+            elementFormDefault="qualified">
+            <simpleType name="MyStringType">
+                <restriction base="string">
+                    <maxLength value="30" />
+                </restriction>
+            </simpleType>
+
+            <element name="sayHi">
+                <complexType/>
+            </element>
+            <element name="sayHiResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMe">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="tns:MyStringType"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeOneWay">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="pingMe">
+                <complexType/>
+            </element>
+            <element name="pingMeResponse">
+                <complexType/>
+            </element>
+            <element name="faultDetail">
+                <complexType>
+                    <sequence>
+                        <element name="minor" type="short"/>
+                        <element name="major" type="short"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeFaultDetail" type="string"/>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part element="x1:sayHi" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part element="x1:sayHiResponse" name="out"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeRequest">
+        <wsdl:part element="x1:greetMe" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeResponse">
+        <wsdl:part element="x1:greetMeResponse" name="out"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeOneWayRequest">
+        <wsdl:part element="x1:greetMeOneWay" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeRequest">
+        <wsdl:part name="in" element="x1:pingMe"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeResponse">
+        <wsdl:part name="out" element="x1:pingMeResponse"/>
+    </wsdl:message>
+    <wsdl:message name="pingMeFault">
+        <wsdl:part name="faultDetail" element="x1:faultDetail"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeFault">
+        <wsdl:part name="greetMeFault" element="x1:greetMeFaultDetail"/>
+    </wsdl:message>
+
+
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </wsdl:operation>
+        
+
+        <wsdl:operation name="greetMe">
+            <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+            <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+            <wsdl:fault name="greetMeFault" message="tns:greetMeFault"/>
+        </wsdl:operation>
+        
+
+        <wsdl:operation name="greetMeOneWay">
+            <wsdl:input message="tns:greetMeOneWayRequest" name="greetMeOneWayRequest"/>
+        </wsdl:operation>
+
+        <wsdl:operation name="pingMe">
+            <wsdl:input name="pingMeRequest" message="tns:pingMeRequest"/>
+            <wsdl:output name="pingMeResponse" message="tns:pingMeResponse"/>
+            <wsdl:fault name="pingMeFault" message="tns:pingMeFault"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        
+
+        <wsdl:operation name="sayHi">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        
+
+        <wsdl:operation name="greetMe">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="greetMeRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="greetMeResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="greetMeFault">
+                <soap:fault name="greetMeFault" use="literal"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        
+
+        <wsdl:operation name="greetMeOneWay">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="greetMeOneWayRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+
+        <wsdl:operation name="pingMe">
+            <soap:operation style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+            <wsdl:fault name="pingMeFault">
+                <soap:fault name="pingMeFault" use="literal"/>
+            </wsdl:fault>
+        </wsdl:operation>
+        
+
+    </wsdl:binding>
+    <wsdl:service name="SOAPService">
+        <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+            <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
+

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/databinding/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message