Author: thomas.diesler(a)jboss.com
Date: 2007-06-27 07:36:02 -0400 (Wed, 27 Jun 2007)
New Revision: 3745
Modified:
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws165/JBWS165TestCase.java
Log:
Install backward compatible context-root, url-pattern deployer
Modified:
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws165/JBWS165TestCase.java
===================================================================
---
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws165/JBWS165TestCase.java 2007-06-27
11:32:01 UTC (rev 3744)
+++
branches/jbossws-2.0/jbossws-core/src/test/java/org/jboss/test/ws/jaxrpc/jbws165/JBWS165TestCase.java 2007-06-27
11:36:02 UTC (rev 3745)
@@ -65,12 +65,8 @@
public void testPortComponentURIOne() throws Exception
{
- URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxrpc-jbws165-jaxrpc-jbws165-pcuri/Explicit/Path/HelloPCOne?wsdl");
+ URL wsdlURL = new URL("http://" + getServerHost() +
":8080/Explicit/Path/HelloPCOne?wsdl");
- // In JBoss40 the context-root is derived from the first token in
port-component-uri
- if (isTargetJBoss40())
- wsdlURL = new URL("http://" + getServerHost() +
":8080/Explicit/Path/HelloPCOne?wsdl");
-
URL mappingURL = new
File("resources/jaxrpc/jbws165/META-INF/jaxrpc-mapping.xml").toURL();
QName serviceName = new QName("http://org.jboss.test.webservice/jbws165",
"HelloServicePcURI");
Service service = new ServiceFactoryImpl().createService(wsdlURL, serviceName,
mappingURL);
@@ -82,12 +78,8 @@
public void testPortComponentURITwo() throws Exception
{
- URL wsdlURL = new URL("http://" + getServerHost() +
":8080/jaxrpc-jbws165-jaxrpc-jbws165-pcuri/Explicit/Path/HelloPCTwo?wsdl");
+ URL wsdlURL = new URL("http://" + getServerHost() +
":8080/Explicit/Path/HelloPCTwo?wsdl");
- // In JBoss40 the context-root is derived from the first token in
port-component-uri
- if (isTargetJBoss40())
- wsdlURL = new URL("http://" + getServerHost() +
":8080/Explicit/Path/HelloPCTwo?wsdl");
-
URL mappingURL = new
File("resources/jaxrpc/jbws165/META-INF/jaxrpc-mapping.xml").toURL();
QName serviceName = new QName("http://org.jboss.test.webservice/jbws165",
"HelloServicePcURI");
Service service = new ServiceFactoryImpl().createService(wsdlURL, serviceName,
mappingURL);
Show replies by date