You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/06/09 17:08:27 UTC
svn commit: r1133913 [12/13] - in /cxf/trunk:
rt/core/src/test/java/org/apache/cxf/endpoint/
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/search/client/
rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/ext/search/client/
rt/frontend/jax...
Modified: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd (original)
+++ cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd Thu Jun 9 15:08:22 2011
@@ -1,75 +1,75 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="http://cxf.apache.org/jms/testcase/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cxf.apache.org/jms/testcase/">
-
- <xs:element name="testCases" type="tns:testCasesType" />
- <xs:element name="testCase" type="tns:testCaseType" />
- <xs:element name="requestMessage" type="tns:messagePropertiesType" />
- <xs:element name="responseMessage" type="tns:messagePropertiesType" />
-
- <xs:element name="messageType" type="xs:string"></xs:element>
- <xs:element name="deliveryMode" type="xs:int"></xs:element>
- <xs:element name="priority" type="xs:int"></xs:element>
- <xs:element name="expiration" type="xs:int"></xs:element>
- <xs:element name="replyTo" type="xs:string"></xs:element>
- <xs:element name="correlationID" type="xs:string"></xs:element>
- <xs:element name="destination" type="xs:string"></xs:element>
- <xs:element name="redelivered" type="xs:boolean"></xs:element>
- <xs:element name="bindingVersion" type="xs:string"></xs:element>
- <xs:element name="targetService" type="xs:string"></xs:element>
- <xs:element name="contentType" type="xs:string"></xs:element>
- <xs:element name="soapAction" type="xs:string"></xs:element>
- <xs:element name="requestURI" type="xs:string"></xs:element>
- <xs:element name="messageBody" type="xs:string"></xs:element>
- <xs:element name="address" type="xs:string"></xs:element>
- <xs:element name="isFault" type="xs:boolean"></xs:element>
-
- <xs:complexType name="testCasesType">
- <xs:sequence>
- <xs:element ref="tns:testCase" minOccurs="0" maxOccurs="unbounded"></xs:element>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="testCaseType">
- <xs:all>
- <xs:element ref="tns:address"></xs:element>
- <xs:element ref="tns:requestMessage"></xs:element>
- <xs:element ref="tns:responseMessage" minOccurs="0"
- maxOccurs="1">
- </xs:element>
- </xs:all>
- <xs:attribute name="id" type="xs:string" use="required"></xs:attribute>
- <xs:attribute name="mep" type="tns:mepType" use="required"></xs:attribute>
- </xs:complexType>
-
- <xs:simpleType name="mepType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="inonly" />
- <xs:enumeration value="inout" />
- </xs:restriction>
- </xs:simpleType>
-
- <xs:complexType name="messagePropertiesType">
- <xs:all>
- <xs:element ref="tns:messageType" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:deliveryMode" minOccurs="0"
- maxOccurs="1"></xs:element>
- <xs:element ref="tns:priority" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:expiration" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:replyTo" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:correlationID" minOccurs="0"
- maxOccurs="1"></xs:element>
- <xs:element ref="tns:destination" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:redelivered" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:bindingVersion" minOccurs="0"
- maxOccurs="1"></xs:element>
- <xs:element ref="tns:targetService" minOccurs="0"
- maxOccurs="1"></xs:element>
- <xs:element ref="tns:contentType" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:soapAction" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:requestURI" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:isFault" minOccurs="0" maxOccurs="1"></xs:element>
- <xs:element ref="tns:messageBody" minOccurs="0" maxOccurs="1"></xs:element>
- </xs:all>
- </xs:complexType>
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="http://cxf.apache.org/jms/testcase/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cxf.apache.org/jms/testcase/">
+
+ <xs:element name="testCases" type="tns:testCasesType" />
+ <xs:element name="testCase" type="tns:testCaseType" />
+ <xs:element name="requestMessage" type="tns:messagePropertiesType" />
+ <xs:element name="responseMessage" type="tns:messagePropertiesType" />
+
+ <xs:element name="messageType" type="xs:string"></xs:element>
+ <xs:element name="deliveryMode" type="xs:int"></xs:element>
+ <xs:element name="priority" type="xs:int"></xs:element>
+ <xs:element name="expiration" type="xs:int"></xs:element>
+ <xs:element name="replyTo" type="xs:string"></xs:element>
+ <xs:element name="correlationID" type="xs:string"></xs:element>
+ <xs:element name="destination" type="xs:string"></xs:element>
+ <xs:element name="redelivered" type="xs:boolean"></xs:element>
+ <xs:element name="bindingVersion" type="xs:string"></xs:element>
+ <xs:element name="targetService" type="xs:string"></xs:element>
+ <xs:element name="contentType" type="xs:string"></xs:element>
+ <xs:element name="soapAction" type="xs:string"></xs:element>
+ <xs:element name="requestURI" type="xs:string"></xs:element>
+ <xs:element name="messageBody" type="xs:string"></xs:element>
+ <xs:element name="address" type="xs:string"></xs:element>
+ <xs:element name="isFault" type="xs:boolean"></xs:element>
+
+ <xs:complexType name="testCasesType">
+ <xs:sequence>
+ <xs:element ref="tns:testCase" minOccurs="0" maxOccurs="unbounded"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="testCaseType">
+ <xs:all>
+ <xs:element ref="tns:address"></xs:element>
+ <xs:element ref="tns:requestMessage"></xs:element>
+ <xs:element ref="tns:responseMessage" minOccurs="0"
+ maxOccurs="1">
+ </xs:element>
+ </xs:all>
+ <xs:attribute name="id" type="xs:string" use="required"></xs:attribute>
+ <xs:attribute name="mep" type="tns:mepType" use="required"></xs:attribute>
+ </xs:complexType>
+
+ <xs:simpleType name="mepType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="inonly" />
+ <xs:enumeration value="inout" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:complexType name="messagePropertiesType">
+ <xs:all>
+ <xs:element ref="tns:messageType" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:deliveryMode" minOccurs="0"
+ maxOccurs="1"></xs:element>
+ <xs:element ref="tns:priority" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:expiration" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:replyTo" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:correlationID" minOccurs="0"
+ maxOccurs="1"></xs:element>
+ <xs:element ref="tns:destination" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:redelivered" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:bindingVersion" minOccurs="0"
+ maxOccurs="1"></xs:element>
+ <xs:element ref="tns:targetService" minOccurs="0"
+ maxOccurs="1"></xs:element>
+ <xs:element ref="tns:contentType" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:soapAction" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:requestURI" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:isFault" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element ref="tns:messageBody" minOccurs="0" maxOccurs="1"></xs:element>
+ </xs:all>
+ </xs:complexType>
</xs:schema>
\ No newline at end of file
Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/transport-jms/src/test/resources/jms/testcase.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java Thu Jun 9 15:08:22 2011
@@ -1,96 +1,96 @@
-/**
- * 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.servlet;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-
-import org.xml.sax.SAXException;
-
-import com.meterware.httpunit.HttpException;
-import com.meterware.httpunit.HttpNotFoundException;
-import com.meterware.httpunit.HttpUnitOptions;
-import com.meterware.httpunit.WebRequest;
-import com.meterware.servletunit.ServletRunner;
-import com.meterware.servletunit.ServletUnitClient;
-
-import org.apache.cxf.test.AbstractCXFTest;
-import org.junit.Before;
-
-public abstract class AbstractServletTest extends AbstractCXFTest {
- public static final String CONTEXT = "/mycontext";
- public static final String CONTEXT_URL = "http://localhost/mycontext";
- protected ServletRunner sr;
-
- @Before
- public void setUp() throws Exception {
- InputStream configurationStream = getResourceAsStream(getConfiguration());
- sr = new ServletRunner(configurationStream, CONTEXT);
-
- try {
- sr.newClient().getResponse(CONTEXT_URL + "/services");
- } catch (HttpNotFoundException e) {
- // ignore, we just want to boot up the servlet
- }
-
- HttpUnitOptions.setExceptionsThrownOnErrorStatus(true);
- }
-
- /**
- * @return The web.xml to use for testing.
- */
- protected String getConfiguration() {
- return "/org/apache/cxf/systest/servlet/web.xml";
- }
-
- protected ServletUnitClient newClient() {
- return sr.newClient();
- }
-
- /**
- * Here we expect an errorCode other than 200, and look for it checking for
- * text is omitted as it doesnt work. It would never work on java1.3, but
- * one may have expected java1.4+ to have access to the error stream in
- * responses. Clearly not.
- *
- * @param request
- * @param errorCode
- * @param errorText optional text string to search for
- * @throws MalformedURLException
- * @throws IOException
- * @throws SAXException
- */
- protected void expectErrorCode(WebRequest request, int errorCode, String errorText)
- throws MalformedURLException, IOException, SAXException {
- String failureText = "Expected error " + errorCode + " from " + request.getURL();
-
- try {
- newClient().getResponse(request);
- fail(errorText + " -got success instead");
- } catch (HttpException e) {
- assertEquals(failureText, errorCode, e.getResponseCode());
- /*
- * checking for text omitted as it doesnt work. if(errorText!=null) {
- * assertTrue( "Failed to find "+errorText+" in "+
- * e.getResponseMessage(), e.getMessage().indexOf(errorText)>=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.servlet;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+
+import org.xml.sax.SAXException;
+
+import com.meterware.httpunit.HttpException;
+import com.meterware.httpunit.HttpNotFoundException;
+import com.meterware.httpunit.HttpUnitOptions;
+import com.meterware.httpunit.WebRequest;
+import com.meterware.servletunit.ServletRunner;
+import com.meterware.servletunit.ServletUnitClient;
+
+import org.apache.cxf.test.AbstractCXFTest;
+import org.junit.Before;
+
+public abstract class AbstractServletTest extends AbstractCXFTest {
+ public static final String CONTEXT = "/mycontext";
+ public static final String CONTEXT_URL = "http://localhost/mycontext";
+ protected ServletRunner sr;
+
+ @Before
+ public void setUp() throws Exception {
+ InputStream configurationStream = getResourceAsStream(getConfiguration());
+ sr = new ServletRunner(configurationStream, CONTEXT);
+
+ try {
+ sr.newClient().getResponse(CONTEXT_URL + "/services");
+ } catch (HttpNotFoundException e) {
+ // ignore, we just want to boot up the servlet
+ }
+
+ HttpUnitOptions.setExceptionsThrownOnErrorStatus(true);
+ }
+
+ /**
+ * @return The web.xml to use for testing.
+ */
+ protected String getConfiguration() {
+ return "/org/apache/cxf/systest/servlet/web.xml";
+ }
+
+ protected ServletUnitClient newClient() {
+ return sr.newClient();
+ }
+
+ /**
+ * Here we expect an errorCode other than 200, and look for it checking for
+ * text is omitted as it doesnt work. It would never work on java1.3, but
+ * one may have expected java1.4+ to have access to the error stream in
+ * responses. Clearly not.
+ *
+ * @param request
+ * @param errorCode
+ * @param errorText optional text string to search for
+ * @throws MalformedURLException
+ * @throws IOException
+ * @throws SAXException
+ */
+ protected void expectErrorCode(WebRequest request, int errorCode, String errorText)
+ throws MalformedURLException, IOException, SAXException {
+ String failureText = "Expected error " + errorCode + " from " + request.getURL();
+
+ try {
+ newClient().getResponse(request);
+ fail(errorText + " -got success instead");
+ } catch (HttpException e) {
+ assertEquals(failureText, errorCode, e.getResponseCode());
+ /*
+ * checking for text omitted as it doesnt work. if(errorText!=null) {
+ * assertTrue( "Failed to find "+errorText+" in "+
+ * e.getResponseMessage(), e.getMessage().indexOf(errorText)>=0); }
+ */
+ }
+ }
+}
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/AbstractServletTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java Thu Jun 9 15:08:22 2011
@@ -1,43 +1,43 @@
-/**
- * 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.servlet;
-
-import com.meterware.httpunit.GetMethodWebRequest;
-
-//Customer WebRequest for sending the "http://localhost/xxx?wsdl" request
-public class GetMethodQueryWebRequest extends GetMethodWebRequest {
- private String urlString;
-
- public GetMethodQueryWebRequest(String urlStr) {
- super(urlStr);
- urlString = urlStr;
- }
-
- public String getQueryString() {
- int pos = urlString.indexOf('?');
- if (pos > 0) {
- return urlString.substring(pos + 1);
- } else {
- return "";
- }
- }
-
-
-
-}
+/**
+ * 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.servlet;
+
+import com.meterware.httpunit.GetMethodWebRequest;
+
+//Customer WebRequest for sending the "http://localhost/xxx?wsdl" request
+public class GetMethodQueryWebRequest extends GetMethodWebRequest {
+ private String urlString;
+
+ public GetMethodQueryWebRequest(String urlStr) {
+ super(urlStr);
+ urlString = urlStr;
+ }
+
+ public String getQueryString() {
+ int pos = urlString.indexOf('?');
+ if (pos > 0) {
+ return urlString.substring(pos + 1);
+ } else {
+ return "";
+ }
+ }
+
+
+
+}
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/GetMethodQueryWebRequest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java Thu Jun 9 15:08:22 2011
@@ -1,81 +1,81 @@
-/**
- * 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.servlet;
-
-import java.io.InputStream;
-
-import com.meterware.httpunit.WebRequest;
-import com.meterware.httpunit.WebResponse;
-import com.meterware.servletunit.ServletUnitClient;
-
-import org.apache.cxf.Bus;
-import org.apache.cxf.BusException;
-import org.apache.cxf.helpers.IOUtils;
-import org.apache.cxf.io.CachedOutputStream;
-
-import org.junit.Test;
-
-
-
-public class JaxRsServletTest extends AbstractServletTest {
-
-
- @Override
- protected String getConfiguration() {
- return "/org/apache/cxf/systest/servlet/web-jaxrs.xml";
- }
-
- @Override
- protected Bus createBus() throws BusException {
- // don't set up the bus, let the servlet do it
- return null;
- }
-
- @org.junit.Ignore // this doesn't work yet
- @Test
- public void testGetThatBook123() throws Exception {
- testInvokingBookService("/jaxrs/bookstorestorage/thosebooks/123");
- }
-
- private void testInvokingBookService(String serviceAddress) throws Exception {
- ServletUnitClient client = newClient();
- client.setExceptionsThrownOnErrorStatus(false);
-
- WebRequest req =
- new GetMethodQueryWebRequest(CONTEXT_URL + serviceAddress);
-
- WebResponse response = client.getResponse(req);
- InputStream in = response.getInputStream();
- InputStream expected = JaxRsServletTest.class
- .getResourceAsStream("resources/expected_get_book123.txt");
-
- assertEquals(" Can't get the expected result ",
- getStringFromInputStream(expected),
- getStringFromInputStream(in));
-
- }
-
- private String getStringFromInputStream(InputStream in) throws Exception {
- CachedOutputStream bos = new CachedOutputStream();
- IOUtils.copy(in, bos);
- in.close();
- bos.close();
- return bos.getOut().toString();
- }
-}
+/**
+ * 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.servlet;
+
+import java.io.InputStream;
+
+import com.meterware.httpunit.WebRequest;
+import com.meterware.httpunit.WebResponse;
+import com.meterware.servletunit.ServletUnitClient;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusException;
+import org.apache.cxf.helpers.IOUtils;
+import org.apache.cxf.io.CachedOutputStream;
+
+import org.junit.Test;
+
+
+
+public class JaxRsServletTest extends AbstractServletTest {
+
+
+ @Override
+ protected String getConfiguration() {
+ return "/org/apache/cxf/systest/servlet/web-jaxrs.xml";
+ }
+
+ @Override
+ protected Bus createBus() throws BusException {
+ // don't set up the bus, let the servlet do it
+ return null;
+ }
+
+ @org.junit.Ignore // this doesn't work yet
+ @Test
+ public void testGetThatBook123() throws Exception {
+ testInvokingBookService("/jaxrs/bookstorestorage/thosebooks/123");
+ }
+
+ private void testInvokingBookService(String serviceAddress) throws Exception {
+ ServletUnitClient client = newClient();
+ client.setExceptionsThrownOnErrorStatus(false);
+
+ WebRequest req =
+ new GetMethodQueryWebRequest(CONTEXT_URL + serviceAddress);
+
+ WebResponse response = client.getResponse(req);
+ InputStream in = response.getInputStream();
+ InputStream expected = JaxRsServletTest.class
+ .getResourceAsStream("resources/expected_get_book123.txt");
+
+ assertEquals(" Can't get the expected result ",
+ getStringFromInputStream(expected),
+ getStringFromInputStream(in));
+
+ }
+
+ private String getStringFromInputStream(InputStream in) throws Exception {
+ CachedOutputStream bos = new CachedOutputStream();
+ IOUtils.copy(in, bos);
+ in.close();
+ bos.close();
+ return bos.getOut().toString();
+ }
+}
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/JaxRsServletTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java Thu Jun 9 15:08:22 2011
@@ -1,73 +1,73 @@
-/**
- * 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.servlet.resolver;
-
-
-import java.net.URL;
-
-import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
-import org.eclipse.jetty.server.Connector;
-import org.eclipse.jetty.server.Handler;
-import org.eclipse.jetty.server.Server;
-import org.eclipse.jetty.server.handler.DefaultHandler;
-import org.eclipse.jetty.server.handler.HandlerCollection;
-import org.eclipse.jetty.server.nio.SelectChannelConnector;
-import org.eclipse.jetty.webapp.WebAppContext;
-
-import org.junit.Test;
-
-
-public class ResolverTest extends AbstractBusClientServerTestBase {
- public static final String PORT = allocatePort(ResolverTest.class);
-
- public ResolverTest() {
- }
-
- @Test
- public void startServer() throws Throwable {
- Server server = new org.eclipse.jetty.server.Server();
-
- SelectChannelConnector connector = new SelectChannelConnector();
- connector.setPort(Integer.parseInt(PORT));
- server.setConnectors(new Connector[] {connector});
-
- WebAppContext webappcontext = new WebAppContext();
- webappcontext.setContextPath("/resolver");
-
- String warPath = null;
- URL res = getClass().getResource("/resolver");
- warPath = res.toURI().getPath();
-
- webappcontext.setWar(warPath);
-
- HandlerCollection handlers = new HandlerCollection();
- handlers.setHandlers(new Handler[] {webappcontext, new DefaultHandler()});
- server.setHandler(handlers);
- server.start();
- Throwable e = webappcontext.getUnavailableException();
- if (e != null) {
- throw e;
- }
- server.stop();
- }
-
-
-}
-
+/**
+ * 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.servlet.resolver;
+
+
+import java.net.URL;
+
+import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
+import org.eclipse.jetty.server.Connector;
+import org.eclipse.jetty.server.Handler;
+import org.eclipse.jetty.server.Server;
+import org.eclipse.jetty.server.handler.DefaultHandler;
+import org.eclipse.jetty.server.handler.HandlerCollection;
+import org.eclipse.jetty.server.nio.SelectChannelConnector;
+import org.eclipse.jetty.webapp.WebAppContext;
+
+import org.junit.Test;
+
+
+public class ResolverTest extends AbstractBusClientServerTestBase {
+ public static final String PORT = allocatePort(ResolverTest.class);
+
+ public ResolverTest() {
+ }
+
+ @Test
+ public void startServer() throws Throwable {
+ Server server = new org.eclipse.jetty.server.Server();
+
+ SelectChannelConnector connector = new SelectChannelConnector();
+ connector.setPort(Integer.parseInt(PORT));
+ server.setConnectors(new Connector[] {connector});
+
+ WebAppContext webappcontext = new WebAppContext();
+ webappcontext.setContextPath("/resolver");
+
+ String warPath = null;
+ URL res = getClass().getResource("/resolver");
+ warPath = res.toURI().getPath();
+
+ webappcontext.setWar(warPath);
+
+ HandlerCollection handlers = new HandlerCollection();
+ handlers.setHandlers(new Handler[] {webappcontext, new DefaultHandler()});
+ server.setHandler(handlers);
+ server.start();
+ Throwable e = webappcontext.getUnavailableException();
+ if (e != null) {
+ throw e;
+ }
+ server.stop();
+ }
+
+
+}
+
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/resolver/ResolverTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml Thu Jun 9 15:08:22 2011
@@ -1,50 +1,50 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!DOCTYPE web-app
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<!--
- 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.
--->
-
-<web-app>
-
- <servlet>
- <servlet-name>CXFServlet</servlet-name>
- <display-name>CXF Servlet</display-name>
- <servlet-class>
- org.apache.cxf.transport.servlet.CXFServlet
- </servlet-class>
- <init-param>
- <param-name>config-location</param-name>
- <param-value>classpath:/org/apache/cxf/systest/servlet/cxf-servlet.xml</param-value>
- </init-param>
- <!--init-param>
- <param-name>bus.id</param-name>
- <param-value>servlet.systest.bus.id</param-value>
- </init-param-->
- </servlet>
-
- <servlet-mapping>
- <servlet-name>CXFServlet</servlet-name>
- <url-pattern>/services/*</url-pattern>
- </servlet-mapping>
-
-
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!--
+ 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.
+-->
+
+<web-app>
+
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+ <display-name>CXF Servlet</display-name>
+ <servlet-class>
+ org.apache.cxf.transport.servlet.CXFServlet
+ </servlet-class>
+ <init-param>
+ <param-name>config-location</param-name>
+ <param-value>classpath:/org/apache/cxf/systest/servlet/cxf-servlet.xml</param-value>
+ </init-param>
+ <!--init-param>
+ <param-name>bus.id</param-name>
+ <param-value>servlet.systest.bus.id</param-value>
+ </init-param-->
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/services/*</url-pattern>
+ </servlet-mapping>
+
+
</web-app>
\ No newline at end of file
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/servlet/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml (original)
+++ cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml Thu Jun 9 15:08:22 2011
@@ -1,53 +1,53 @@
-<?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:http="http://cxf.apache.org/transports/http/configuration"
- xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xsi:schemaLocation="
- http://cxf.apache.org/configuration/security
- http://cxf.apache.org/schemas/configuration/security.xsd
- http://cxf.apache.org/transports/http/configuration
- http://cxf.apache.org/schemas/configuration/http-conf.xsd
- http://cxf.apache.org/transports/http-jetty/configuration
- http://cxf.apache.org/schemas/configuration/http-jetty.xsd
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://cxf.apache.org/jaxws
- http://cxf.apache.org/schemas/jaxws.xsd">
-
- <import resource="classpath:META-INF/cxf/cxf.xml"/>
-
- <!-- Resolve wsdl using the classloader -->
- <jaxws:endpoint
- id="greeter1"
- address="/greeter"
- implementor="org.apache.hello_world_soap_http.GreeterImpl"
- wsdlLocation="/org/apache/cxf/systest/servlet/hello_world.wsdl" />
-
- <!-- Resolve wsdl using the servlet context -->
- <jaxws:endpoint
- id="greeter2"
- address="/greeter2"
- implementor="org.apache.hello_world_soap_http.GreeterImpl"
- wsdlLocation="wsdl/hello_world.wsdl" />
-</beans>
+<?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:http="http://cxf.apache.org/transports/http/configuration"
+ xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
+ xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xsi:schemaLocation="
+ http://cxf.apache.org/configuration/security
+ http://cxf.apache.org/schemas/configuration/security.xsd
+ http://cxf.apache.org/transports/http/configuration
+ http://cxf.apache.org/schemas/configuration/http-conf.xsd
+ http://cxf.apache.org/transports/http-jetty/configuration
+ http://cxf.apache.org/schemas/configuration/http-jetty.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://cxf.apache.org/jaxws
+ http://cxf.apache.org/schemas/jaxws.xsd">
+
+ <import resource="classpath:META-INF/cxf/cxf.xml"/>
+
+ <!-- Resolve wsdl using the classloader -->
+ <jaxws:endpoint
+ id="greeter1"
+ address="/greeter"
+ implementor="org.apache.hello_world_soap_http.GreeterImpl"
+ wsdlLocation="/org/apache/cxf/systest/servlet/hello_world.wsdl" />
+
+ <!-- Resolve wsdl using the servlet context -->
+ <jaxws:endpoint
+ id="greeter2"
+ address="/greeter2"
+ implementor="org.apache.hello_world_soap_http.GreeterImpl"
+ wsdlLocation="wsdl/hello_world.wsdl" />
+</beans>
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/beans.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml (original)
+++ cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml Thu Jun 9 15:08:22 2011
@@ -1,41 +1,41 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE web-app
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
- "http://java.sun.com/dtd/web-app_2_3.dtd">
-<!-- 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. -->
-
-<web-app>
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>WEB-INF/beans.xml</param-value>
- </context-param>
-
- <listener>
- <listener-class>
- org.springframework.web.context.ContextLoaderListener
- </listener-class>
- </listener>
-
- <servlet>
- <servlet-name>CXFServlet</servlet-name>
- <display-name>CXF Servlet</display-name>
- <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>CXFServlet</servlet-name>
- <url-pattern>/*</url-pattern>
-
- </servlet-mapping>
-
-</web-app>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<!-- 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. -->
+
+<web-app>
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>WEB-INF/beans.xml</param-value>
+ </context-param>
+
+ <listener>
+ <listener-class>
+ org.springframework.web.context.ContextLoaderListener
+ </listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+ <display-name>CXF Servlet</display-name>
+ <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/*</url-pattern>
+
+ </servlet-mapping>
+
+</web-app>
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl?rev=1133913&r1=1133912&r2=1133913&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl (original)
+++ cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl Thu Jun 9 15:08:22 2011
@@ -1,397 +1,397 @@
-<?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"
- xmlns:x1="http://apache.org/hello_world_soap_http/types"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld">
-
- <import location="test_import.xsd" namespace="http://apache.org/hello_world_soap_http_import"/>
-
- <wsdl:types>
- <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types" elementFormDefault="qualified">
- <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="string"/>
- </sequence>
- </complexType>
- </element>
- <element name="greetMeResponse">
- <complexType>
- <sequence>
- <element name="responseType" type="string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="testNillable">
- <complexType>
- <sequence>
- <element name="NillElem" nillable="true" type="string"/>
- <element name="intElem" type="int"/>
- </sequence>
- </complexType>
- </element>
- <element name="testNillableResponse">
- <complexType>
- <sequence>
- <element name="responseType" nillable="true" type="string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="greetMeLater">
- <complexType>
- <sequence>
- <element name="requestType" type="long"/>
- </sequence>
- </complexType>
- </element>
- <element name="greetMeLaterResponse">
- <complexType>
- <sequence>
- <element name="responseType" type="string"/>
- </sequence>
- </complexType>
- </element>
- <element name="greetMeSometime">
- <complexType>
- <sequence>
- <element name="requestType" type="string"/>
- </sequence>
- </complexType>
- </element>
- <element name="greetMeSometimeResponse">
- <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="testDocLitFault">
- <complexType>
- <sequence>
- <element name="faultType" type="string"/>
- </sequence>
- </complexType>
- </element>
- <element name="testDocLitFaultResponse">
- <complexType>
- <sequence/>
- </complexType>
- </element>
- <complexType name="ErrorCode">
- <sequence>
- <element name="minor" type="short"/>
- <element name="major" type="short"/>
- </sequence>
- </complexType>
- <element name="NoSuchCodeLit">
- <complexType>
- <sequence>
- <element name="code" type="x1:ErrorCode"/>
- </sequence>
- </complexType>
- </element>
- <element name="BadRecordLit" type="string"/>
- <complexType name="BadRecord">
- <sequence>
- <element name="reason" type="string"/>
- <element name="code" type="short"/>
- </sequence>
- </complexType>
- <complexType name="addNumbers">
- <sequence>
- <element name="arg0" type="int"/>
- <element name="arg1" type="int"/>
- </sequence>
- </complexType>
- <element name="addNumbers" type="x1:addNumbers"/>
- <complexType name="addNumbersResponse">
- <sequence>
- <element name="return" type="int"/>
- </sequence>
- </complexType>
- <element name="addNumbersResponse" type="x1:addNumbersResponse"/>
- <complexType name="stringStruct">
- <sequence>
- <element name="arg0" type="string"/>
- <element name="arg1" type="string"/>
- </sequence>
- </complexType>
- <element name="BareDocument" type="string"/>
- <element name="BareDocumentResponse">
- <complexType>
- <sequence>
- <element name="company" type="string"/>
- </sequence>
- <attribute name="id" type="int"/>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
- <wsdl:message name="sayHiRequest">
- <wsdl:part name="in" element="x1:sayHi"/>
- </wsdl:message>
- <wsdl:message name="sayHiResponse">
- <wsdl:part name="out" element="x1:sayHiResponse"/>
- </wsdl:message>
- <wsdl:message name="greetMeRequest">
- <wsdl:part name="in" element="x1:greetMe"/>
- </wsdl:message>
- <wsdl:message name="greetMeResponse">
- <wsdl:part name="out" element="x1:greetMeResponse"/>
- </wsdl:message>
- <wsdl:message name="testNillableRequest">
- <wsdl:part name="in" element="x1:testNillable"/>
- </wsdl:message>
- <wsdl:message name="testNillableResponse">
- <wsdl:part name="out" element="x1:testNillableResponse"/>
- </wsdl:message>
- <wsdl:message name="greetMeLaterRequest">
- <wsdl:part name="in" element="x1:greetMeLater"/>
- </wsdl:message>
- <wsdl:message name="greetMeLaterResponse">
- <wsdl:part name="out" element="x1:greetMeLaterResponse"/>
- </wsdl:message>
- <wsdl:message name="greetMeSometimeRequest">
- <wsdl:part name="in" element="x1:greetMeSometime"/>
- </wsdl:message>
- <wsdl:message name="greetMeSometimeResponse">
- <wsdl:part name="out" element="x1:greetMeSometimeResponse"/>
- </wsdl:message>
- <wsdl:message name="greetMeOneWayRequest">
- <wsdl:part name="in" element="x1:greetMeOneWay"/>
- </wsdl:message>
- <wsdl:message name="testDocLitFaultRequest">
- <wsdl:part name="in" element="x1:testDocLitFault"/>
- </wsdl:message>
- <wsdl:message name="testDocLitFaultResponse">
- <wsdl:part name="out" element="x1:testDocLitFaultResponse"/>
- </wsdl:message>
- <wsdl:message name="NoSuchCodeLitFault">
- <wsdl:part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
- </wsdl:message>
- <wsdl:message name="BadRecordLitFault">
- <wsdl:part name="BadRecordLit" element="x1:BadRecordLit"/>
- </wsdl:message>
- <wsdl:message name="testDocLitBareRequest">
- <wsdl:part name="in" element="x1:BareDocument"/>
- </wsdl:message>
- <wsdl:message name="testDocLitBareResponse">
- <wsdl:part name="out" element="x1:BareDocumentResponse"/>
- </wsdl:message>
- <wsdl:portType name="Greeter">
- <wsdl:operation name="sayHi">
- <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
- <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
- </wsdl:operation>
- <wsdl:operation name="greetMe">
- <wsdl:input name="greetMeRequest" message="tns:greetMeRequest"/>
- <wsdl:output name="greetMeResponse" message="tns:greetMeResponse"/>
- </wsdl:operation>
- <wsdl:operation name="testNillable">
- <wsdl:input name="testNillableRequest" message="tns:testNillableRequest"/>
- <wsdl:output name="testNillableResponse" message="tns:testNillableResponse"/>
- </wsdl:operation>
- <wsdl:operation name="greetMeLater">
- <wsdl:input name="greetMeLaterRequest" message="tns:greetMeLaterRequest"/>
- <wsdl:output name="greetMeLaterResponse" message="tns:greetMeLaterResponse"/>
- </wsdl:operation>
- <wsdl:operation name="greetMeSometime">
- <wsdl:input name="greetMeSometimeRequest" message="tns:greetMeSometimeRequest"/>
- <wsdl:output name="greetMeSometimeResponse" message="tns:greetMeSometimeResponse"/>
- </wsdl:operation>
- <wsdl:operation name="greetMeOneWay">
- <wsdl:input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"/>
- </wsdl:operation>
- <wsdl:operation name="testDocLitFault">
- <wsdl:input name="testDocLitFaultRequest" message="tns:testDocLitFaultRequest"/>
- <wsdl:output name="testDocLitFaultResponse" message="tns:testDocLitFaultResponse"/>
- <wsdl:fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
- <wsdl:fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
- </wsdl:operation>
-
- </wsdl:portType>
-
- <wsdl:portType name="DocLitBare">
- <wsdl:operation name="testDocLitBare">
- <wsdl:input name="testDocLitBareRequest" message="tns:testDocLitBareRequest"/>
- <wsdl:output name="testDocLitBareResponse" message="tns:testDocLitBareResponse"/>
- </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 style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="greetMe">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="testNillable">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="greetMeLater">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="greetMeSometime">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="greetMeOneWay">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- </wsdl:operation>
- <wsdl:operation name="testDocLitFault">
- <soap:operation style="document"/>
- <wsdl:input>
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="NoSuchCodeLitFault">
- <soap:fault name="NoSuchCodeLitFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="BadRecordLitFault">
- <soap:fault name="BadRecordLitFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- </wsdl:binding>
- <wsdl:binding name="Doc_Lit_Bare_SOAPBinding" type="tns:DocLitBare">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="testDocLitBare">
- <soap:operation style="document" soapAction="http://apache.org/hello_world_soap_http/testDocLitBare"/>
- <wsdl:input name="testDocLitBareRequest">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="testDocLitBareResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
-
- <wsdl:service name="SOAPService">
- <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
- </wsdl:port>
-
- <wsdl:port name="SoapPort1" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:7000/SoapContext/SoapPort"/>
- </wsdl:port>
- </wsdl:service>
-
- <wsdl:service name="SOAPProviderService">
- <wsdl:port name="SoapProviderPort" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9003/SoapContext/SoapProviderPort"/>
- </wsdl:port>
- </wsdl:service>
-
- <wsdl:service name="SOAPDispatchService">
- <wsdl:port name="SoapDispatchPort" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9006/SOAPDispatchService/SoapDispatchPort"/>
- </wsdl:port>
- </wsdl:service>
-
- <wsdl:service name="SOAPService_DocLitBare">
- <wsdl:port name="SoapPort2" binding="tns:Doc_Lit_Bare_SOAPBinding">
- <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
- </wsdl:port>
- </wsdl:service>
- <wsdl:service name="SOAPServiceAddressingDocLitBare">
- <wsdl:port name="SoapPort" binding="tns:Doc_Lit_Bare_SOAPBinding">
- <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
- <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
- </wsdl:port>
- </wsdl:service>
- <wsdl:service name="SOAPService_Test1">
- <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9100"/>
- </wsdl:port>
- <wsdl:port name="SoapPort_Test2" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9101"/>
- </wsdl:port>
- </wsdl:service>
- <wsdl:service name="SOAPServiceAddressing">
- <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9008/SoapContext/SoapPort"/>
- <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
- </wsdl:port>
- </wsdl:service>
- <wsdl:service name="SOAPServiceConcurrencyTest">
- <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
- <soap:address location="http://localhost:9009/SoapContext/SoapPort"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
-
+<?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"
+ xmlns:x1="http://apache.org/hello_world_soap_http/types"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://apache.org/hello_world_soap_http" name="HelloWorld">
+
+ <import location="test_import.xsd" namespace="http://apache.org/hello_world_soap_http_import"/>
+
+ <wsdl:types>
+ <schema targetNamespace="http://apache.org/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x1="http://apache.org/hello_world_soap_http/types" elementFormDefault="qualified">
+ <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="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeResponse">
+ <complexType>
+ <sequence>
+ <element name="responseType" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="testNillable">
+ <complexType>
+ <sequence>
+ <element name="NillElem" nillable="true" type="string"/>
+ <element name="intElem" type="int"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="testNillableResponse">
+ <complexType>
+ <sequence>
+ <element name="responseType" nillable="true" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="greetMeLater">
+ <complexType>
+ <sequence>
+ <element name="requestType" type="long"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeLaterResponse">
+ <complexType>
+ <sequence>
+ <element name="responseType" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeSometime">
+ <complexType>
+ <sequence>
+ <element name="requestType" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="greetMeSometimeResponse">
+ <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="testDocLitFault">
+ <complexType>
+ <sequence>
+ <element name="faultType" type="string"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="testDocLitFaultResponse">
+ <complexType>
+ <sequence/>
+ </complexType>
+ </element>
+ <complexType name="ErrorCode">
+ <sequence>
+ <element name="minor" type="short"/>
+ <element name="major" type="short"/>
+ </sequence>
+ </complexType>
+ <element name="NoSuchCodeLit">
+ <complexType>
+ <sequence>
+ <element name="code" type="x1:ErrorCode"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="BadRecordLit" type="string"/>
+ <complexType name="BadRecord">
+ <sequence>
+ <element name="reason" type="string"/>
+ <element name="code" type="short"/>
+ </sequence>
+ </complexType>
+ <complexType name="addNumbers">
+ <sequence>
+ <element name="arg0" type="int"/>
+ <element name="arg1" type="int"/>
+ </sequence>
+ </complexType>
+ <element name="addNumbers" type="x1:addNumbers"/>
+ <complexType name="addNumbersResponse">
+ <sequence>
+ <element name="return" type="int"/>
+ </sequence>
+ </complexType>
+ <element name="addNumbersResponse" type="x1:addNumbersResponse"/>
+ <complexType name="stringStruct">
+ <sequence>
+ <element name="arg0" type="string"/>
+ <element name="arg1" type="string"/>
+ </sequence>
+ </complexType>
+ <element name="BareDocument" type="string"/>
+ <element name="BareDocumentResponse">
+ <complexType>
+ <sequence>
+ <element name="company" type="string"/>
+ </sequence>
+ <attribute name="id" type="int"/>
+ </complexType>
+ </element>
+ </schema>
+ </wsdl:types>
+ <wsdl:message name="sayHiRequest">
+ <wsdl:part name="in" element="x1:sayHi"/>
+ </wsdl:message>
+ <wsdl:message name="sayHiResponse">
+ <wsdl:part name="out" element="x1:sayHiResponse"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeRequest">
+ <wsdl:part name="in" element="x1:greetMe"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeResponse">
+ <wsdl:part name="out" element="x1:greetMeResponse"/>
+ </wsdl:message>
+ <wsdl:message name="testNillableRequest">
+ <wsdl:part name="in" element="x1:testNillable"/>
+ </wsdl:message>
+ <wsdl:message name="testNillableResponse">
+ <wsdl:part name="out" element="x1:testNillableResponse"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeLaterRequest">
+ <wsdl:part name="in" element="x1:greetMeLater"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeLaterResponse">
+ <wsdl:part name="out" element="x1:greetMeLaterResponse"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeSometimeRequest">
+ <wsdl:part name="in" element="x1:greetMeSometime"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeSometimeResponse">
+ <wsdl:part name="out" element="x1:greetMeSometimeResponse"/>
+ </wsdl:message>
+ <wsdl:message name="greetMeOneWayRequest">
+ <wsdl:part name="in" element="x1:greetMeOneWay"/>
+ </wsdl:message>
+ <wsdl:message name="testDocLitFaultRequest">
+ <wsdl:part name="in" element="x1:testDocLitFault"/>
+ </wsdl:message>
+ <wsdl:message name="testDocLitFaultResponse">
+ <wsdl:part name="out" element="x1:testDocLitFaultResponse"/>
+ </wsdl:message>
+ <wsdl:message name="NoSuchCodeLitFault">
+ <wsdl:part name="NoSuchCodeLit" element="x1:NoSuchCodeLit"/>
+ </wsdl:message>
+ <wsdl:message name="BadRecordLitFault">
+ <wsdl:part name="BadRecordLit" element="x1:BadRecordLit"/>
+ </wsdl:message>
+ <wsdl:message name="testDocLitBareRequest">
+ <wsdl:part name="in" element="x1:BareDocument"/>
+ </wsdl:message>
+ <wsdl:message name="testDocLitBareResponse">
+ <wsdl:part name="out" element="x1:BareDocumentResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="Greeter">
+ <wsdl:operation name="sayHi">
+ <wsdl:input name="sayHiRequest" message="tns:sayHiRequest"/>
+ <wsdl:output name="sayHiResponse" message="tns:sayHiResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="greetMe">
+ <wsdl:input name="greetMeRequest" message="tns:greetMeRequest"/>
+ <wsdl:output name="greetMeResponse" message="tns:greetMeResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="testNillable">
+ <wsdl:input name="testNillableRequest" message="tns:testNillableRequest"/>
+ <wsdl:output name="testNillableResponse" message="tns:testNillableResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeLater">
+ <wsdl:input name="greetMeLaterRequest" message="tns:greetMeLaterRequest"/>
+ <wsdl:output name="greetMeLaterResponse" message="tns:greetMeLaterResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeSometime">
+ <wsdl:input name="greetMeSometimeRequest" message="tns:greetMeSometimeRequest"/>
+ <wsdl:output name="greetMeSometimeResponse" message="tns:greetMeSometimeResponse"/>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeOneWay">
+ <wsdl:input name="greetMeOneWayRequest" message="tns:greetMeOneWayRequest"/>
+ </wsdl:operation>
+ <wsdl:operation name="testDocLitFault">
+ <wsdl:input name="testDocLitFaultRequest" message="tns:testDocLitFaultRequest"/>
+ <wsdl:output name="testDocLitFaultResponse" message="tns:testDocLitFaultResponse"/>
+ <wsdl:fault name="NoSuchCodeLitFault" message="tns:NoSuchCodeLitFault"/>
+ <wsdl:fault name="BadRecordLitFault" message="tns:BadRecordLitFault"/>
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:portType name="DocLitBare">
+ <wsdl:operation name="testDocLitBare">
+ <wsdl:input name="testDocLitBareRequest" message="tns:testDocLitBareRequest"/>
+ <wsdl:output name="testDocLitBareResponse" message="tns:testDocLitBareResponse"/>
+ </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 style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="greetMe">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="testNillable">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeLater">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeSometime">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="greetMeOneWay">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ <wsdl:operation name="testDocLitFault">
+ <soap:operation style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="NoSuchCodeLitFault">
+ <soap:fault name="NoSuchCodeLitFault" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="BadRecordLitFault">
+ <soap:fault name="BadRecordLitFault" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ </wsdl:binding>
+ <wsdl:binding name="Doc_Lit_Bare_SOAPBinding" type="tns:DocLitBare">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="testDocLitBare">
+ <soap:operation style="document" soapAction="http://apache.org/hello_world_soap_http/testDocLitBare"/>
+ <wsdl:input name="testDocLitBareRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="testDocLitBareResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+
+ <wsdl:service name="SOAPService">
+ <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
+ </wsdl:port>
+
+ <wsdl:port name="SoapPort1" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:7000/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <wsdl:service name="SOAPProviderService">
+ <wsdl:port name="SoapProviderPort" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9003/SoapContext/SoapProviderPort"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <wsdl:service name="SOAPDispatchService">
+ <wsdl:port name="SoapDispatchPort" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9006/SOAPDispatchService/SoapDispatchPort"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <wsdl:service name="SOAPService_DocLitBare">
+ <wsdl:port name="SoapPort2" binding="tns:Doc_Lit_Bare_SOAPBinding">
+ <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+ <wsdl:service name="SOAPServiceAddressingDocLitBare">
+ <wsdl:port name="SoapPort" binding="tns:Doc_Lit_Bare_SOAPBinding">
+ <soap:address location="http://localhost:7600/SoapContext/SoapPort"/>
+ <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
+ </wsdl:port>
+ </wsdl:service>
+ <wsdl:service name="SOAPService_Test1">
+ <wsdl:port name="SoapPort_Test1" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9100"/>
+ </wsdl:port>
+ <wsdl:port name="SoapPort_Test2" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9101"/>
+ </wsdl:port>
+ </wsdl:service>
+ <wsdl:service name="SOAPServiceAddressing">
+ <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9008/SoapContext/SoapPort"/>
+ <wswa:UsingAddressing xmlns:wswa="http://www.w3.org/2005/02/addressing/wsdl"/>
+ </wsdl:port>
+ </wsdl:service>
+ <wsdl:service name="SOAPServiceConcurrencyTest">
+ <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
+ <soap:address location="http://localhost:9009/SoapContext/SoapPort"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
+
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/transports/src/test/java/resolver/WEB-INF/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/client/SamlCallbackHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/client/SamlCallbackHandler.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/CustomSaml2Validator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/CustomSaml2Validator.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/Server.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/server/Server.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/server/Server.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/server/Server.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/X509TokenTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/server/DoubleItImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/server/Server.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/x509/server/Server.java
------------------------------------------------------------------------------
svn:keywords = Rev Date