[jboss-svn-commits] JBossWS SVN: r682 - in branches/jbossws-1.0: . src/main/java/javax/xml/ws src/main/java/javax/xml/ws/addressing src/main/java/javax/xml/ws/handler src/main/java/javax/xml/ws/handler/soap src/main/java/javax/xml/ws/http src/main/java/javax/xml/ws/soap src/main/java/javax/xml/ws/spi src/main/java/org/jboss/ws/binding src/main/java/org/jboss/ws/metadata/wsdl src/test src/test/java/org/jboss/test/ws/benchmark src/test/java/org/jboss/test/ws/jbws947
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 4 04:45:21 EDT 2006
Author: thomas.diesler at jboss.com
Date: 2006-08-04 04:44:22 -0400 (Fri, 04 Aug 2006)
New Revision: 682
Removed:
branches/jbossws-1.0/src/main/java/javax/xml/ws/AsyncHandler.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Binding.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingProvider.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingType.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Dispatch.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Endpoint.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Holder.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/LogicalMessage.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/ProtocolException.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Provider.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/RequestWrapper.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Response.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/ResponseWrapper.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/Service.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/ServiceMode.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebEndpoint.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebFault.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceClient.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceContext.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceException.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServicePermission.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceProvider.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceRef.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/Handler.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/HandlerResolver.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalHandler.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalMessageContext.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/MessageContext.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/PortInfo.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPHandler.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPMessageContext.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPBinding.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPException.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPBinding.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/Provider.java
branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/ServiceDelegate.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentMarshallerImpl.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentUnmarshallerImpl.java
Modified:
branches/jbossws-1.0/.classpath
branches/jbossws-1.0/ant.properties.example
branches/jbossws-1.0/build-thirdparty.xml
branches/jbossws-1.0/src/main/java/javax/xml/ws/addressing/AddressingException.java
branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutfault.java
branches/jbossws-1.0/src/test/build.xml
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Address.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/BenchmarkService.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Customer.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/LineItem.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Order.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/OrderBL.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/SimpleUserType.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Synthetic.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws947/JBWS947TestCase.java
Log:
Remove JAXWS API
Fix compile/test classpaths
Replace invalid chars
Modified: branches/jbossws-1.0/.classpath
===================================================================
--- branches/jbossws-1.0/.classpath 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/.classpath 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,36 +1,35 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry path="src/main/java" kind="src"/>
- <classpathentry excluding="org/jboss/test/ws/interop/" path="src/test/java" kind="src"/>
- <classpathentry path="thirdparty/activation.jar" kind="lib"/>
- <classpathentry sourcepath="D:/cvs/JBossRemoting/src/main" path="thirdparty/jboss-remoting.jar" kind="lib"/>
- <classpathentry path="thirdparty/mailapi.jar" kind="lib"/>
- <classpathentry path="thirdparty/qdox.jar" kind="lib"/>
- <classpathentry path="thirdparty/servlet-api.jar" kind="lib"/>
- <classpathentry sourcepath="D:/java/sourceforge/wsdl4j-1_5_2jboss/src" path="thirdparty/wsdl4j.jar" kind="lib"/>
- <classpathentry path="thirdparty/xercesImpl.jar" kind="lib"/>
- <classpathentry path="thirdparty/xml-apis.jar" kind="lib"/>
- <classpathentry path="thirdparty/xmlsec.jar" kind="lib"/>
- <classpathentry path="thirdparty/xmlunit1.0.jar" kind="lib"/>
- <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
- <classpathentry path="org.eclipse.jdt.USER_LIBRARY/ant-1.6.5" kind="con"/>
- <classpathentry path="thirdparty/xalan.jar" kind="lib"/>
- <classpathentry path="thirdparty/junit.jar" kind="lib"/>
- <classpathentry path="thirdparty/concurrent.jar" kind="lib"/>
- <classpathentry path="thirdparty/javassist.jar" kind="lib"/>
- <classpathentry path="thirdparty/policy-1.0.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-container.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-dependency.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-microcontainer.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-xml-binding.jar" kind="lib"/>
- <classpathentry path="thirdparty/stax-api-1.0.jar" kind="lib"/>
- <classpathentry path="thirdparty/wstx-lgpl-2.0.6.jar" kind="lib"/>
- <classpathentry path="thirdparty/jaxb-api.jar" kind="lib"/>
- <classpathentry path="thirdparty/jaxb-impl.jar" kind="lib"/>
- <classpathentry path="org.eclipse.jdt.USER_LIBRARY/jboss-4.0.x" kind="con"/>
- <classpathentry sourcepath="D:/cvs/jboss-branch/jboss-4.0.x/common/src/main" path="thirdparty/jboss-common.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-j2ee.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-jmx.jar" kind="lib"/>
- <classpathentry path="thirdparty/jboss-system.jar" kind="lib"/>
- <classpathentry path="output-eclipse" kind="output"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry excluding="org/jboss/test/ws/interop/" kind="src" path="src/test/java"/>
+ <classpathentry kind="lib" path="thirdparty/activation.jar"/>
+ <classpathentry sourcepath="D:/cvs/JBossRemoting/src/main" kind="lib" path="thirdparty/jboss-remoting.jar"/>
+ <classpathentry kind="lib" path="thirdparty/mailapi.jar"/>
+ <classpathentry kind="lib" path="thirdparty/qdox.jar"/>
+ <classpathentry kind="lib" path="thirdparty/servlet-api.jar"/>
+ <classpathentry sourcepath="D:/java/sourceforge/wsdl4j-1_5_2jboss/src" kind="lib" path="thirdparty/wsdl4j.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xercesImpl.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xml-apis.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xmlsec.jar"/>
+ <classpathentry kind="lib" path="thirdparty/xmlunit1.0.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="thirdparty/xalan.jar"/>
+ <classpathentry kind="lib" path="thirdparty/junit.jar"/>
+ <classpathentry kind="lib" path="thirdparty/concurrent.jar"/>
+ <classpathentry kind="lib" path="thirdparty/javassist.jar"/>
+ <classpathentry kind="lib" path="thirdparty/policy-1.0.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-container.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-dependency.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-microcontainer.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-xml-binding.jar"/>
+ <classpathentry kind="lib" path="thirdparty/stax-api-1.0.jar"/>
+ <classpathentry kind="lib" path="thirdparty/wstx-lgpl-2.0.6.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-4.0.x"/>
+ <classpathentry sourcepath="D:/cvs/jboss-branch/jboss-4.0.x/common/src/main" kind="lib" path="thirdparty/jboss-common.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-j2ee.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-jmx.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jboss-system.jar"/>
+ <classpathentry kind="lib" path="thirdparty/ant.jar"/>
+ <classpathentry kind="lib" path="thirdparty/jaxb-api.jar"/>
+ <classpathentry kind="output" path="output-eclipse"/>
+</classpath>
Modified: branches/jbossws-1.0/ant.properties.example
===================================================================
--- branches/jbossws-1.0/ant.properties.example 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/ant.properties.example 2006-08-04 08:44:22 UTC (rev 682)
@@ -3,7 +3,7 @@
#
# Required JBoss Home
-#jboss.jdk15.home=d:/cvs/jboss-branch/jboss-4.0.x/build/output/jboss-4.0.5.CR1-ejb3
+#jboss.jdk15.home=/home/tdiesler/svn/jboss/jbossas/branches/Branch_4_0/build/output/jboss-4.0.5.CR1-ejb3
# Optional JBoss Home
#jboss.jdk14.home=d:/cvs/jboss-archive/jboss-4.0.4/build/output/jboss-4.0.4.GA
Modified: branches/jbossws-1.0/build-thirdparty.xml
===================================================================
--- branches/jbossws-1.0/build-thirdparty.xml 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/build-thirdparty.xml 2006-08-04 08:44:22 UTC (rev 682)
@@ -67,9 +67,12 @@
<pathelement location="${thirdparty.dir}/javassist.jar"/>
<pathelement location="${thirdparty.dir}/concurrent.jar"/>
<pathelement location="${thirdparty.dir}/log4j.jar"/>
- <pathelement location="${thirdparty.dir}/jaxb-api.jar"/>
- <pathelement location="${thirdparty.dir}/jaxb-impl.jar"/>
- <pathelement location="${thirdparty.dir}/jaxb-xjc.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-common.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-container.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-dependency.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-microcontainer.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-remoting.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-xml-binding.jar"/>
<pathelement location="${thirdparty.dir}/junit.jar"/>
<pathelement location="${thirdparty.dir}/mailapi.jar"/>
<pathelement location="${thirdparty.dir}/policy-1.0.jar"/>
@@ -87,13 +90,7 @@
<!-- The classpath for the jbossws core -->
<path id="jboss.core.classpath">
- <pathelement location="${thirdparty.dir}/jboss-common.jar"/>
- <pathelement location="${thirdparty.dir}/jboss-container.jar"/>
- <pathelement location="${thirdparty.dir}/jboss-dependency.jar"/>
<pathelement location="${thirdparty.dir}/jboss-j2ee.jar"/>
- <pathelement location="${thirdparty.dir}/jboss-microcontainer.jar"/>
- <pathelement location="${thirdparty.dir}/jboss-remoting.jar"/>
- <pathelement location="${thirdparty.dir}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.server.lib}/jboss-jaxrpc.jar"/>
<pathelement location="${jboss.server.lib}/jboss-saaj.jar"/>
<pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-annotations-ejb3.jar"/>
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/AsyncHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/AsyncHandler.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/AsyncHandler.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-/**
- * The AsyncHandler interface is implemented by clients that wish to receive
- * callback notification of the completion of service endpoint operations
- * invoked asynchronously.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface AsyncHandler<T>
-{
-
- void handleResponse(Response<T> response);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Binding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Binding.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Binding.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,45 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.util.List;
-
-import javax.xml.ws.handler.Handler;
-
-/**
- * The Binding interface is the base interface for JAX-WS protocol bindings.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface Binding
-{
-
- /**
- * Gets a copy of the handler chain for a protocol binding instance.
- * If the returned chain is modified a call to setHandlerChain
- * is required to configure the binding instance with the new chain.
- */
- List<Handler> getHandlerChain();
-
- void setHandlerChain(List<Handler> list);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingProvider.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingProvider.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingProvider.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.util.Map;
-
-/**
- * The BindingProvider interface provides access to the protocol binding and
- * associated context objects for request and response message processing.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface BindingProvider
-{
- public static final String USERNAME_PROPERTY = "javax.xml.ws.security.auth.username";
- public static final String PASSWORD_PROPERTY = "javax.xml.ws.security.auth.password";
- public static final String ENDPOINT_ADDRESS_PROPERTY = "javax.xml.ws.service.endpoint.address";
- public static final String SESSION_MAINTAIN_PROPERTY = "javax.xml.ws.session.maintain";
- public static final String SOAPACTION_USE_PROPERTY = "javax.xml.ws.soap.http.soapaction.use";
- public static final String SOAPACTION_URI_PROPERTY = "javax.xml.ws.soap.http.soapaction.uri";
-
- Map<String, Object> getRequestContext();
-
- Map<String, Object> getResponseContext();
-
- Binding getBinding();
-
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingType.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingType.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/BindingType.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * The BindingType annotation is used to specify the binding to use for a web service
- * endpoint implementation class.
- *
- * This annotation may be overriden programmatically or via deployment descriptors,
- * depending on the platform in use.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.TYPE })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface BindingType
-{
-
- /** A binding identifier (a URI).
- * If not specified, the default is the SOAP 1.1 / HTTP binding.
- *
- * See the SOAPBinding and HTTPBinding for the definition of the standard
- * binding identifiers.
- */
- String value() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Dispatch.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Dispatch.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Dispatch.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.util.concurrent.Future;
-
-/**
- * The Dispatch interface provides support for the dynamic invocation of a service
- * endpoint operations. The javax.xml.ws.Service interface acts as a factory for
- * the creation of Dispatch instances.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface Dispatch<T> extends BindingProvider
-{
- Object invoke(Object obj);
-
- Response invokeAsync(Object obj);
-
- Future invokeAsync(Object obj, AsyncHandler asynchandler);
-
- void invokeOneWay(Object obj);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Endpoint.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Endpoint.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Endpoint.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,108 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.Executor;
-
-import javax.xml.transform.Source;
-import javax.xml.ws.spi.Provider;
-
-/**
- * A Web service endpoint.
- *
- * Endpoints are created using the static methods defined in this class.
- * An endpoint is always tied to one Binding and one implementor, both set at
- * endpoint creation time.
- *
- * An endpoint is either in a published or an unpublished state.
- * The publish methods can be used to start publishing an endpoint,
- * at which point it starts accepting incoming requests.
- * Conversely, the stop method can be used to stop accepting incoming
- * requests and take the endpoint down. Once stopped, an endpoint cannot
- * be published again.
- *
- * An Executor may be set on the endpoint in order to gain better control
- * over the threads used to dispatch incoming requests. For instance, thread
- * pooling with certain parameters can be enabled by creating a ThreadPoolExecutor
- * and registering it with the endpoint.
- *
- * Handler chains can be set using the contained Binding.
- *
- * An endpoint may have a list of metadata documents, such as WSDL and XMLSchema
- * documents, bound to it. At publishing time, the JAX-WS implementation will try
- * to reuse as much of that metadata as possible instead of generating new one
- * based on the annotations present on the implementor.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public abstract class Endpoint
-{
- public static final String WSDL_SERVICE = "javax.xml.ws.wsdl.service";
- public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
-
- public Endpoint()
- {
- }
-
- public static Endpoint create(Object implementor)
- {
- return create(null, implementor);
- }
-
- public static Endpoint create(String bindingId, Object implementor)
- {
- return Provider.provider().createEndpoint(bindingId, implementor);
- }
-
- public abstract Binding getBinding();
-
- public abstract Object getImplementor();
-
- public abstract void publish(String s);
-
- public static Endpoint publish(String address, Object implementor)
- {
- return Provider.provider().createAndPublishEndpoint(address, implementor);
- }
-
- public abstract void publish(Object obj);
-
- public abstract void stop();
-
- public abstract boolean isPublished();
-
- public abstract List<Source> getMetadata();
-
- public abstract void setMetadata(List<Source> list);
-
- public abstract Executor getExecutor();
-
- public abstract void setExecutor(Executor executor);
-
- public abstract Map<String, Object> getProperties();
-
- public abstract void setProperties(Map<String, Object> map);
-
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Holder.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Holder.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Holder.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-/**
- * Holds a value of type T.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public final class Holder<T>
-{
- public T value;
-
- public Holder()
- {
- }
-
- public Holder(T value)
- {
- this.value = value;
- }
-
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/LogicalMessage.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/LogicalMessage.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/LogicalMessage.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.transform.Source;
-
-/**
- * The LogicalMessage interface represents a protocol agnostic XML message
- * and contains methods that provide access to the payload of the message.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface LogicalMessage
-{
-
- Source getPayload();
-
- void setPayload(Source source);
-
- Object getPayload(JAXBContext jaxbcontext);
-
- void setPayload(Object obj, JAXBContext jaxbcontext);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/ProtocolException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/ProtocolException.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/ProtocolException.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-/**
- * The ProtocolException class is a base class for exceptions related to a specific
- * protocol binding. Subclasses are used to communicate protocol level fault
- * information to clients and may be used on the server to control the protocol
- * specific fault representation.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public class ProtocolException extends WebServiceException
-{
-
- public ProtocolException()
- {
- }
-
- public ProtocolException(String message)
- {
- super(message);
- }
-
- public ProtocolException(String message, Throwable cause)
- {
- super(message, cause);
- }
-
- public ProtocolException(Throwable cause)
- {
- super(cause);
- }
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Provider.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Provider.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Provider.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-/**
- * Service endpoints may implement the Provider interface as a dynamic alternative to an
- * SEI. Implementations are required to support Provider<Source> and Provider<SOAPMessage>.
- * The ServiceMode annotation can be used to control whether the Provider instance will
- * receive entire protocol messages or just message payloads.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface Provider<T>
-{
- /** Invokes an operation occording to the contents of the request message. */
- public abstract T invoke(T request);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/RequestWrapper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/RequestWrapper.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/RequestWrapper.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate methods in the Service Endpoint Interface with the request wrapper
- * bean to be used at runtime. The default value of the localName is the operationName,
- * as defined in WebMethod annotation and the targetNamespace is the target namespace of
- * the SEI.
- *
- * When starting from Java this annotation is used resolve overloading conflicts in
- * document literal mode. Only the className is required in this case.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.METHOD })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface RequestWrapper
-{
-
- String localName() default "";
-
- String targetNamespace() default "";
-
- String className() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Response.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Response.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Response.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.util.Map;
-import java.util.concurrent.Future;
-
-/**
- * The Response interface provides methods used to obtain the payload and context of a
- * message sent in response to an operation invocation.
- *
- * For asynchronous operation invocations it provides additional methods to check the
- * status of the request. The get(...) methods may throw the standard set of exceptions
- * and their cause may be a RemoteException or a WebServiceException that represents the
- * error that occured during the asynchronous method invocation.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface Response<T> extends Future
-{
- /**
- * Gets the contained response context.
- * @return The contained response context. May be null if a response is not yet available.
- */
- public abstract Map<String, Object> getContext();
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/ResponseWrapper.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/ResponseWrapper.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/ResponseWrapper.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate methods in the Service Endpoint Interface with the response
- * wrapper bean to be used at runtime.The default value of the localName is the
- * operationName as defined in WebMethod annotation appended with Response and
- * the targetNamespace is the target namespace of the SEI.
- *
- * When starting from Java this annotation is used resolve overloading conflicts
- * in document literal mode. Only the className is required in this case.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.METHOD })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface ResponseWrapper
-{
- String localName() default "";
-
- String targetNamespace() default "";
-
- String className() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/Service.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/Service.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/Service.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,139 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.net.URL;
-import java.util.Iterator;
-import java.util.concurrent.Executor;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.namespace.QName;
-import javax.xml.ws.handler.HandlerResolver;
-import javax.xml.ws.spi.Provider;
-import javax.xml.ws.spi.ServiceDelegate;
-
-/**
- * Service objects provide the client view of a Web service.
- *
- * Service acts as a factory of the following:
- *
- * - Proxies for a target service endpoint.
- * - Instances of javax.xml.ws.Dispatch for dynamic message-oriented invocation of a remote operation.
- *
- * The ports available on a service can be enumerated using the getPorts method. Alternatively, you can pass a service endpoint interface to the unary getPort method and let the runtime select a compatible port.
- *
- * Handler chains for all the objects created by a Service can be set by means of a HandlerResolver.
- *
- * An Executor may be set on the service in order to gain better control over the threads used to dispatch asynchronous callbacks. For instance, thread pooling with certain parameters can be enabled by creating a ThreadPoolExecutor and registering it with the service.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public class Service
-{
- /**
- * The orientation of a dynamic client or service.
- * MESSAGE provides access to entire protocol message,
- * PAYLOAD to protocol message payload only.
- */
- public enum Mode
- {
- MESSAGE, PAYLOAD;
- }
-
- private ServiceDelegate delegate;
-
- protected Service(URL wsdlDocumentLocation, QName serviceName)
- {
- delegate = Provider.provider().createServiceDelegate(wsdlDocumentLocation, serviceName, getClass());
- }
-
- public Object getPort(QName portName, Class serviceEndpointInterface)
- {
- return delegate.getPort(portName, serviceEndpointInterface);
- }
-
- public Object getPort(Class serviceEndpointInterface)
- {
- return delegate.getPort(serviceEndpointInterface);
- }
-
- public void addPort(QName portName, String bindingId, String endpointAddress)
- {
- delegate.addPort(portName, bindingId, endpointAddress);
- }
-
- public Dispatch createDispatch(QName portName, Class type, Mode mode)
- {
- return delegate.createDispatch(portName, type, mode);
- }
-
- public Dispatch createDispatch(QName portName, JAXBContext context, Mode mode)
- {
- return delegate.createDispatch(portName, context, mode);
- }
-
- public QName getServiceName()
- {
- return delegate.getServiceName();
- }
-
- public Iterator getPorts()
- {
- return delegate.getPorts();
- }
-
- public URL getWSDLDocumentLocation()
- {
- return delegate.getWSDLDocumentLocation();
- }
-
- public HandlerResolver getHandlerResolver()
- {
- return delegate.getHandlerResolver();
- }
-
- public void setHandlerResolver(HandlerResolver handlerResolver)
- {
- delegate.setHandlerResolver(handlerResolver);
- }
-
- public Executor getExecutor()
- {
- return delegate.getExecutor();
- }
-
- public void setExecutor(Executor executor)
- {
- delegate.setExecutor(executor);
- }
-
- public static Service create(URL wsdlDocumentLocation, QName serviceName)
- {
- return new Service(wsdlDocumentLocation, serviceName);
- }
-
- public static Service create(QName serviceName)
- {
- return new Service(null, serviceName);
- }
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/ServiceMode.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/ServiceMode.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/ServiceMode.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,43 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to indicate whether a Provider implementation wishes to work with entire
- * protocol messages or just with protocol message payloads.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Inherited
- at Target( { ElementType.TYPE })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface ServiceMode
-{
- Service.Mode value() default Service.Mode.PAYLOAD;
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebEndpoint.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebEndpoint.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebEndpoint.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate the getPortName() methods of a generated service interface.
- *
- * The information specified in this annotation is sufficient to uniquely
- * identify a wsdl:port element inside a wsdl:service.
- *
- * The latter is determined based on the value of the WebServiceClient annotation
- * on the generated service interface itself.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.METHOD })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface WebEndpoint
-{
-
- String name() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebFault.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebFault.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebFault.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate service specific exception classes to customize to the local
- * and namespace name of the fault element and the name of the fault bean.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.TYPE })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface WebFault
-{
-
- public abstract String name() default "";
-
- public abstract String targetNamespace() default "";
-
- public abstract String faultBean() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceClient.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceClient.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceClient.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate a generated service interface.
- *
- * The information specified in this annotation is sufficient to uniquely identify
- * a wsdl:service element inside a WSDL document.
- *
- * This wsdl:service element represents the Web service for which the generated
- * service interface provides a client view.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.TYPE })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface WebServiceClient
-{
-
- String name() default "";
-
- String targetNamespace() default "";
-
- String wsdlLocation() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceContext.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceContext.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceContext.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,45 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.security.Principal;
-
-import javax.xml.ws.handler.MessageContext;
-
-/**
- * A WebServiceContext makes it possible for a web service endpoint implementation
- * class to access message context and security information relative to a request
- * being served. Typically a WebServiceContext is injected into an endpoint implementation
- * class using the Resource annotation.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface WebServiceContext
-{
-
- MessageContext getMessageContext();
-
- Principal getUserPrincipal();
-
- boolean isUserInRole(String s);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceException.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceException.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,52 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package javax.xml.ws;
-
-// $Id$
-
-/**
- * [TODO]
- *
- * @author Thomas.Diesler at jboss.org
- * @since 14-Nov-2005
- */
-public class WebServiceException extends RuntimeException
-{
- public WebServiceException()
- {
- }
-
- public WebServiceException(String message)
- {
- super(message);
- }
-
- public WebServiceException(Throwable cause)
- {
- super(cause);
- }
-
- public WebServiceException(String message, Throwable cause)
- {
- super(message, cause);
- }
-}
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServicePermission.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServicePermission.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServicePermission.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.security.BasicPermission;
-
-/**
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public final class WebServicePermission extends BasicPermission
-{
- private static final long serialVersionUID = 0xfdf79e1746fde514L;
-
- public WebServicePermission(String name)
- {
- super(name);
- }
-
- public WebServicePermission(String name, String actions)
- {
- super(name, actions);
- }
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceProvider.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceProvider.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceProvider.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Used to annotate a Provider implementation class.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.TYPE })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface WebServiceProvider
-{
-
- String wsdlLocation() default "";
-
- String serviceName() default "";
-
- String targetNamespace() default "";
-
- String portName() default "";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceRef.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceRef.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/WebServiceRef.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,52 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * The WebServiceRef annotation is used to define a reference to a web service and
- * (optionally) an injection target for it.
- *
- * Web service references are resources in the Java EE 5 sense.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
- at Target( { ElementType.TYPE, ElementType.METHOD, ElementType.FIELD })
- at Retention(value = RetentionPolicy.RUNTIME)
-public @interface WebServiceRef
-{
-
- public abstract String name() default "";
-
- public abstract Class type() default Object.class;
-
- public abstract String mappedName() default "";
-
- public abstract Class value() default Object.class;
-
- public abstract String wsdlLocation() default "";
-}
\ No newline at end of file
Modified: branches/jbossws-1.0/src/main/java/javax/xml/ws/addressing/AddressingException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/addressing/AddressingException.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/addressing/AddressingException.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -24,9 +24,10 @@
//$Id$
import javax.xml.namespace.QName;
-import javax.xml.ws.WebServiceException;
-public class AddressingException extends WebServiceException
+import org.jboss.ws.WSException;
+
+public class AddressingException extends WSException
{
protected QName code;
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/Handler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/Handler.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/Handler.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler;
-
-/**
- * The Handler interface is the base interface for JAX-WS handlers.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface Handler<C extends MessageContext>
-{
- boolean handleMessage(C messagecontext);
-
- boolean handleFault(C messagecontext);
-
- void close(MessageContext messagecontext);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/HandlerResolver.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/HandlerResolver.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/HandlerResolver.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package javax.xml.ws.handler;
-
-import java.util.List;
-
-/**
- * HandlerResolver is an interface implemented by an application to get control over
- * the handler chain set on proxy/dispatch objects at the time of their creation.
- *
- * A HandlerResolver may be set on a Service using the setHandlerResolver method.
- *
- * When the runtime invokes a HandlerResolver, it will pass it a PortInfo object
- * containing information about the port that the proxy/dispatch object will be accessing.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface HandlerResolver
-{
- List<Handler> getHandlerChain(PortInfo portinfo);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalHandler.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalHandler.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler;
-
-/**
- * The LogicalHandler extends Handler to provide typesafety for the message
- * context parameter.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface LogicalHandler<C extends LogicalMessageContext> extends Handler<C>
-{
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalMessageContext.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalMessageContext.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/LogicalMessageContext.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler;
-
-import javax.xml.ws.LogicalMessage;
-
-/**
- * The LogicalMessageContext interface extends MessageContext to provide
- * access to a the contained message as a protocol neutral LogicalMessage
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface LogicalMessageContext extends MessageContext
-{
-
- LogicalMessage getMessage();
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/MessageContext.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/MessageContext.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/MessageContext.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,66 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler;
-
-import java.util.Map;
-
-/**
- * The interface MessageContext abstracts the message context that is processed by a
- * handler in the handle method.
- *
- * The MessageContext interface provides methods to manage a property set.
- * MessageContext properties enable handlers in a handler chain to share
- * processing related state.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface MessageContext extends Map<String, Object>
-{
- public static final String MESSAGE_OUTBOUND_PROPERTY = "javax.xml.ws.handler.message.outbound";
- public static final String INBOUND_MESSAGE_ATTACHMENTS = "javax.xml.ws.binding.attachments.inbound";
- public static final String OUTBOUND_MESSAGE_ATTACHMENTS = "javax.xml.ws.binding.attachments.outbound";
- public static final String WSDL_DESCRIPTION = "javax.xml.ws.wsdl.description";
- public static final String WSDL_SERVICE = "javax.xml.ws.wsdl.service";
- public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
- public static final String WSDL_INTERFACE = "javax.xml.ws.wsdl.interface";
- public static final String WSDL_OPERATION = "javax.xml.ws.wsdl.operation";
- public static final String HTTP_RESPONSE_CODE = "javax.xml.ws.http.response.code";
- public static final String HTTP_REQUEST_HEADERS = "javax.xml.ws.http.request.headers";
- public static final String HTTP_RESPONSE_HEADERS = "javax.xml.ws.http.response.headers";
- public static final String HTTP_REQUEST_METHOD = "javax.xml.ws.http.request.method";
- public static final String SERVLET_REQUEST = "javax.xml.ws.servlet.request";
- public static final String SERVLET_RESPONSE = "javax.xml.ws.servlet.response";
- public static final String SERVLET_SESSION = "javax.xml.ws.servlet.session";
- public static final String SERVLET_CONTEXT = "javax.xml.ws.servlet.context";
- public static final String QUERY_STRING = "javax.xml.ws.http.request.querystring";
- public static final String PATH_INFO = "javax.xml.ws.http.request.pathinfo";
-
- public enum Scope
- {
- APPLICATION, HANDLER;
- }
-
- void setScope(String s, Scope scope);
-
- Scope getScope(String s);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/PortInfo.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/PortInfo.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/PortInfo.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,42 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler;
-
-import javax.xml.namespace.QName;
-
-/**
- * The PortInfo interface is used by a HandlerResolver to query information about the
- * port it is being asked to create a handler chain for.
- *
- * This interface is never implemented by an application, only by a JAX-WS implementation.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface PortInfo
-{
- QName getServiceName();
-
- QName getPortName();
-
- String getBindingID();
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPHandler.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPHandler.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPHandler.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler.soap;
-
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.handler.Handler;
-
-/**
- * The SOAPHandler class extends Handler to provide typesafety for the
- * message context parameter and add a method to obtain access to the
- * headers that may be processed by the handler.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface SOAPHandler<T> extends Handler
-{
-
- Set<QName> getHeaders();
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPMessageContext.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPMessageContext.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/handler/soap/SOAPMessageContext.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.handler.soap;
-
-import java.net.URI;
-import java.util.Set;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPMessage;
-import javax.xml.ws.handler.MessageContext;
-
-/**
- * The interface SOAPMessageContext provides access to the SOAP message for either
- * RPC request or response. The javax.xml.soap.SOAPMessage specifies the standard
- * Java API for the representation of a SOAP 1.1 message with attachments.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface SOAPMessageContext extends MessageContext
-{
-
- SOAPMessage getMessage();
-
- void setMessage(SOAPMessage soapmessage);
-
- Object[] getHeaders(QName qname, JAXBContext jaxbcontext, boolean flag);
-
- Set<URI> getRoles();
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPBinding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPBinding.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPBinding.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.http;
-
-import javax.xml.ws.Binding;
-
-/**
- * The HTTPBinding interface is an abstraction for the XML/HTTP binding.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface HTTPBinding extends Binding
-{
-
- public static final String HTTP_BINDING = "http://www.w3.org/2004/08/wsdl/http";
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPException.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/http/HTTPException.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.http;
-
-import javax.xml.ws.ProtocolException;
-
-/**
- * The HTTPException exception represents a XML/HTTP fault.
- *
- * Since there is no standard format for faults or exceptions in XML/HTTP messaging,
- * only the HTTP status code is captured.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public class HTTPException extends ProtocolException
-{
- private int statusCode;
-
- public HTTPException(int statusCode)
- {
- this.statusCode = statusCode;
- }
-
- public int getStatusCode()
- {
- return statusCode;
- }
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPBinding.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPBinding.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPBinding.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.soap;
-
-import java.net.URI;
-import java.util.Set;
-
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPFactory;
-import javax.xml.ws.Binding;
-
-/**
- * The SOAPBinding interface is an abstraction for the SOAP binding.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public interface SOAPBinding extends Binding
-{
- public static final String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http";
- public static final String SOAP12HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
-
- public abstract Set<URI> getRoles();
-
- public abstract void setRoles(Set<URI> set);
-
- public abstract boolean isMTOMEnabled();
-
- public abstract void setMTOMEnabled(boolean flag);
-
- public abstract SOAPFactory getSOAPFactory();
-
- public abstract MessageFactory getMessageFactory();
-
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,59 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.soap;
-
-import javax.xml.soap.SOAPFault;
-import javax.xml.ws.ProtocolException;
-
-/**
- * The SOAPFaultException exception represents a SOAP 1.1 or 1.2 fault.
- *
- * A SOAPFaultException wraps a SAAJ SOAPFault that manages the SOAP-specific
- * representation of faults. The createFault method of javax.xml.soap.SOAPFactory
- * may be used to create an instance of javax.xml.soap.SOAPFault for use with the
- * constructor. SOAPBinding contains an accessor for the SOAPFactory used by the
- * binding instance.
- *
- * Note that the value of getFault is the only part of the exception used when
- * searializing a SOAP fault.
- *
- * Refer to the SOAP specification for a complete description of SOAP faults.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public class SOAPFaultException extends ProtocolException
-{
-
- public SOAPFaultException(SOAPFault fault)
- {
- super(fault.getFaultString());
- this.fault = fault;
- }
-
- public SOAPFault getFault()
- {
- return fault;
- }
-
- private SOAPFault fault;
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/Provider.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/Provider.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/Provider.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,62 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.spi;
-
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Endpoint;
-import javax.xml.ws.WebServiceException;
-
-/**
- * Service provider for ServiceDelegate and Endpoint objects.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public abstract class Provider
-{
- public static final String JAXWSPROVIDER_PROPERTY = "javax.xml.ws.spi.Provider";
- private static final String DEFAULT_JAXWSPROVIDER = "org.jboss.ws.jaxws.spi.ProviderImpl";
-
- protected Provider()
- {
- }
-
- public static Provider provider()
- {
- try
- {
- return null; //(Provider)FactoryFinder.find(JAXWSPROVIDER_PROPERTY, DEFAULT_JAXWSPROVIDER);
- }
- catch (Exception ex)
- {
- throw new WebServiceException((new StringBuilder()).append("Unable to create Provider: ").append(ex.getMessage()).toString());
- }
- }
-
- public abstract ServiceDelegate createServiceDelegate(URL url, QName qname, Class class1);
-
- public abstract Endpoint createEndpoint(String s, Object obj);
-
- public abstract Endpoint createAndPublishEndpoint(String s, Object obj);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/ServiceDelegate.java
===================================================================
--- branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/ServiceDelegate.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/javax/xml/ws/spi/ServiceDelegate.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,74 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.xml.ws.spi;
-
-import java.net.URL;
-import java.util.Iterator;
-import java.util.concurrent.Executor;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.namespace.QName;
-import javax.xml.ws.Dispatch;
-import javax.xml.ws.Service;
-import javax.xml.ws.handler.HandlerResolver;
-
-/**
- * Service delegates are used internally by Service objects to allow pluggability
- * of JAX-WS implementations.
- *
- * Every Service object has its own delegate, created using the
- * Provider#createServiceDelegate method. A Service object
- * delegates all of its instance methods to its delegate.
- *
- * @author Thomas.Diesler at jboss.com
- * @since 03-May-2006
- */
-public abstract class ServiceDelegate
-{
- protected ServiceDelegate()
- {
- }
-
- public abstract <T> T getPort(QName qname, Class<T> sei);
-
- public abstract <T> T getPort(Class<T> sei);
-
- public abstract void addPort(QName qname, String s, String s1);
-
- public abstract <T> Dispatch<T> createDispatch(QName qname, Class<T> type, Service.Mode mode);
-
- public abstract Dispatch<Object> createDispatch(QName qname, JAXBContext jaxbcontext, Service.Mode mode);
-
- public abstract QName getServiceName();
-
- public abstract Iterator getPorts();
-
- public abstract URL getWSDLDocumentLocation();
-
- public abstract HandlerResolver getHandlerResolver();
-
- public abstract void setHandlerResolver(HandlerResolver handlerresolver);
-
- public abstract Executor getExecutor();
-
- public abstract void setExecutor(Executor executor);
-}
\ No newline at end of file
Deleted: branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentMarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentMarshallerImpl.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentMarshallerImpl.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,106 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.binding;
-
-// $Id: $
-
-import javax.activation.DataHandler;
-import javax.xml.bind.attachment.AttachmentMarshaller;
-import javax.xml.namespace.QName;
-import javax.xml.soap.AttachmentPart;
-
-import org.jboss.logging.Logger;
-import org.jboss.util.NotImplementedException;
-import org.jboss.ws.Constants;
-import org.jboss.ws.jaxrpc.encoding.SerializationContextImpl;
-import org.jboss.ws.soap.MessageContextAssociation;
-import org.jboss.ws.soap.SOAPMessageContextImpl;
-import org.jboss.ws.soap.SOAPMessageImpl;
-import org.jboss.ws.soap.attachment.MimeConstants;
-import org.jboss.xb.binding.NamespaceRegistry;
-
-/**
- * The AttachmentMarshaller allows callbacks from the binding layer towards the
- * soap processing components in order to optimize binary processing.
- *
- * @see AttachmentUnmarshallerImpl
- * @see org.jboss.ws.jaxrpc.encoding.JAXBSerializer
- * @see org.jboss.ws.jaxrpc.encoding.SimpleSerializer
- *
- * @author Heiko Braun <heiko.braun at jboss.com>
- * @since May 9, 2006
- */
-public class AttachmentMarshallerImpl extends AttachmentMarshaller
-{
- private static final Logger log = Logger.getLogger(AttachmentMarshallerImpl.class);
-
- public AttachmentMarshallerImpl()
- {
- }
-
- public boolean isXOPPackage()
- {
- return AttachmentMarshallerSupport.isXOPPackage();
- }
-
- public String addMtomAttachment(DataHandler dataHandler, String elementNamespace, String elementName)
- {
-
- QName xmlName = new QName(elementNamespace, elementName);
- log.debug("serialize: [xmlName=" + xmlName + "]");
-
- SOAPMessageContextImpl msgContext = (SOAPMessageContextImpl)MessageContextAssociation.peekMessageContext();
- SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getMessage();
- SerializationContextImpl serContext = msgContext.getSerializationContext();
- NamespaceRegistry nsRegistry = serContext.getNamespaceRegistry();
-
- // Add the xop:Include element
- StringBuilder xopInclude = new StringBuilder("<" + Constants.PREFIX_XOP + ":Include ");
- xopInclude.append("xmlns:" + Constants.PREFIX_XOP + "='" + Constants.NS_XOP + "' ");
- String cid = soapMessage.getCidGenerator().generateFromName(xmlName.getLocalPart());
-
- // RFC2392 requires the 'cid:' prefix to be added to the XML element
- xopInclude.append("href='cid:" + cid + "'/>");
-
- AttachmentPart xopPart = soapMessage.createAttachmentPart(dataHandler);
- xopPart.addMimeHeader(MimeConstants.CONTENT_ID, '<' + cid + '>'); // RFC2392 requirement
- soapMessage.addAttachmentPart(xopPart);
-
- return xopInclude.toString();
-
- }
-
- public String addMtomAttachment(byte[] data, String elementNamespace, String elementName)
- {
- throw new NotImplementedException();
- }
-
- public String addSwaRefAttachment(DataHandler dataHandler)
- {
- throw new NotImplementedException();
- }
-
- public String addMtomAttachment(byte[] arg0, int arg1, int arg2, String arg3, String arg4, String arg5)
- {
- throw new NotImplementedException();
- }
-}
Deleted: branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentUnmarshallerImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentUnmarshallerImpl.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/binding/AttachmentUnmarshallerImpl.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -1,94 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.binding;
-
-// $Id: $
-
-import javax.activation.DataHandler;
-import javax.xml.bind.attachment.AttachmentUnmarshaller;
-import javax.xml.soap.AttachmentPart;
-import javax.xml.soap.SOAPException;
-
-import org.jboss.logging.Logger;
-import org.jboss.util.NotImplementedException;
-import org.jboss.ws.WSException;
-import org.jboss.ws.soap.MessageContextAssociation;
-import org.jboss.ws.soap.SOAPMessageContextImpl;
-import org.jboss.ws.soap.SOAPMessageImpl;
-
-/**
- * The AttachmentUnmarshaller allows callbacks from the binding layer towards the
- * soap processing components in order to optimize binary processing.
- *
- * @see AttachmentMarshallerImpl
- * @see org.jboss.ws.jaxrpc.encoding.JAXBDeserializer
- * @see org.jboss.ws.jaxrpc.encoding.SimpleDeserializer
- *
- * @author Heiko Braun <heiko.braun at jboss.com>
- * @since May 9, 2006
- */
-public class AttachmentUnmarshallerImpl extends AttachmentUnmarshaller
-{
-
- private static final Logger log = Logger.getLogger(AttachmentUnmarshallerImpl.class);
-
- public AttachmentUnmarshallerImpl()
- {
- }
-
- public boolean isXOPPackage()
- {
- return AttachmentMarshallerSupport.isXOPPackage();
- }
-
- public DataHandler getAttachmentAsDataHandler(String cid)
- {
-
- try
- {
- SOAPMessageContextImpl msgContext = MessageContextAssociation.peekMessageContext();
- SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getMessage();
-
- // RFC2392 requires the 'cid:' part to be stripped from the cid
- if (cid.startsWith("cid:"))
- cid = cid.substring(4);
- cid = '<' + cid + '>'; // RFC2392 requirement
-
- AttachmentPart part = soapMessage.getAttachmentByContentId(cid);
- if (part == null)
- throw new WSException("Cannot find attachment part for: " + cid);
-
- DataHandler dataHandler = part.getDataHandler();
- return dataHandler;
- }
- catch (SOAPException ex)
- {
- throw new WSException(ex);
- }
-
- }
-
- public byte[] getAttachmentAsByteArray(String cid)
- {
- throw new NotImplementedException();
- }
-}
Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutfault.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutfault.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/metadata/wsdl/WSDLInterfaceOperationOutfault.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -40,7 +40,7 @@
private WSDLInterfaceOperation wsdlInterfaceOperation;
/** A REQUIRED reference to an Interface Fault component in the {faults} property of the parent
- * Interface Operation components parent Interface component. Identifying the Interface Fault
+ * Interface Operation component's parent Interface component. Identifying the Interface Fault
* component therefore indirectly defines the actual content or payload of the fault message.
*/
private QName ref;
Modified: branches/jbossws-1.0/src/test/build.xml
===================================================================
--- branches/jbossws-1.0/src/test/build.xml 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/build.xml 2006-08-04 08:44:22 UTC (rev 682)
@@ -122,14 +122,13 @@
<!-- The jbossws client classpath -->
<path id="jbossws.client.classpath">
- <!-- override jbossxb in jbossall-client.jar -->
- <pathelement location="${thirdparty.dir}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/activation.jar"/>
<pathelement location="${jboss.client}/commons-logging.jar"/>
<pathelement location="${jboss.client}/javassist.jar"/>
<pathelement location="${jboss.client}/jbossall-client.jar"/>
<pathelement location="${jboss.client}/jbossretro-rt.jar"/>
<pathelement location="${jboss.client}/jboss-backport-concurrent.jar"/>
+ <pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/${jbossws.client.jar}"/>
<pathelement location="${jboss.client}/log4j.jar"/>
<pathelement location="${jboss.client}/mail.jar"/>
@@ -139,7 +138,8 @@
<path id="javac.classpath">
<path refid="library.classpath"/>
<path refid="jbossws.client.classpath"/>
- <pathelement location="${jboss.lib}/jboss-system.jar"/>
+ <pathelement location="${thirdparty.dir}/jaxb-api.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-system.jar"/>
<pathelement location="${jboss.server.lib}/jboss.jar"/>
<pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-annotations-ejb3.jar"/>
<pathelement location="${jboss.server.deploy}/ejb3.deployer/jboss-ejb3x.jar"/>
@@ -147,21 +147,21 @@
<!-- The test client classpath -->
<path id="test.client.classpath">
- <pathelement location="${thirdparty.dir}/jaxb-api.jar"/>
- <pathelement location="${thirdparty.dir}/jaxb-impl.jar"/>
<path refid="library.classpath"/>
<path refid="jbossws.client.classpath"/>
<pathelement location="${build.lib.dir}/jbossws-tomcat-integration.jar"/>
<pathelement location="${jboss.client}/jboss-aop-jdk50-client.jar"/>
- <pathelement location="${jboss.client}/jboss-ejb3-client.jar"/>
- <pathelement location="${jboss.client}/jboss-aspect-jdk50-client.jar"/>
- <pathelement location="${jboss.lib}/jboss-system.jar"/>
+ <pathelement location="${jboss.client}/jboss-ejb3-client.jar"/>
+ <pathelement location="${jboss.client}/jboss-aspect-jdk50-client.jar"/>
<pathelement location="${jboss.server.lib}/jboss.jar"/>
+ <pathelement location="${thirdparty.dir}/jaxb-api.jar"/>
+ <pathelement location="${thirdparty.dir}/jaxb-impl.jar"/>
+ <pathelement location="${thirdparty.dir}/jboss-system.jar"/>
+ <pathelement location="${thirdparty.dir}/policy-1.0.jar"/>
<pathelement location="${thirdparty.dir}/qdox.jar"/>
+ <pathelement location="${thirdparty.dir}/stax-api-1.0.jar"/>
+ <pathelement location="${thirdparty.dir}/wstx-lgpl-2.9.3.jar"/>
<pathelement location="${thirdparty.dir}/xmlunit1.0.jar"/>
- <pathelement location="${thirdparty.dir}/policy-1.0.jar"/>
- <pathelement location="${thirdparty.dir}/wstx-lgpl-2.9.3.jar"/>
- <pathelement location="${thirdparty.dir}/stax-api-1.0.jar"/>
</path>
</target>
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Address.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Address.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Address.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -9,7 +9,7 @@
/**
* A Address.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class Address {
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/BenchmarkService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/BenchmarkService.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/BenchmarkService.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -13,7 +13,7 @@
/**
* BenchmarkService.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public interface BenchmarkService extends Remote {
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Customer.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Customer.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Customer.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -12,7 +12,7 @@
/**
* A Customer.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class Customer {
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/LineItem.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/LineItem.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/LineItem.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -10,7 +10,7 @@
/**
* A LineItem.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class LineItem {
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Order.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Order.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Order.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -12,7 +12,7 @@
/**
* A Order.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class Order implements Serializable
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/OrderBL.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/OrderBL.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/OrderBL.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -12,7 +12,7 @@
/**
* A OrderBL.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedstr�m</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class OrderBL {
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/SimpleUserType.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/SimpleUserType.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/SimpleUserType.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -11,7 +11,7 @@
/**
* A SimpleUserType.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class SimpleUserType implements Serializable
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Synthetic.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Synthetic.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/benchmark/Synthetic.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -11,7 +11,7 @@
/**
* A Synthetic.
*
- * @author <a href="anders.hedstrom at home.se">Anders Hedström</a>
+ * @author <a href="anders.hedstrom at home.se">Anders Hedstrom</a>
* @version $Revision$
*/
public class Synthetic implements Serializable
Modified: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws947/JBWS947TestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws947/JBWS947TestCase.java 2006-08-04 07:55:48 UTC (rev 681)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jbws947/JBWS947TestCase.java 2006-08-04 08:44:22 UTC (rev 682)
@@ -14,10 +14,6 @@
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
-import javax.xml.soap.MessageFactory;
-import javax.xml.soap.SOAPConnection;
-import javax.xml.soap.SOAPConnectionFactory;
-import javax.xml.soap.SOAPMessage;
import junit.framework.Test;
@@ -25,7 +21,6 @@
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.test.ws.jbws947.Items.Item;
import org.jboss.util.xml.DOMUtils;
-import org.jboss.ws.soap.SOAPFactoryImpl;
import org.w3c.dom.Element;
/*
More information about the jboss-svn-commits
mailing list