You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/12/23 11:20:41 UTC
[2/3] cxf git commit: [CXF-7194] Removing rt-databindings-jixb
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingProblemHandler.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingProblemHandler.java b/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingProblemHandler.java
deleted file mode 100644
index 1b741c2..0000000
--- a/rt/databinding/jibx/src/main/java/org/apache/cxf/jibx/tools/JibxToolingProblemHandler.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * 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.jibx.tools;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-import org.apache.cxf.common.logging.LogUtils;
-import org.jibx.schema.validation.ProblemHandler;
-import org.jibx.schema.validation.ValidationProblem;
-
-public class JibxToolingProblemHandler implements ProblemHandler {
-
- // We are using JiBXToolingDataBinding logger
- private static final Logger LOG = LogUtils.getLogger(JibxToolingDataBinding.class);
-
- public void handleError(ValidationProblem prob) {
- LOG.log(Level.SEVERE, prob.getDescription());
- }
-
- public void handleFatal(ValidationProblem prob) {
- LOG.log(Level.SEVERE, prob.getDescription());
- }
-
- public void handleUnimplemented(ValidationProblem prob) {
- LOG.log(Level.INFO, "Unimplemented feature - " + prob.getDescription());
- }
-
- public void handleWarning(ValidationProblem prob) {
- LOG.log(Level.WARNING, prob.getDescription());
- }
-
- public void report(String msg) {
- LOG.log(Level.INFO, msg);
- }
-
- public void terminate(String msg) {
- LOG.log(Level.SEVERE, msg);
-
- }
-
- public void terminate(String msg, Throwable thrown) {
- LOG.log(Level.SEVERE, msg, thrown);
- }
-
- public void handleSevere(String msg, Throwable thrown) {
- LOG.log(Level.SEVERE, msg, thrown);
- }
-
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml b/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml
deleted file mode 100644
index 4392650..0000000
--- a/rt/databinding/jibx/src/main/resources/META-INF/tools-plugin.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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.
--->
-<plugin xmlns="http://cxf.apache.org/tools/plugin" name="jibx" version="" provider="cxf.apache.org">
- <databinding name="jibx" package="org.apache.cxf.jibx.tools" profile="JibxToolingDataBinding"/>
-</plugin>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/AbstractJibxTest.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/AbstractJibxTest.java b/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/AbstractJibxTest.java
deleted file mode 100644
index 5813be3..0000000
--- a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/AbstractJibxTest.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * 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.jibx;
-
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Node;
-
-import org.apache.cxf.binding.BindingFactoryManager;
-import org.apache.cxf.binding.soap.SoapBindingFactory;
-import org.apache.cxf.binding.soap.SoapTransportFactory;
-import org.apache.cxf.endpoint.Server;
-import org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory;
-import org.apache.cxf.frontend.ServerFactoryBean;
-import org.apache.cxf.jaxws.JaxWsServerFactoryBean;
-import org.apache.cxf.test.AbstractCXFTest;
-import org.apache.cxf.transport.ConduitInitiatorManager;
-import org.apache.cxf.transport.DestinationFactoryManager;
-import org.apache.cxf.transport.local.LocalTransportFactory;
-import org.apache.cxf.wsdl.WSDLConstants;
-import org.apache.cxf.wsdl.WSDLManager;
-import org.apache.cxf.wsdl11.WSDLManagerImpl;
-
-import org.junit.Before;
-
-public abstract class AbstractJibxTest extends AbstractCXFTest {
-
- protected LocalTransportFactory localTransport;
-
- @Before
- public void setUp() throws Exception {
- super.setUpBus();
-
- SoapBindingFactory bindingFactory = new SoapBindingFactory();
- bindingFactory.setBus(bus);
-
- bus.getExtension(BindingFactoryManager.class)
- .registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bindingFactory);
-
- DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
-
- SoapTransportFactory soapDF = new SoapTransportFactory();
- dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soapDF);
- dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soapDF);
- dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soapDF);
-
- localTransport = new LocalTransportFactory();
- dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
- dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
- dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
- dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
-
- ConduitInitiatorManager extension = bus.getExtension(ConduitInitiatorManager.class);
- extension.registerConduitInitiator(LocalTransportFactory.TRANSPORT_ID, localTransport);
- extension.registerConduitInitiator("http://schemas.xmlsoap.org/wsdl/soap/", localTransport);
- extension.registerConduitInitiator("http://schemas.xmlsoap.org/soap/http", localTransport);
- extension.registerConduitInitiator("http://schemas.xmlsoap.org/soap/", localTransport);
-
- bus.setExtension(new WSDLManagerImpl(), WSDLManager.class);
-
- addNamespace("wsdl", WSDLConstants.NS_WSDL11);
- addNamespace("wsdlsoap", WSDLConstants.NS_SOAP11);
- addNamespace("xsd", WSDLConstants.NS_SCHEMA_XSD);
- }
-
- public Server createService(Class<?> serviceClass, Object serviceBean, String address, QName name) {
- ServerFactoryBean sf = createServiceFactory(serviceClass, serviceBean, address, name, null);
- return sf.create();
- }
-
- protected ServerFactoryBean createServiceFactory(Class<?> serviceClass,
- Object serviceBean, String address,
- QName name, JibxDataBinding binding) {
- JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
- sf.setServiceClass(serviceClass);
- if (serviceBean != null) {
- sf.setServiceBean(serviceBean);
- }
- sf.getServiceFactory().setServiceName(name);
- sf.setAddress("local://" + address);
- sf.getServiceFactory().setQualifyWrapperSchema(true);
- setupJibxBinding(sf, binding);
- return sf;
- }
-
- protected void setupJibxBinding(AbstractWSDLBasedEndpointFactory sf, JibxDataBinding binding) {
- if (binding == null) {
- binding = new JibxDataBinding();
- }
- sf.getServiceFactory().setDataBinding(binding);
- }
-
- protected Node invoke(String service, byte[] message) throws Exception {
- return invoke("local://" + service, LocalTransportFactory.TRANSPORT_ID, message);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesService.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesService.java b/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesService.java
deleted file mode 100644
index aef4018..0000000
--- a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesService.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * 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.jibx;
-
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebService;
-import javax.xml.ws.Holder;
-
-@WebService(targetNamespace = "urn:PrimitiveTypesService")
-public class PrimitiveTypesService {
-
- @WebMethod
- public String testInt(int i, @WebParam(mode = WebParam.Mode.OUT) Holder<Integer> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testInteger(Integer i, @WebParam(mode = WebParam.Mode.OUT) Holder<Integer> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testFloatPrim(float i, @WebParam(mode = WebParam.Mode.OUT) Holder<Float> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testFloat(Float i, @WebParam(mode = WebParam.Mode.OUT) Holder<Float> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testBooleanPrim(boolean i, @WebParam(mode = WebParam.Mode.OUT) Holder<Boolean> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testBoolean(Boolean i, @WebParam(mode = WebParam.Mode.OUT) Holder<Boolean> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testLongPrim(long i, @WebParam(mode = WebParam.Mode.OUT) Holder<Long> i2) {
- i2.value = i;
- return "In:" + i;
- }
-
- @WebMethod
- public String testLong(Long i, @WebParam(mode = WebParam.Mode.OUT) Holder<Long> i2) {
- i2.value = i;
- return "In:" + i;
- }
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesTest.java
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesTest.java b/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesTest.java
deleted file mode 100644
index b94e6e5..0000000
--- a/rt/databinding/jibx/src/test/java/org/apache/cxf/jibx/PrimitiveTypesTest.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * 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.jibx;
-
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Node;
-
-import org.junit.Before;
-import org.junit.Test;
-
-public class PrimitiveTypesTest extends AbstractJibxTest {
- @Before
- public void setUp() throws Exception {
- super.setUp();
- createService(PrimitiveTypesService.class, new PrimitiveTypesService(), "PrimitiveTypesService",
- new QName("urn:PrimitiveTypesService", "PrimitiveTypesService"));
- }
-
- @Test
- public void testInt() throws Exception {
- doTestType("testInt", "24", "In:24");
- }
-
- @Test
- public void testInteger() throws Exception {
- doTestType("testInteger", "24", "In:24");
- }
-
- @Test
- public void testFloat() throws Exception {
- doTestType("testFloat", "3.14", "In:3.14");
- }
-
- @Test
- public void testFloatPrimitive() throws Exception {
- doTestType("testFloatPrim", "3.14", "In:3.14");
- }
-
- @Test
- public void testBoolean() throws Exception {
- doTestType("testBoolean", "false", "In:false");
- }
-
- @Test
- public void testBooleanPrimitive() throws Exception {
- doTestType("testBooleanPrim", "true", "In:true");
-
- }
-
- private void doTestType(String operation, String data, String expected) throws Exception {
- String req = "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" + "<env:Header/>"
- + "<env:Body xmlns='urn:PrimitiveTypesService' xmlns:x='http://example.com'>" + " <"
- + operation + ">" + " <arg0>" + data + "</arg0>" + " </" + operation + ">"
- + "</env:Body>" + "</env:Envelope>";
- Node nd = invoke("PrimitiveTypesService", req.getBytes());
- addNamespace("t", "urn:PrimitiveTypesService");
- assertValid("//t:return[text()='" + expected + "']", nd);
- assertValid("//t:return1[text()='" + data + "']", nd);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/binding.xml
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/binding.xml b/rt/databinding/jibx/src/test/java/resources/binding.xml
deleted file mode 100644
index 38f2d6f..0000000
--- a/rt/databinding/jibx/src/test/java/resources/binding.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<binding xmlns:ns1="http://sosnoski.com/ws/library/types" name="binding" package="com.sosnoski.ws.library.types">
- <namespace uri="http://sosnoski.com/ws/library/types" default="elements"/>
- <mapping abstract="true" type-name="ns1:bookInformation" class="com.sosnoski.ws.library.types.BookInformation">
- <collection field="authorList" usage="optional" create-type="java.util.ArrayList">
- <value name="string" type="java.lang.String"/>
- </collection>
- <value style="element" name="title" field="title" usage="optional"/>
- <value style="element" name="type" field="type" usage="optional"/>
- <value style="element" name="isbn" field="isbn" usage="optional"/>
- </mapping>
- <mapping class="com.sosnoski.ws.library.types.BookInformation" name="bookInformation">
- <structure map-as="ns1:bookInformation"/>
- </mapping>
-</binding>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/BookInformation.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/BookInformation.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/BookInformation.class
deleted file mode 100644
index ce32867..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/BookInformation.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class
deleted file mode 100644
index da7f666..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class
deleted file mode 100644
index 64cfeed..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class
deleted file mode 100644
index c3c353e..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class
deleted file mode 100644
index 5f9ffc0..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/TypeInformation.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/TypeInformation.class b/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/TypeInformation.class
deleted file mode 100644
index 3847468..0000000
Binary files a/rt/databinding/jibx/src/test/java/resources/com/sosnoski/ws/library/types/TypeInformation.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/java/resources/types.xsd
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/java/resources/types.xsd b/rt/databinding/jibx/src/test/java/resources/types.xsd
deleted file mode 100644
index 33a6473..0000000
--- a/rt/databinding/jibx/src/test/java/resources/types.xsd
+++ /dev/null
@@ -1,32 +0,0 @@
-<!--
- 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.
--->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://sosnoski.com/ws/library/types" elementFormDefault="qualified" targetNamespace="http://sosnoski.com/ws/library/types">
- <xs:complexType name="bookInformation">
- <xs:annotation>
- <xs:documentation>Schema fragment(s) for this class: <![CDATA[<pre> <xs:complexType xmlns:ns="http://ws.sosnoski.com/library/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookInformation"> <xs:sequence> <xs:element type="xs:string" name="author" minOccurs="0" maxOccurs="unbounded"/> <xs:element type="xs:string" name="title"/> </xs:sequence> <xs:attribute type="xs:string" use="required" name="type"/> <xs:attribute type="xs:string" use="required" name="isbn"/> </xs:complexType> ]]>/pre></xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element type="xs:string" name="string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element type="xs:string" name="title" minOccurs="0"/>
- <xs:element type="xs:string" name="type" minOccurs="0"/>
- <xs:element type="xs:string" name="isbn" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:element type="tns:bookInformation" name="bookInformation"/>
-</xs:schema>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/binding.xml
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/binding.xml b/rt/databinding/jibx/src/test/resources/binding.xml
deleted file mode 100644
index 38f2d6f..0000000
--- a/rt/databinding/jibx/src/test/resources/binding.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0"?>
-<binding xmlns:ns1="http://sosnoski.com/ws/library/types" name="binding" package="com.sosnoski.ws.library.types">
- <namespace uri="http://sosnoski.com/ws/library/types" default="elements"/>
- <mapping abstract="true" type-name="ns1:bookInformation" class="com.sosnoski.ws.library.types.BookInformation">
- <collection field="authorList" usage="optional" create-type="java.util.ArrayList">
- <value name="string" type="java.lang.String"/>
- </collection>
- <value style="element" name="title" field="title" usage="optional"/>
- <value style="element" name="type" field="type" usage="optional"/>
- <value style="element" name="isbn" field="isbn" usage="optional"/>
- </mapping>
- <mapping class="com.sosnoski.ws.library.types.BookInformation" name="bookInformation">
- <structure map-as="ns1:bookInformation"/>
- </mapping>
-</binding>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/BookInformation.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/BookInformation.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/BookInformation.class
deleted file mode 100644
index ce32867..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/BookInformation.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class
deleted file mode 100644
index da7f666..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class
deleted file mode 100644
index 64cfeed..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingBookInformation_access2.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class
deleted file mode 100644
index c3c353e..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingFactory.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class
deleted file mode 100644
index 5f9ffc0..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/JiBX_bindingMungeAdapter.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/TypeInformation.class
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/TypeInformation.class b/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/TypeInformation.class
deleted file mode 100644
index 3847468..0000000
Binary files a/rt/databinding/jibx/src/test/resources/com/sosnoski/ws/library/types/TypeInformation.class and /dev/null differ
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/jibx/src/test/resources/types.xsd
----------------------------------------------------------------------
diff --git a/rt/databinding/jibx/src/test/resources/types.xsd b/rt/databinding/jibx/src/test/resources/types.xsd
deleted file mode 100644
index a770994..0000000
--- a/rt/databinding/jibx/src/test/resources/types.xsd
+++ /dev/null
@@ -1,14 +0,0 @@
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://sosnoski.com/ws/library/types" elementFormDefault="qualified" targetNamespace="http://sosnoski.com/ws/library/types">
- <xs:complexType name="bookInformation">
- <xs:annotation>
- <xs:documentation>Schema fragment(s) for this class: <![CDATA[<pre> <xs:complexType xmlns:ns="http://ws.sosnoski.com/library/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookInformation"> <xs:sequence> <xs:element type="xs:string" name="author" minOccurs="0" maxOccurs="unbounded"/> <xs:element type="xs:string" name="title"/> </xs:sequence> <xs:attribute type="xs:string" use="required" name="type"/> <xs:attribute type="xs:string" use="required" name="isbn"/> </xs:complexType> ]]>/pre></xs:documentation>
- </xs:annotation>
- <xs:sequence>
- <xs:element type="xs:string" name="string" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element type="xs:string" name="title" minOccurs="0"/>
- <xs:element type="xs:string" name="type" minOccurs="0"/>
- <xs:element type="xs:string" name="isbn" minOccurs="0"/>
- </xs:sequence>
- </xs:complexType>
- <xs:element type="tns:bookInformation" name="bookInformation"/>
-</xs:schema>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/rt/databinding/pom.xml
----------------------------------------------------------------------
diff --git a/rt/databinding/pom.xml b/rt/databinding/pom.xml
index d7d04c7..438dc94 100644
--- a/rt/databinding/pom.xml
+++ b/rt/databinding/pom.xml
@@ -34,6 +34,5 @@
<module>xmlbeans</module>
<module>aegis</module>
<module>sdo</module>
- <module>jibx</module>
</modules>
</project>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/databinding/pom.xml
----------------------------------------------------------------------
diff --git a/systests/databinding/pom.xml b/systests/databinding/pom.xml
index ce62f87..9c93f65 100644
--- a/systests/databinding/pom.xml
+++ b/systests/databinding/pom.xml
@@ -176,11 +176,6 @@
</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>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jaxrs/pom.xml
----------------------------------------------------------------------
diff --git a/systests/jaxrs/pom.xml b/systests/jaxrs/pom.xml
index 15910bd..829c04f 100644
--- a/systests/jaxrs/pom.xml
+++ b/systests/jaxrs/pom.xml
@@ -312,11 +312,6 @@
</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-rs-extension-providers</artifactId>
<version>${project.version}</version>
</dependency>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/pom.xml
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/pom.xml b/systests/jibx/databinding-jibx/pom.xml
deleted file mode 100644
index cdf38f1..0000000
--- a/systests/jibx/databinding-jibx/pom.xml
+++ /dev/null
@@ -1,328 +0,0 @@
-<?xml version="1.0"?>
-<!--
- 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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <artifactId>cxf-systests-jibx</artifactId>
- <groupId>org.apache.cxf.systests</groupId>
- <version>3.2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.cxf.systests</groupId>
- <artifactId>cxf-systests-databinding-jibx</artifactId>
- <name>Apache CXF Data Binding JiBX System Tests</name>
- <description>Apache CXF Data Binding JiBX System Tests</description>
- <url>http://cxf.apache.org</url>
- <properties>
- <hello.world.binding.file>hello_world.xml</hello.world.binding.file>
- <doc.lit.bare.binding.file>doc_lit_bare.xml</doc.lit.bare.binding.file>
- </properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-test-source</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>add-test-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>${basedir}/src/test/generated</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-codegen-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <id>generate-test-sources</id>
- <phase>generate-test-sources</phase>
- <configuration>
- <fork>${cxf.codegenplugin.forkmode}</fork>
- <testSourceRoot>${basedir}/target/generated/src/test/java</testSourceRoot>
- <testWsdlRoot>${basedir}/src/test/resources/wsdl_systest_databinding</testWsdlRoot>
- <defaultOptions>
- <markGenerated>true</markGenerated>
- <faultSerialVersionUID>1</faultSerialVersionUID>
- </defaultOptions>
- <wsdlOptions>
- <wsdlOption>
- <wsdl>${basedir}/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl</wsdl>
- <frontEnd>cxf</frontEnd>
- <dataBinding>jibx</dataBinding>
- </wsdlOption>
- <wsdlOption>
- <wsdl>${basedir}/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl</wsdl>
- <frontEnd>cxf</frontEnd>
- <dataBinding>jibx</dataBinding>
- </wsdlOption>
- </wsdlOptions>
- </configuration>
- <goals>
- <goal>wsdl2java</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jibx</groupId>
- <artifactId>maven-jibx-plugin</artifactId>
- <version>${cxf.jibx.version}</version>
- <dependencies>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>bcel-findbugs</artifactId>
- <version>6.0</version>
- </dependency>
- </dependencies>
- <configuration>
- <directory>target/generated/src/test/java/jibx_bindings</directory>
- <!--load>true</load-->
- <!--validate>true</validate-->
- <!--verify>true</verify-->
- <includes>
- <include>${hello.world.binding.file}</include>
- <include>${doc.lit.bare.binding.file}</include>
- </includes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>test-bind</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.jibx</groupId>
- <artifactId>
- maven-jibx-plugin
- </artifactId>
- <versionRange>
- [1.2.5,)
- </versionRange>
- <goals>
- <goal>test-bind</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <execute>
- <runOnIncremental>false</runOnIncremental>
- </execute>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>fastinstall</id>
- <properties>
- <hello.world.binding.file>none</hello.world.binding.file>
- <doc.lit.bare.binding.file>none</doc.lit.bare.binding.file>
- </properties>
- </profile>
- <profile>
- <id>setup.eclipse</id>
- <properties>
- <hello.world.binding.file>none</hello.world.binding.file>
- <doc.lit.bare.binding.file>none</doc.lit.bare.binding.file>
- </properties>
- </profile>
- <profile>
- <id>skipTests</id>
- <activation>
- <property>
- <name>maven.test.skip</name>
- </property>
- </activation>
- <properties>
- <hello.world.binding.file>none</hello.world.binding.file>
- <doc.lit.bare.binding.file>none</doc.lit.bare.binding.file>
- </properties>
- </profile>
- </profiles>
- <dependencies>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-tools-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-databinding-jaxb</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-jaxws</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-bindings-soap</artifactId>
- <version>${project.version}</version>
- </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>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http-jetty</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-local</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-jaxrs</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-testutils</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>${cxf.spring.mock}</artifactId>
- <version>${cxf.spring.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.fastinfoset</groupId>
- <artifactId>FastInfoset</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.0</version>
- <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>
-</project>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
deleted file mode 100644
index cb301b1..0000000
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/ClientServerJibxTest.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * 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.jibx.GreetMeFault;
-import org.apache.hello_world_soap_http_jibx.jibx.Greeter;
-import org.apache.hello_world_soap_http_jibx.jibx.PingMeFault;
-import org.apache.hello_world_soap_http_jibx.jibx.SOAPService;
-import org.apache.helloworldsoaphttpjibx.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/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);
- }
-
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
deleted file mode 100644
index e677586..0000000
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/GreeterImpl.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * 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.jibx.GreetMeFault;
-import org.apache.hello_world_soap_http_jibx.jibx.Greeter;
-import org.apache.hello_world_soap_http_jibx.jibx.PingMeFault;
-import org.apache.helloworldsoaphttpjibx.jibx.types.FaultDetail;
-
-@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService",
- targetNamespace = "http://apache.org/hello_world_soap_http_jibx/jibx",
- endpointInterface = "org.apache.hello_world_soap_http_jibx.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.helloworldsoaphttpjibx.jibx.types.GreetMeFaultDetail detail
- = new org.apache.helloworldsoaphttpjibx.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);
- }
-
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
deleted file mode 100644
index d799c5d..0000000
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/PutLastTradePriceImpl.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * 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;
- }
-
-
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/Server.java
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/Server.java b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/Server.java
deleted file mode 100644
index 72b495c..0000000
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/Server.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * 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!");
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/cxf.xml b/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
deleted file mode 100644
index 541a5ad..0000000
--- a/systests/jibx/databinding-jibx/src/test/java/org/apache/cxf/systest/jibx/cxf.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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-4.3.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/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/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>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl b/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
deleted file mode 100644
index 19422e1..0000000
--- a/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/doc_lit_bare.wsdl
+++ /dev/null
@@ -1,114 +0,0 @@
-<?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 xmlns:tns="http://cxf.apache.org/jibx/doc_lit_bare/types" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://cxf.apache.org/jibx/doc_lit_bare/types" 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>
http://git-wip-us.apache.org/repos/asf/cxf/blob/52ccbfa5/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
----------------------------------------------------------------------
diff --git a/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl b/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
deleted file mode 100644
index f7ec99a..0000000
--- a/systests/jibx/databinding-jibx/src/test/resources/wsdl_systest_databinding/jibx/hello_world.wsdl
+++ /dev/null
@@ -1,169 +0,0 @@
-<?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://apache.org/hello_world_soap_http_jibx/jibx" xmlns:x1="http://apache.org/hello_world_soap_http_jibx/jibx/types" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http_jibx/jibx">
- <wsdl:types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://apache.org/hello_world_soap_http_jibx/jibx/types" targetNamespace="http://apache.org/hello_world_soap_http_jibx/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>