JBossWS SVN: r4677 - stack/native/branches/tdiesler.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:19:00 -0400 (Thu, 04 Oct 2007)
New Revision: 4677
Added:
stack/native/branches/tdiesler/trunk/
Log:
create userbranch
Copied: stack/native/branches/tdiesler/trunk (from rev 4676, stack/native/trunk)
17 years, 3 months
JBossWS SVN: r4676 - stack/native/branches/tdiesler.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:18:34 -0400 (Thu, 04 Oct 2007)
New Revision: 4676
Removed:
stack/native/branches/tdiesler/trunk/
Log:
create userbranch
17 years, 3 months
JBossWS SVN: r4675 - in stack/native/trunk: src/main/java/org/jboss/ws/core and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:15:24 -0400 (Thu, 04 Oct 2007)
New Revision: 4675
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/ConfigProvider.java
stack/native/trunk/src/main/java/org/jboss/ws/core/StubExt.java
stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java
stack/native/trunk/version.properties
Log:
partial commit
Modified: stack/native/trunk/src/main/java/org/jboss/ws/core/ConfigProvider.java
===================================================================
--- stack/native/trunk/src/main/java/org/jboss/ws/core/ConfigProvider.java 2007-10-04 11:13:08 UTC (rev 4674)
+++ stack/native/trunk/src/main/java/org/jboss/ws/core/ConfigProvider.java 2007-10-04 11:15:24 UTC (rev 4675)
@@ -50,4 +50,14 @@
* Set the port configuration name and file
*/
void setConfigName(String configName, String configFile);
+
+ /**
+ * Get the WS-Security configuration
+ */
+ String getSecurityConfig();
+
+ /**
+ * Set the WS-Security configuration
+ */
+ void setSecurityConfig(String securityConfig);
}
Modified: stack/native/trunk/src/main/java/org/jboss/ws/core/StubExt.java
===================================================================
--- stack/native/trunk/src/main/java/org/jboss/ws/core/StubExt.java 2007-10-04 11:13:08 UTC (rev 4674)
+++ stack/native/trunk/src/main/java/org/jboss/ws/core/StubExt.java 2007-10-04 11:15:24 UTC (rev 4675)
@@ -126,14 +126,4 @@
* Creates a new empty AttachmentPart object.
*/
AttachmentPart createAttachmentPart();
-
- /**
- * Get the WS-Security configuration
- */
- String getSecurityConfig();
-
- /**
- * Set the WS-Security configuration
- */
- void setSecurityConfig(String securityConfig);
}
Modified: stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java
===================================================================
--- stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java 2007-10-04 11:13:08 UTC (rev 4674)
+++ stack/native/trunk/src/main/java/org/jboss/ws/core/jaxws/client/DispatchImpl.java 2007-10-04 11:15:24 UTC (rev 4675)
@@ -29,36 +29,40 @@
import java.util.concurrent.Future;
import javax.xml.bind.JAXBContext;
+import javax.xml.namespace.QName;
import javax.xml.soap.MimeHeaders;
-import javax.xml.soap.SOAPMessage;
+import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;
import javax.xml.soap.SOAPFault;
-import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
import javax.xml.transform.Source;
import javax.xml.ws.AsyncHandler;
import javax.xml.ws.Binding;
+import javax.xml.ws.Binding21;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.Dispatch;
import javax.xml.ws.EndpointReference;
import javax.xml.ws.Response;
import javax.xml.ws.WebServiceException;
-import javax.xml.ws.Binding21;
import javax.xml.ws.Service.Mode;
import javax.xml.ws.http.HTTPBinding;
import javax.xml.ws.soap.SOAPFaultException;
-import javax.xml.namespace.QName;
import org.jboss.logging.Logger;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.WSException;
+import org.jboss.ws.core.ConfigProvider;
import org.jboss.ws.core.MessageAbstraction;
-import org.jboss.ws.core.ConfigProvider;
-import org.jboss.ws.core.soap.SOAPFaultImpl;
import org.jboss.ws.core.client.HTTPRemotingConnection;
import org.jboss.ws.core.client.RemotingConnection;
import org.jboss.ws.core.client.SOAPRemotingConnection;
import org.jboss.ws.core.jaxws.binding.BindingProviderImpl;
+import org.jboss.ws.metadata.config.ConfigurationProvider;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
-import org.jboss.ws.metadata.config.ConfigurationProvider;
+import org.jboss.ws.metadata.umdm.ServiceMetaData;
+import org.jboss.ws.metadata.wsse.WSSecurityConfigFactory;
+import org.jboss.ws.metadata.wsse.WSSecurityConfiguration;
+import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
/**
* The Dispatch interface provides support for the dynamic invocation of a service endpoint operations.
@@ -67,7 +71,7 @@
* @author Thomas.Diesler(a)jboss.com
* @since 04-Jul-2006
*/
-public class DispatchImpl<T> implements Dispatch<T>
+public class DispatchImpl<T> implements Dispatch<T>, ConfigProvider
{
// provide logging
private final Logger log = Logger.getLogger(DispatchImpl.class);
@@ -76,6 +80,7 @@
private EndpointMetaData epMetaData;
private JAXBContext jaxbContext;
private ExecutorService executor;
+ private String securityConfig;
private Class type;
private Mode mode;
@@ -379,4 +384,53 @@
{
throw new NotImplementedException();
}
+
+ public String getConfigFile()
+ {
+ return epMetaData.getConfigFile();
+ }
+
+ public String getConfigName()
+ {
+ return epMetaData.getConfigName();
+ }
+
+ public void setConfigName(String configName)
+ {
+ epMetaData.setConfigName(configName);
+ }
+
+ public void setConfigName(String configName, String configFile)
+ {
+ epMetaData.setConfigName(configName, configFile);
+ }
+
+ public String getSecurityConfig()
+ {
+ return securityConfig;
+ }
+
+ public void setSecurityConfig(String securityConfig)
+ {
+ this.securityConfig = securityConfig;
+
+ if (securityConfig != null)
+ {
+ ServiceMetaData serviceMetaData = epMetaData.getServiceMetaData();
+ if (serviceMetaData.getSecurityConfiguration() == null)
+ {
+ try
+ {
+ WSSecurityConfigFactory wsseConfFactory = WSSecurityConfigFactory.newInstance();
+ UnifiedVirtualFile vfsRoot = serviceMetaData.getUnifiedMetaData().getRootFile();
+ WSSecurityConfiguration config = wsseConfFactory.createConfiguration(vfsRoot, securityConfig);
+ serviceMetaData.setSecurityConfiguration(config);
+ }
+ catch (IOException ex)
+ {
+ WSException.rethrow("Cannot set security config", ex);
+ }
+ }
+ }
+ }
}
Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties 2007-10-04 11:13:08 UTC (rev 4674)
+++ stack/native/trunk/version.properties 2007-10-04 11:15:24 UTC (rev 4675)
@@ -29,15 +29,14 @@
jbossws-framework=2.0.1.GA
jbossws-jboss40=2.0.1.GA
jbossws-jboss42=2.0.1.GA
-jbossws-jboss50=2.0.1.GA
# JBossAS-5.0
jboss-jbossxb-jboss50=2.0.0.CR4
jboss-remoting-jboss50=2.2.2.SP1
# JBossAS-4.2
-jboss-jbossxb-jboss42=1.0.0.CR11
-jboss-remoting-jboss42=2.2.1.GA
+jboss-jbossxb-jboss42=1.0.0.GA
+jboss-remoting-jboss42=2.2.2.SP1
# JBossAS-4.0
jboss-jbossxb-jboss40=1.0.0.CR11
17 years, 3 months
JBossWS SVN: r4674 - stack/native/branches/tdiesler/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:13:08 -0400 (Thu, 04 Oct 2007)
New Revision: 4674
Added:
stack/native/branches/tdiesler/trunk/trunk/
Log:
create userbranch
Copied: stack/native/branches/tdiesler/trunk/trunk (from rev 4673, stack/native/trunk)
17 years, 3 months
JBossWS SVN: r4673 - stack/native/branches/tdiesler.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:12:32 -0400 (Thu, 04 Oct 2007)
New Revision: 4673
Added:
stack/native/branches/tdiesler/trunk/
Log:
create userbranch
17 years, 3 months
JBossWS SVN: r4672 - stack/native/branches.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 07:12:24 -0400 (Thu, 04 Oct 2007)
New Revision: 4672
Added:
stack/native/branches/tdiesler/
Log:
create userbranch
17 years, 3 months
JBossWS SVN: r4671 - stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-04 06:09:03 -0400 (Thu, 04 Oct 2007)
New Revision: 4671
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java
Log:
Fix test compilation issue
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java 2007-10-03 13:43:34 UTC (rev 4670)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java 2007-10-04 10:09:03 UTC (rev 4671)
@@ -3,11 +3,11 @@
import java.net.MalformedURLException;
import java.net.URL;
+
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
-import javax.xml.ws.WebServiceFeature;
/**
@@ -50,17 +50,4 @@
public TravelAgentEndpoint getTravelAgentBeanPort() {
return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class);
}
-
- /**
- *
- * @param features
- * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
- * @return
- * returns TravelAgentEndpoint
- */
- @WebEndpoint(name = "TravelAgentBeanPort")
- public TravelAgentEndpoint getTravelAgentBeanPort(WebServiceFeature... features) {
- return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class, features);
- }
-
}
17 years, 3 months
JBossWS SVN: r4669 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws and 8 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2007-10-03 09:41:50 -0400 (Wed, 03 Oct 2007)
New Revision: 4669
Added:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java
stack/native/trunk/src/test/resources/jaxws/jbws1795/
stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/
stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml
Removed:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java
stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/
stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt
Log:
[JBWS-1795] created test case - merge to trunk
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-03 13:39:44 UTC (rev 4668)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-03 13:41:50 UTC (rev 4669)
@@ -380,6 +380,14 @@
</fileset>
</copy>
+ <!-- jaxws-jbws1795 -->
+ <war warfile="${tests.output.dir}/libs/jaxws-jbws1795.war" webxml="${tests.output.dir}/resources/jaxws/jbws1795/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1795/service/*.class"/>
+ <include name="org/jboss/test/ws/jaxws/jbws1795/handcoded/*.class"/>
+ </classes>
+ </war>
+
<!-- jaxws namespace -->
<war warfile="${tests.output.dir}/libs/jaxws-namespace.war" webxml="${tests.output.dir}/resources/jaxws/namespace/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795 (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795)
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,94 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.Test;
-
-import org.jboss.test.ws.jaxws.jbws1795.generated.TravelAgentBeanService;
-import org.jboss.test.ws.jaxws.jbws1795.generated.TravelAgentEndpoint;
-import org.jboss.test.ws.jaxws.jbws1795.generated.ListLocation;
-import org.jboss.test.ws.jaxws.jbws1795.generated.LocationImpl;
-import org.jboss.test.ws.jaxws.jbws1795.generated.Cabin;
-import org.jboss.test.ws.jaxws.jbws1795.generated.TechCabin;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-public class GeneratedSourcesTestCase extends JBossWSTest
-{
-
- private TravelAgentEndpoint tae = null;
-
- public static Test suite()
- {
- return new JBossWSTestSetup(GeneratedSourcesTestCase.class, "jaxws-jbws1795.war");
- }
-
- @Override
- protected void setUp() throws Exception
- {
- TravelAgentBeanService travelAgentBeanService = new TravelAgentBeanService();
- tae = travelAgentBeanService.getTravelAgentBeanPort();
- }
-
- public void testInvocation() throws Exception
- {
-
- ListLocation locListIn = new ListLocation();
- ListLocation locListOut = new ListLocation();
- List<LocationImpl> list = new ArrayList<LocationImpl>();
-
- Cabin cabin_1 = new Cabin();
- cabin_1.setId(1);
- cabin_1.setLocName("deck");
- cabin_1.setName("Master Suite");
- cabin_1.setDeckLevel(2);
- cabin_1.setShipId(3);
- cabin_1.setBedCount(4);
- list.add(cabin_1);
-
- TechCabin cabin_2 = new TechCabin();
- cabin_2.setId(2);
- cabin_2.setLocName("hulk");
- cabin_2.setName("Heating Cabin");
- cabin_2.setDeckLevel(7);
- cabin_2.setShipId(3);
- cabin_2.setPurpose("heating");
- list.add(cabin_2);
-
- locListIn.setList(list);
-
- locListOut = tae.passLocation(locListIn);
-
- for (int i = 0; i < locListOut.getList().size(); i++)
- {
- LocationImpl tmp = locListOut.getList().get(i);
-
- System.out.println("--- Output ListElement #: " + i + " ---");
- System.out.println("ID:\t " + tmp.getId());
- System.out.println("LocName: " + tmp.getLocName());
-
- if (tmp instanceof Cabin)
- {
- Cabin cabinTmp = (Cabin)tmp;
- System.out.println("Class:\t " + tmp.getClass());
- System.out.println("Name:\t " + cabinTmp.getName());
- System.out.println("Level:\t " + cabinTmp.getDeckLevel());
- System.out.println("BedCount:" + cabinTmp.getBedCount());
- }
- else if (tmp instanceof TechCabin)
- {
- TechCabin cabinTmp = (TechCabin)tmp;
- System.out.println("Class:\t " + tmp.getClass());
- System.out.println("Name:\t " + cabinTmp.getName());
- System.out.println("Level:\t " + cabinTmp.getDeckLevel());
- System.out.println("Purpose: " + cabinTmp.getPurpose());
- }
- else
- {
- fail("!!ERROR casting CABIN!!");
- }
- }
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/GeneratedSourcesTestCase.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,94 @@
+package org.jboss.test.ws.jaxws.jbws1795;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.jaxws.jbws1795.generated.TravelAgentBeanService;
+import org.jboss.test.ws.jaxws.jbws1795.generated.TravelAgentEndpoint;
+import org.jboss.test.ws.jaxws.jbws1795.generated.ListLocation;
+import org.jboss.test.ws.jaxws.jbws1795.generated.LocationImpl;
+import org.jboss.test.ws.jaxws.jbws1795.generated.Cabin;
+import org.jboss.test.ws.jaxws.jbws1795.generated.TechCabin;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+public class GeneratedSourcesTestCase extends JBossWSTest
+{
+
+ private TravelAgentEndpoint tae = null;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(GeneratedSourcesTestCase.class, "jaxws-jbws1795.war");
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ TravelAgentBeanService travelAgentBeanService = new TravelAgentBeanService();
+ tae = travelAgentBeanService.getTravelAgentBeanPort();
+ }
+
+ public void testInvocation() throws Exception
+ {
+
+ ListLocation locListIn = new ListLocation();
+ ListLocation locListOut = new ListLocation();
+ List<LocationImpl> list = new ArrayList<LocationImpl>();
+
+ Cabin cabin_1 = new Cabin();
+ cabin_1.setId(1);
+ cabin_1.setLocName("deck");
+ cabin_1.setName("Master Suite");
+ cabin_1.setDeckLevel(2);
+ cabin_1.setShipId(3);
+ cabin_1.setBedCount(4);
+ list.add(cabin_1);
+
+ TechCabin cabin_2 = new TechCabin();
+ cabin_2.setId(2);
+ cabin_2.setLocName("hulk");
+ cabin_2.setName("Heating Cabin");
+ cabin_2.setDeckLevel(7);
+ cabin_2.setShipId(3);
+ cabin_2.setPurpose("heating");
+ list.add(cabin_2);
+
+ locListIn.setList(list);
+
+ locListOut = tae.passLocation(locListIn);
+
+ for (int i = 0; i < locListOut.getList().size(); i++)
+ {
+ LocationImpl tmp = locListOut.getList().get(i);
+
+ System.out.println("--- Output ListElement #: " + i + " ---");
+ System.out.println("ID:\t " + tmp.getId());
+ System.out.println("LocName: " + tmp.getLocName());
+
+ if (tmp instanceof Cabin)
+ {
+ Cabin cabinTmp = (Cabin)tmp;
+ System.out.println("Class:\t " + tmp.getClass());
+ System.out.println("Name:\t " + cabinTmp.getName());
+ System.out.println("Level:\t " + cabinTmp.getDeckLevel());
+ System.out.println("BedCount:" + cabinTmp.getBedCount());
+ }
+ else if (tmp instanceof TechCabin)
+ {
+ TechCabin cabinTmp = (TechCabin)tmp;
+ System.out.println("Class:\t " + tmp.getClass());
+ System.out.println("Name:\t " + cabinTmp.getName());
+ System.out.println("Level:\t " + cabinTmp.getDeckLevel());
+ System.out.println("Purpose: " + cabinTmp.getPurpose());
+ }
+ else
+ {
+ fail("!!ERROR casting CABIN!!");
+ }
+ }
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,100 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795;
-
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import junit.framework.Test;
-
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.Cabin;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.LocationImpl;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.TechCabin;
-import org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentEndpoint;
-
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-public class HandcodedSourcesTestCase extends JBossWSTest
-{
-
- private TravelAgentEndpoint tae = null;
-
- public static Test suite()
- {
- return new JBossWSTestSetup(HandcodedSourcesTestCase.class, "jaxws-jbws1795.war");
- }
-
- @Override
- protected void setUp() throws Exception
- {
- super.setUp();
- URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1795/JBWS1795Service?wsdl");
- QName qname = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/","TravelAgentBeanService");
- Service service = Service.create(wsdlURL,qname);
- tae = service.getPort(TravelAgentEndpoint.class);
- }
-
- public void testInvocation() throws Exception
- {
- ListLocation locListIn = new ListLocation();
- ListLocation locListOut = new ListLocation();
- List<LocationImpl> list = new ArrayList<LocationImpl>();
-
- Cabin cabin_1 = new Cabin();
- cabin_1.setId(1);
- cabin_1.setLocName("deck");
- cabin_1.setName("Master Suite");
- cabin_1.setDeckLevel(2);
- cabin_1.setShipId(3);
- cabin_1.setBedCount(4);
- list.add(cabin_1);
-
- TechCabin cabin_2 = new TechCabin();
- cabin_2.setId(2);
- cabin_2.setLocName("hulk");
- cabin_2.setName("Heating Cabin");
- cabin_2.setDeckLevel(7);
- cabin_2.setShipId(3);
- cabin_2.setPurpose("heating");
- list.add(cabin_2);
-
- locListIn.setList(list);
-
- locListOut = tae.passLocation(locListIn);
-
- for (int i=0; i < locListOut.getList().size(); i++){
-
- LocationImpl tmp = locListOut.getList().get(i);
-
- System.out.println("--- Output ListElement #: " + i + " ---");
- System.out.println("ID:\t " + tmp.getId());
- System.out.println("LocName: " + tmp.getLocName());
-
- if (tmp instanceof Cabin)
- {
- Cabin cabinTmp = (Cabin)tmp;
- System.out.println("Class:\t " + tmp.getClass());
- System.out.println("Name:\t " + cabinTmp.getName());
- System.out.println("Level:\t " + cabinTmp.getDeckLevel());
- System.out.println("BedCount:" + cabinTmp.getBedCount());
- }
- else if (tmp instanceof TechCabin)
- {
- TechCabin cabinTmp = (TechCabin)tmp;
- System.out.println("Class:\t " + tmp.getClass());
- System.out.println("Name:\t " + cabinTmp.getName());
- System.out.println("Level:\t " + cabinTmp.getDeckLevel());
- System.out.println("Purpose: " + cabinTmp.getPurpose());
- }
- else
- {
- fail("!!ERROR casting CABIN!!");
- }
- }
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/HandcodedSourcesTestCase.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,100 @@
+package org.jboss.test.ws.jaxws.jbws1795;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.Cabin;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.LocationImpl;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.TechCabin;
+import org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentEndpoint;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+public class HandcodedSourcesTestCase extends JBossWSTest
+{
+
+ private TravelAgentEndpoint tae = null;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(HandcodedSourcesTestCase.class, "jaxws-jbws1795.war");
+ }
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1795/JBWS1795Service?wsdl");
+ QName qname = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/","TravelAgentBeanService");
+ Service service = Service.create(wsdlURL,qname);
+ tae = service.getPort(TravelAgentEndpoint.class);
+ }
+
+ public void testInvocation() throws Exception
+ {
+ ListLocation locListIn = new ListLocation();
+ ListLocation locListOut = new ListLocation();
+ List<LocationImpl> list = new ArrayList<LocationImpl>();
+
+ Cabin cabin_1 = new Cabin();
+ cabin_1.setId(1);
+ cabin_1.setLocName("deck");
+ cabin_1.setName("Master Suite");
+ cabin_1.setDeckLevel(2);
+ cabin_1.setShipId(3);
+ cabin_1.setBedCount(4);
+ list.add(cabin_1);
+
+ TechCabin cabin_2 = new TechCabin();
+ cabin_2.setId(2);
+ cabin_2.setLocName("hulk");
+ cabin_2.setName("Heating Cabin");
+ cabin_2.setDeckLevel(7);
+ cabin_2.setShipId(3);
+ cabin_2.setPurpose("heating");
+ list.add(cabin_2);
+
+ locListIn.setList(list);
+
+ locListOut = tae.passLocation(locListIn);
+
+ for (int i=0; i < locListOut.getList().size(); i++){
+
+ LocationImpl tmp = locListOut.getList().get(i);
+
+ System.out.println("--- Output ListElement #: " + i + " ---");
+ System.out.println("ID:\t " + tmp.getId());
+ System.out.println("LocName: " + tmp.getLocName());
+
+ if (tmp instanceof Cabin)
+ {
+ Cabin cabinTmp = (Cabin)tmp;
+ System.out.println("Class:\t " + tmp.getClass());
+ System.out.println("Name:\t " + cabinTmp.getName());
+ System.out.println("Level:\t " + cabinTmp.getDeckLevel());
+ System.out.println("BedCount:" + cabinTmp.getBedCount());
+ }
+ else if (tmp instanceof TechCabin)
+ {
+ TechCabin cabinTmp = (TechCabin)tmp;
+ System.out.println("Class:\t " + tmp.getClass());
+ System.out.println("Name:\t " + cabinTmp.getName());
+ System.out.println("Level:\t " + cabinTmp.getDeckLevel());
+ System.out.println("Purpose: " + cabinTmp.getPurpose());
+ }
+ else
+ {
+ fail("!!ERROR casting CABIN!!");
+ }
+ }
+ }
+
+}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated)
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,119 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for cabin complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="cabin">
- * <complexContent>
- * <extension base="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl">
- * <sequence>
- * <element name="bedCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="deckLevel" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="shipId" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * </sequence>
- * </extension>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cabin", propOrder = {
- "bedCount",
- "deckLevel",
- "name",
- "shipId"
-})
-public class Cabin
- extends LocationImpl
-{
-
- protected int bedCount;
- protected int deckLevel;
- protected String name;
- protected int shipId;
-
- /**
- * Gets the value of the bedCount property.
- *
- */
- public int getBedCount() {
- return bedCount;
- }
-
- /**
- * Sets the value of the bedCount property.
- *
- */
- public void setBedCount(int value) {
- this.bedCount = value;
- }
-
- /**
- * Gets the value of the deckLevel property.
- *
- */
- public int getDeckLevel() {
- return deckLevel;
- }
-
- /**
- * Sets the value of the deckLevel property.
- *
- */
- public void setDeckLevel(int value) {
- this.deckLevel = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the shipId property.
- *
- */
- public int getShipId() {
- return shipId;
- }
-
- /**
- * Sets the value of the shipId property.
- *
- */
- public void setShipId(int value) {
- this.shipId = value;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/Cabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,119 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cabin complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cabin">
+ * <complexContent>
+ * <extension base="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl">
+ * <sequence>
+ * <element name="bedCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="deckLevel" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="shipId" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cabin", propOrder = {
+ "bedCount",
+ "deckLevel",
+ "name",
+ "shipId"
+})
+public class Cabin
+ extends LocationImpl
+{
+
+ protected int bedCount;
+ protected int deckLevel;
+ protected String name;
+ protected int shipId;
+
+ /**
+ * Gets the value of the bedCount property.
+ *
+ */
+ public int getBedCount() {
+ return bedCount;
+ }
+
+ /**
+ * Sets the value of the bedCount property.
+ *
+ */
+ public void setBedCount(int value) {
+ this.bedCount = value;
+ }
+
+ /**
+ * Gets the value of the deckLevel property.
+ *
+ */
+ public int getDeckLevel() {
+ return deckLevel;
+ }
+
+ /**
+ * Sets the value of the deckLevel property.
+ *
+ */
+ public void setDeckLevel(int value) {
+ this.deckLevel = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the shipId property.
+ *
+ */
+ public int getShipId() {
+ return shipId;
+ }
+
+ /**
+ * Sets the value of the shipId property.
+ *
+ */
+ public void setShipId(int value) {
+ this.shipId = value;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,73 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for listLocation complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="listLocation">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="list" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "listLocation", propOrder = {
- "list"
-})
-public class ListLocation {
-
- @XmlElement(nillable = true)
- protected List<LocationImpl> list;
-
- /**
- * Gets the value of the list property.
- *
- * <p>
- * This accessor method returns a reference to the live list,
- * not a snapshot. Therefore any modification you make to the
- * returned list will be present inside the JAXB object.
- * This is why there is not a <CODE>set</CODE> method for the list property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getList().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link LocationImpl }
- *
- *
- */
- public List<LocationImpl> getList() {
- if (list == null) {
- list = new ArrayList<LocationImpl>();
- }
- return this.list;
- }
-
- public void setList(List<LocationImpl> list) {
- this.list = list; // this method was added by user
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ListLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,73 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for listLocation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="listLocation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="list" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "listLocation", propOrder = {
+ "list"
+})
+public class ListLocation {
+
+ @XmlElement(nillable = true)
+ protected List<LocationImpl> list;
+
+ /**
+ * Gets the value of the list property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the list property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getList().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link LocationImpl }
+ *
+ *
+ */
+ public List<LocationImpl> getList() {
+ if (list == null) {
+ list = new ArrayList<LocationImpl>();
+ }
+ return this.list;
+ }
+
+ public void setList(List<LocationImpl> list) {
+ this.list = list; // this method was added by user
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,84 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlSeeAlso;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for locationImpl complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="locationImpl">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="locName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "locationImpl", propOrder = {
- "id",
- "locName"
-})
-@XmlSeeAlso({
- Cabin.class,
- TechCabin.class
-})
-public class LocationImpl {
-
- protected int id;
- protected String locName;
-
- /**
- * Gets the value of the id property.
- *
- */
- public int getId() {
- return id;
- }
-
- /**
- * Sets the value of the id property.
- *
- */
- public void setId(int value) {
- this.id = value;
- }
-
- /**
- * Gets the value of the locName property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getLocName() {
- return locName;
- }
-
- /**
- * Sets the value of the locName property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setLocName(String value) {
- this.locName = value;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/LocationImpl.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,84 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for locationImpl complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="locationImpl">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="locName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "locationImpl", propOrder = {
+ "id",
+ "locName"
+})
+@XmlSeeAlso({
+ Cabin.class,
+ TechCabin.class
+})
+public class LocationImpl {
+
+ protected int id;
+ protected String locName;
+
+ /**
+ * Gets the value of the id property.
+ *
+ */
+ public int getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ */
+ public void setId(int value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the locName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLocName() {
+ return locName;
+ }
+
+ /**
+ * Sets the value of the locName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLocName(String value) {
+ this.locName = value;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,103 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.JAXBElement;
-import javax.xml.bind.annotation.XmlElementDecl;
-import javax.xml.bind.annotation.XmlRegistry;
-import javax.xml.namespace.QName;
-
-
-/**
- * This object contains factory methods for each
- * Java content interface and Java element interface
- * generated in the org.jboss.test.ws.jaxws.jbws1795.generated package.
- * <p>An ObjectFactory allows you to programatically
- * construct new instances of the Java representation
- * for XML content. The Java representation of XML
- * content can consist of schema derived interfaces
- * and classes representing the binding of schema
- * type definitions, element declarations and model
- * groups. Factory methods for each of these are
- * provided in this class.
- *
- */
-@XmlRegistry
-public class ObjectFactory {
-
- private final static QName _PassLocation_QNAME = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "passLocation");
- private final static QName _PassLocationResponse_QNAME = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "passLocationResponse");
-
- /**
- * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.test.ws.jaxws.jbws1795.generated
- *
- */
- public ObjectFactory() {
- }
-
- /**
- * Create an instance of {@link ListLocation }
- *
- */
- public ListLocation createListLocation() {
- return new ListLocation();
- }
-
- /**
- * Create an instance of {@link PassLocationResponse }
- *
- */
- public PassLocationResponse createPassLocationResponse() {
- return new PassLocationResponse();
- }
-
- /**
- * Create an instance of {@link LocationImpl }
- *
- */
- public LocationImpl createLocationImpl() {
- return new LocationImpl();
- }
-
- /**
- * Create an instance of {@link TechCabin }
- *
- */
- public TechCabin createTechCabin() {
- return new TechCabin();
- }
-
- /**
- * Create an instance of {@link Cabin }
- *
- */
- public Cabin createCabin() {
- return new Cabin();
- }
-
- /**
- * Create an instance of {@link PassLocation }
- *
- */
- public PassLocation createPassLocation() {
- return new PassLocation();
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link PassLocation }{@code >}}
- *
- */
- @XmlElementDecl(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", name = "passLocation")
- public JAXBElement<PassLocation> createPassLocation(PassLocation value) {
- return new JAXBElement<PassLocation>(_PassLocation_QNAME, PassLocation.class, null, value);
- }
-
- /**
- * Create an instance of {@link JAXBElement }{@code <}{@link PassLocationResponse }{@code >}}
- *
- */
- @XmlElementDecl(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", name = "passLocationResponse")
- public JAXBElement<PassLocationResponse> createPassLocationResponse(PassLocationResponse value) {
- return new JAXBElement<PassLocationResponse>(_PassLocationResponse_QNAME, PassLocationResponse.class, null, value);
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/ObjectFactory.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,103 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.jaxws.jbws1795.generated package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _PassLocation_QNAME = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "passLocation");
+ private final static QName _PassLocationResponse_QNAME = new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "passLocationResponse");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.test.ws.jaxws.jbws1795.generated
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link ListLocation }
+ *
+ */
+ public ListLocation createListLocation() {
+ return new ListLocation();
+ }
+
+ /**
+ * Create an instance of {@link PassLocationResponse }
+ *
+ */
+ public PassLocationResponse createPassLocationResponse() {
+ return new PassLocationResponse();
+ }
+
+ /**
+ * Create an instance of {@link LocationImpl }
+ *
+ */
+ public LocationImpl createLocationImpl() {
+ return new LocationImpl();
+ }
+
+ /**
+ * Create an instance of {@link TechCabin }
+ *
+ */
+ public TechCabin createTechCabin() {
+ return new TechCabin();
+ }
+
+ /**
+ * Create an instance of {@link Cabin }
+ *
+ */
+ public Cabin createCabin() {
+ return new Cabin();
+ }
+
+ /**
+ * Create an instance of {@link PassLocation }
+ *
+ */
+ public PassLocation createPassLocation() {
+ return new PassLocation();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PassLocation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", name = "passLocation")
+ public JAXBElement<PassLocation> createPassLocation(PassLocation value) {
+ return new JAXBElement<PassLocation>(_PassLocation_QNAME, PassLocation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PassLocationResponse }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", name = "passLocationResponse")
+ public JAXBElement<PassLocationResponse> createPassLocationResponse(PassLocationResponse value) {
+ return new JAXBElement<PassLocationResponse>(_PassLocationResponse_QNAME, PassLocationResponse.class, null, value);
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,62 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for passLocation complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="passLocation">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="ListLocation" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}listLocation" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "passLocation", propOrder = {
- "listLocation"
-})
-public class PassLocation {
-
- @XmlElement(name = "ListLocation")
- protected ListLocation listLocation;
-
- /**
- * Gets the value of the listLocation property.
- *
- * @return
- * possible object is
- * {@link ListLocation }
- *
- */
- public ListLocation getListLocation() {
- return listLocation;
- }
-
- /**
- * Sets the value of the listLocation property.
- *
- * @param value
- * allowed object is
- * {@link ListLocation }
- *
- */
- public void setListLocation(ListLocation value) {
- this.listLocation = value;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for passLocation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="passLocation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ListLocation" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}listLocation" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "passLocation", propOrder = {
+ "listLocation"
+})
+public class PassLocation {
+
+ @XmlElement(name = "ListLocation")
+ protected ListLocation listLocation;
+
+ /**
+ * Gets the value of the listLocation property.
+ *
+ * @return
+ * possible object is
+ * {@link ListLocation }
+ *
+ */
+ public ListLocation getListLocation() {
+ return listLocation;
+ }
+
+ /**
+ * Sets the value of the listLocation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ListLocation }
+ *
+ */
+ public void setListLocation(ListLocation value) {
+ this.listLocation = value;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,62 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for passLocationResponse complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="passLocationResponse">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="return" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}listLocation" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "passLocationResponse", propOrder = {
- "_return"
-})
-public class PassLocationResponse {
-
- @XmlElement(name = "return")
- protected ListLocation _return;
-
- /**
- * Gets the value of the return property.
- *
- * @return
- * possible object is
- * {@link ListLocation }
- *
- */
- public ListLocation getReturn() {
- return _return;
- }
-
- /**
- * Sets the value of the return property.
- *
- * @param value
- * allowed object is
- * {@link ListLocation }
- *
- */
- public void setReturn(ListLocation value) {
- this._return = value;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/PassLocationResponse.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for passLocationResponse complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="passLocationResponse">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="return" type="{http://service.jbws1795.jaxws.ws.test.jboss.org/}listLocation" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "passLocationResponse", propOrder = {
+ "_return"
+})
+public class PassLocationResponse {
+
+ @XmlElement(name = "return")
+ protected ListLocation _return;
+
+ /**
+ * Gets the value of the return property.
+ *
+ * @return
+ * possible object is
+ * {@link ListLocation }
+ *
+ */
+ public ListLocation getReturn() {
+ return _return;
+ }
+
+ /**
+ * Sets the value of the return property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ListLocation }
+ *
+ */
+ public void setReturn(ListLocation value) {
+ this._return = value;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,127 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlType;
-
-
-/**
- * <p>Java class for techCabin complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="techCabin">
- * <complexContent>
- * <extension base="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl">
- * <sequence>
- * <element name="deckLevel" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="purpose" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- * <element name="shipId" type="{http://www.w3.org/2001/XMLSchema}int"/>
- * </sequence>
- * </extension>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
-(a)XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "techCabin", propOrder = {
- "deckLevel",
- "name",
- "purpose",
- "shipId"
-})
-public class TechCabin
- extends LocationImpl
-{
-
- protected int deckLevel;
- protected String name;
- protected String purpose;
- protected int shipId;
-
- /**
- * Gets the value of the deckLevel property.
- *
- */
- public int getDeckLevel() {
- return deckLevel;
- }
-
- /**
- * Sets the value of the deckLevel property.
- *
- */
- public void setDeckLevel(int value) {
- this.deckLevel = value;
- }
-
- /**
- * Gets the value of the name property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getName() {
- return name;
- }
-
- /**
- * Sets the value of the name property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setName(String value) {
- this.name = value;
- }
-
- /**
- * Gets the value of the purpose property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getPurpose() {
- return purpose;
- }
-
- /**
- * Sets the value of the purpose property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setPurpose(String value) {
- this.purpose = value;
- }
-
- /**
- * Gets the value of the shipId property.
- *
- */
- public int getShipId() {
- return shipId;
- }
-
- /**
- * Sets the value of the shipId property.
- *
- */
- public void setShipId(int value) {
- this.shipId = value;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TechCabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,127 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for techCabin complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="techCabin">
+ * <complexContent>
+ * <extension base="{http://service.jbws1795.jaxws.ws.test.jboss.org/}locationImpl">
+ * <sequence>
+ * <element name="deckLevel" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="purpose" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="shipId" type="{http://www.w3.org/2001/XMLSchema}int"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "techCabin", propOrder = {
+ "deckLevel",
+ "name",
+ "purpose",
+ "shipId"
+})
+public class TechCabin
+ extends LocationImpl
+{
+
+ protected int deckLevel;
+ protected String name;
+ protected String purpose;
+ protected int shipId;
+
+ /**
+ * Gets the value of the deckLevel property.
+ *
+ */
+ public int getDeckLevel() {
+ return deckLevel;
+ }
+
+ /**
+ * Sets the value of the deckLevel property.
+ *
+ */
+ public void setDeckLevel(int value) {
+ this.deckLevel = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the purpose property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPurpose() {
+ return purpose;
+ }
+
+ /**
+ * Sets the value of the purpose property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPurpose(String value) {
+ this.purpose = value;
+ }
+
+ /**
+ * Gets the value of the shipId property.
+ *
+ */
+ public int getShipId() {
+ return shipId;
+ }
+
+ /**
+ * Sets the value of the shipId property.
+ *
+ */
+ public void setShipId(int value) {
+ this.shipId = value;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,66 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-import javax.xml.ws.WebEndpoint;
-import javax.xml.ws.WebServiceClient;
-import javax.xml.ws.WebServiceFeature;
-
-
-/**
- * This class was generated by the JAX-WS RI.
- * JAX-WS RI 2.1.1-b03-
- * Generated source version: 2.1
- *
- */
-@WebServiceClient(name = "TravelAgentBeanService", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", wsdlLocation = "http://127.0.0.1:8080/jaxws-jbws1795/JBWS1795Service?wsdl")
-public class TravelAgentBeanService
- extends Service
-{
-
- private final static URL TRAVELAGENTBEANSERVICE_WSDL_LOCATION;
-
- static {
- URL url = null;
- try {
- url = new URL("http://127.0.0.1:8080/jaxws-jbws1795/JBWS1795Service?wsdl");
- } catch (MalformedURLException e) {
- e.printStackTrace();
- }
- TRAVELAGENTBEANSERVICE_WSDL_LOCATION = url;
- }
-
- public TravelAgentBeanService(URL wsdlLocation, QName serviceName) {
- super(wsdlLocation, serviceName);
- }
-
- public TravelAgentBeanService() {
- super(TRAVELAGENTBEANSERVICE_WSDL_LOCATION, new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanService"));
- }
-
- /**
- *
- * @return
- * returns TravelAgentEndpoint
- */
- @WebEndpoint(name = "TravelAgentBeanPort")
- public TravelAgentEndpoint getTravelAgentBeanPort() {
- return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class);
- }
-
- /**
- *
- * @param features
- * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
- * @return
- * returns TravelAgentEndpoint
- */
- @WebEndpoint(name = "TravelAgentBeanPort")
- public TravelAgentEndpoint getTravelAgentBeanPort(WebServiceFeature... features) {
- return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class, features);
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentBeanService.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,66 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceFeature;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.1
+ *
+ */
+@WebServiceClient(name = "TravelAgentBeanService", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", wsdlLocation = "http://127.0.0.1:8080/jaxws-jbws1795/JBWS1795Service?wsdl")
+public class TravelAgentBeanService
+ extends Service
+{
+
+ private final static URL TRAVELAGENTBEANSERVICE_WSDL_LOCATION;
+
+ static {
+ URL url = null;
+ try {
+ url = new URL("http://127.0.0.1:8080/jaxws-jbws1795/JBWS1795Service?wsdl");
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
+ TRAVELAGENTBEANSERVICE_WSDL_LOCATION = url;
+ }
+
+ public TravelAgentBeanService(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public TravelAgentBeanService() {
+ super(TRAVELAGENTBEANSERVICE_WSDL_LOCATION, new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanService"));
+ }
+
+ /**
+ *
+ * @return
+ * returns TravelAgentEndpoint
+ */
+ @WebEndpoint(name = "TravelAgentBeanPort")
+ public TravelAgentEndpoint getTravelAgentBeanPort() {
+ return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class);
+ }
+
+ /**
+ *
+ * @param features
+ * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
+ * @return
+ * returns TravelAgentEndpoint
+ */
+ @WebEndpoint(name = "TravelAgentBeanPort")
+ public TravelAgentEndpoint getTravelAgentBeanPort(WebServiceFeature... features) {
+ return (TravelAgentEndpoint)super.getPort(new QName("http://service.jbws1795.jaxws.ws.test.jboss.org/", "TravelAgentBeanPort"), TravelAgentEndpoint.class, features);
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,40 +0,0 @@
-
-package org.jboss.test.ws.jaxws.jbws1795.generated;
-
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.WebService;
-import javax.xml.bind.annotation.XmlSeeAlso;
-import javax.xml.ws.RequestWrapper;
-import javax.xml.ws.ResponseWrapper;
-
-
-/**
- * This class was generated by the JAX-WS RI.
- * JAX-WS RI 2.1.1-b03-
- * Generated source version: 2.1
- *
- */
-@WebService(name = "TravelAgentEndpoint", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
-@XmlSeeAlso({
- ObjectFactory.class
-})
-public interface TravelAgentEndpoint {
-
-
- /**
- *
- * @param listLocation
- * @return
- * returns org.jboss.test.ws.jaxws.jbws1795.generated.ListLocation
- */
- @WebMethod
- @WebResult(targetNamespace = "")
- @RequestWrapper(localName = "passLocation", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", className = "org.jboss.test.ws.jaxws.jbws1795.generated.PassLocation")
- @ResponseWrapper(localName = "passLocationResponse", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", className = "org.jboss.test.ws.jaxws.jbws1795.generated.PassLocationResponse")
- public ListLocation passLocation(
- @WebParam(name = "ListLocation", targetNamespace = "")
- ListLocation listLocation);
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/TravelAgentEndpoint.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,40 @@
+
+package org.jboss.test.ws.jaxws.jbws1795.generated;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.1
+ *
+ */
+@WebService(name = "TravelAgentEndpoint", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
+@XmlSeeAlso({
+ ObjectFactory.class
+})
+public interface TravelAgentEndpoint {
+
+
+ /**
+ *
+ * @param listLocation
+ * @return
+ * returns org.jboss.test.ws.jaxws.jbws1795.generated.ListLocation
+ */
+ @WebMethod
+ @WebResult(targetNamespace = "")
+ @RequestWrapper(localName = "passLocation", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", className = "org.jboss.test.ws.jaxws.jbws1795.generated.PassLocation")
+ @ResponseWrapper(localName = "passLocationResponse", targetNamespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/", className = "org.jboss.test.ws.jaxws.jbws1795.generated.PassLocationResponse")
+ public ListLocation passLocation(
+ @WebParam(name = "ListLocation", targetNamespace = "")
+ ListLocation listLocation);
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,2 +0,0 @@
-(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
-package org.jboss.test.ws.jaxws.jbws1795.generated;
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/generated/package-info.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
+package org.jboss.test.ws.jaxws.jbws1795.generated;
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded)
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,52 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
-
-public class Cabin extends LocationImpl implements java.io.Serializable
-{
-
- private static final long serialVersionUID = 1L;
- private String name;
- private int deckLevel;
- private int shipId;
- private int bedCount;
-
- public String getName()
- {
- return name;
- }
-
- public void setName(String str)
- {
- name = str;
- }
-
- public int getDeckLevel()
- {
- return deckLevel;
- }
-
- public void setDeckLevel(int level)
- {
- deckLevel = level;
- }
-
- public int getShipId()
- {
- return shipId;
- }
-
- public void setShipId(int sid)
- {
- shipId = sid;
- }
-
- public int getBedCount()
- {
- return bedCount;
- }
-
- public void setBedCount(int bed)
- {
- bedCount = bed;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Cabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,52 @@
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
+
+public class Cabin extends LocationImpl implements java.io.Serializable
+{
+
+ private static final long serialVersionUID = 1L;
+ private String name;
+ private int deckLevel;
+ private int shipId;
+ private int bedCount;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String str)
+ {
+ name = str;
+ }
+
+ public int getDeckLevel()
+ {
+ return deckLevel;
+ }
+
+ public void setDeckLevel(int level)
+ {
+ deckLevel = level;
+ }
+
+ public int getShipId()
+ {
+ return shipId;
+ }
+
+ public void setShipId(int sid)
+ {
+ shipId = sid;
+ }
+
+ public int getBedCount()
+ {
+ return bedCount;
+ }
+
+ public void setBedCount(int bed)
+ {
+ bedCount = bed;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,20 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
-
-import java.util.List;
-
-public class ListLocation
-{
-
- private List<LocationImpl> list;
-
- public List<LocationImpl> getList()
- {
- return list;
- }
-
- public void setList(List<LocationImpl> list)
- {
- this.list = list;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/ListLocation.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,20 @@
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
+
+import java.util.List;
+
+public class ListLocation
+{
+
+ private List<LocationImpl> list;
+
+ public List<LocationImpl> getList()
+ {
+ return list;
+ }
+
+ public void setList(List<LocationImpl> list)
+ {
+ this.list = list;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,11 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
-
-public interface Location
-{
-
- public int getId();
- public void setId(int pk);
- public String getLocName();
- public void setLocName(String str);
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/Location.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,11 @@
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
+
+public interface Location
+{
+
+ public int getId();
+ public void setId(int pk);
+ public String getLocName();
+ public void setLocName(String str);
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,35 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
-
-import java.io.Serializable;
-
-import javax.xml.bind.annotation.XmlSeeAlso;
-
-(a)XmlSeeAlso({Cabin.class, TechCabin.class})
-public class LocationImpl implements Serializable, Location
-{
-
- private static final long serialVersionUID = 1L;
- private int id;
- private String locName;
-
- public int getId()
- {
- return id;
- }
-
- public void setId(int pk)
- {
- id = pk;
- }
-
- public String getLocName()
- {
- return locName;
- }
-
- public void setLocName(String str)
- {
- locName = str;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/LocationImpl.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,35 @@
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
+
+import java.io.Serializable;
+
+import javax.xml.bind.annotation.XmlSeeAlso;
+
+(a)XmlSeeAlso({Cabin.class, TechCabin.class})
+public class LocationImpl implements Serializable, Location
+{
+
+ private static final long serialVersionUID = 1L;
+ private int id;
+ private String locName;
+
+ public int getId()
+ {
+ return id;
+ }
+
+ public void setId(int pk)
+ {
+ id = pk;
+ }
+
+ public String getLocName()
+ {
+ return locName;
+ }
+
+ public void setLocName(String str)
+ {
+ locName = str;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,52 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
-
-public class TechCabin extends LocationImpl implements java.io.Serializable
-{
-
- private static final long serialVersionUID = 1L;
- private String name;
- private int deckLevel;
- private int shipId;
- private String purpose;
-
- public String getName()
- {
- return name;
- }
-
- public void setName(String str)
- {
- name = str;
- }
-
- public int getDeckLevel()
- {
- return deckLevel;
- }
-
- public void setDeckLevel(int level)
- {
- deckLevel = level;
- }
-
- public int getShipId()
- {
- return shipId;
- }
-
- public void setShipId(int sid)
- {
- shipId = sid;
- }
-
- public String getPurpose()
- {
- return purpose;
- }
-
- public void setPurpose(String purpose)
- {
- this.purpose = purpose;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/TechCabin.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,52 @@
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
+
+public class TechCabin extends LocationImpl implements java.io.Serializable
+{
+
+ private static final long serialVersionUID = 1L;
+ private String name;
+ private int deckLevel;
+ private int shipId;
+ private String purpose;
+
+ public String getName()
+ {
+ return name;
+ }
+
+ public void setName(String str)
+ {
+ name = str;
+ }
+
+ public int getDeckLevel()
+ {
+ return deckLevel;
+ }
+
+ public void setDeckLevel(int level)
+ {
+ deckLevel = level;
+ }
+
+ public int getShipId()
+ {
+ return shipId;
+ }
+
+ public void setShipId(int sid)
+ {
+ shipId = sid;
+ }
+
+ public String getPurpose()
+ {
+ return purpose;
+ }
+
+ public void setPurpose(String purpose)
+ {
+ this.purpose = purpose;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,2 +0,0 @@
-(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
-package org.jboss.test.ws.jaxws.jbws1795.handcoded;
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/handcoded/package-info.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,2 @@
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://service.jbws1795.jaxws.ws.test.jboss.org/")
+package org.jboss.test.ws.jaxws.jbws1795.handcoded;
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service)
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,44 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.service;
-
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.Cabin;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.Location;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.LocationImpl;
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.TechCabin;
-
-public class CabinListHandler
-{
-
- public CabinListHandler()
- {
- }
-
- public ListLocation getLocations(ListLocation listLocation)
- {
-
- for (int i = 0; i < listLocation.getList().size(); i++)
- {
- Location loc = listLocation.getList().get(i);
-
- if (loc instanceof TechCabin)
- {
- System.out.println("--- TechCabin Argument ---");
- }
- else if (loc instanceof Cabin)
- {
- System.out.println("--- Cabin Argument ---");
- }
- else if (loc instanceof LocationImpl)
- {
- System.out.println("--- LocationImpl Argument ---");
- }
- else
- {
- System.out.println("--- ERROR RECIEVING OBJECT GRAPH ---");
- }
- }
-
- return listLocation;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/CabinListHandler.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,44 @@
+package org.jboss.test.ws.jaxws.jbws1795.service;
+
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.Cabin;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.Location;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.LocationImpl;
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.TechCabin;
+
+public class CabinListHandler
+{
+
+ public CabinListHandler()
+ {
+ }
+
+ public ListLocation getLocations(ListLocation listLocation)
+ {
+
+ for (int i = 0; i < listLocation.getList().size(); i++)
+ {
+ Location loc = listLocation.getList().get(i);
+
+ if (loc instanceof TechCabin)
+ {
+ System.out.println("--- TechCabin Argument ---");
+ }
+ else if (loc instanceof Cabin)
+ {
+ System.out.println("--- Cabin Argument ---");
+ }
+ else if (loc instanceof LocationImpl)
+ {
+ System.out.println("--- LocationImpl Argument ---");
+ }
+ else
+ {
+ System.out.println("--- ERROR RECIEVING OBJECT GRAPH ---");
+ }
+ }
+
+ return listLocation;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,21 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.service;
-
-import javax.ejb.Stateless;
-import javax.jws.WebService;
-
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
-
-@Stateless
-@WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentEndpoint")
-public class TravelAgentBean implements TravelAgentEndpoint
-{
-
- public ListLocation passLocation(ListLocation listLocation)
- {
- CabinListHandler clh = new CabinListHandler();
- ListLocation list = new ListLocation();
- list = clh.getLocations(listLocation);
- return list;
- }
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentBean.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,21 @@
+package org.jboss.test.ws.jaxws.jbws1795.service;
+
+import javax.ejb.Stateless;
+import javax.jws.WebService;
+
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
+
+@Stateless
+@WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentEndpoint")
+public class TravelAgentBean implements TravelAgentEndpoint
+{
+
+ public ListLocation passLocation(ListLocation listLocation)
+ {
+ CabinListHandler clh = new CabinListHandler();
+ ListLocation list = new ListLocation();
+ list = clh.getLocations(listLocation);
+ return list;
+ }
+
+}
Deleted: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,19 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws1795.service;
-
-import java.rmi.RemoteException;
-
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebService;
-
-import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
-
-@WebService
-public interface TravelAgentEndpoint
-{
-
- @WebMethod
- public ListLocation passLocation(@WebParam (name="ListLocation") ListLocation listLocation)
- throws RemoteException;
-
-}
Copied: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java (from rev 4667, stack/native/branches/ropalka/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java)
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1795/service/TravelAgentEndpoint.java 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,19 @@
+package org.jboss.test.ws.jaxws.jbws1795.service;
+
+import java.rmi.RemoteException;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+import org.jboss.test.ws.jaxws.jbws1795.handcoded.ListLocation;
+
+@WebService
+public interface TravelAgentEndpoint
+{
+
+ @WebMethod
+ public ListLocation passLocation(@WebParam (name="ListLocation") ListLocation listLocation)
+ throws RemoteException;
+
+}
Copied: stack/native/trunk/src/test/resources/jaxws/jbws1795 (from rev 4667, stack/native/branches/ropalka/trunk/src/test/resources/jaxws/jbws1795)
Copied: stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF (from rev 4667, stack/native/branches/ropalka/trunk/src/test/resources/jaxws/jbws1795/WEB-INF)
Deleted: stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml 2007-10-03 13:41:50 UTC (rev 4669)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
- version="2.4">
-
- <servlet>
- <servlet-name>JBWS1795Service</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentBean</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>JBWS1795Service</servlet-name>
- <url-pattern>/JBWS1795Service</url-pattern>
- </servlet-mapping>
-
-</web-app>
Copied: stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml (from rev 4667, stack/native/branches/ropalka/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml)
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1795/WEB-INF/web.xml 2007-10-03 13:41:50 UTC (rev 4669)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>JBWS1795Service</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws1795.service.TravelAgentBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>JBWS1795Service</servlet-name>
+ <url-pattern>/JBWS1795Service</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt 2007-10-03 13:39:44 UTC (rev 4668)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt 2007-10-03 13:41:50 UTC (rev 4669)
@@ -19,6 +19,7 @@
org/jboss/test/ws/jaxws/jbws1581/**
org/jboss/test/ws/jaxws/jbws1665/**
org/jboss/test/ws/jaxws/jbws1694/**
+org/jboss/test/ws/jaxws/jbws1795/**
org/jboss/test/ws/jaxws/jbws771/**
org/jboss/test/ws/jaxws/jbws944/**
org/jboss/test/ws/jaxws/jbws981/**
17 years, 3 months
JBossWS SVN: r4668 - stack/native/branches/ropalka/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2007-10-03 09:39:44 -0400 (Wed, 03 Oct 2007)
New Revision: 4668
Modified:
stack/native/branches/ropalka/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt
Log:
[JBWS-1795] adding test to EJB3 excludes list
Modified: stack/native/branches/ropalka/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt
===================================================================
--- stack/native/branches/ropalka/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt 2007-10-03 13:35:53 UTC (rev 4667)
+++ stack/native/branches/ropalka/trunk/src/test/resources/test-excludes-jboss40.no.ejb3.txt 2007-10-03 13:39:44 UTC (rev 4668)
@@ -19,6 +19,7 @@
org/jboss/test/ws/jaxws/jbws1581/**
org/jboss/test/ws/jaxws/jbws1665/**
org/jboss/test/ws/jaxws/jbws1694/**
+org/jboss/test/ws/jaxws/jbws1795/**
org/jboss/test/ws/jaxws/jbws771/**
org/jboss/test/ws/jaxws/jbws944/**
org/jboss/test/ws/jaxws/jbws981/**
17 years, 3 months