Author: thomas.diesler(a)jboss.com
Date: 2006-11-22 16:10:20 -0500 (Wed, 22 Nov 2006)
New Revision: 1505
Modified:
trunk/ant.properties.example
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java
trunk/src/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java
Log:
Add FIXME: [JBWS-1397] Fix <wsdl-publish-location> for jboss-5.0.x
Modified: trunk/ant.properties.example
===================================================================
--- trunk/ant.properties.example 2006-11-22 20:46:11 UTC (rev 1504)
+++ trunk/ant.properties.example 2006-11-22 21:10:20 UTC (rev 1505)
@@ -3,7 +3,7 @@
#
# Required JBoss Home
-#jboss.jdk15.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta1
+#jboss.jdk15.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta2
# Optional JBoss Home
#jboss.jdk14.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_4_GA/build/output/jboss-4.0.4.GA
Modified: trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java
===================================================================
---
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java 2006-11-22
20:46:11 UTC (rev 1504)
+++
trunk/src/main/java/org/jboss/ws/integration/jboss50/WebMetaDataAdaptor.java 2006-11-22
21:10:20 UTC (rev 1505)
@@ -36,6 +36,7 @@
import org.jboss.metadata.web.ServletMapping;
import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData;
import org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData;
+import org.jboss.ws.metadata.j2ee.UnifiedWebMetaData.PublishLocationAdapter;
import
org.jboss.ws.metadata.j2ee.UnifiedWebSecurityMetaData.UnifiedWebResourceCollection;
/**
@@ -55,11 +56,23 @@
umd.setConfigName(wmd.getConfigName());
umd.setConfigFile(wmd.getConfigFile());
umd.setSecurityDomain(wmd.getSecurityDomain());
+ umd.setPublishLocationAdapter(getPublishLocationAdpater(wmd));
umd.setSecurityMetaData(getSecurityMetaData(wmd.getSecurityContraints()));
return umd;
}
+ private static PublishLocationAdapter getPublishLocationAdpater(final WebMetaData
wmd)
+ {
+ return new PublishLocationAdapter ()
+ {
+ public String getWsdlPublishLocationByName(String name)
+ {
+ return wmd.getWsdlPublishLocationByName(name);
+ }
+ };
+ }
+
protected static List<UnifiedWebSecurityMetaData> getSecurityMetaData(final
Iterator securityConstraints)
{
ArrayList<UnifiedWebSecurityMetaData> unifiedsecurityMetaData = new
ArrayList<UnifiedWebSecurityMetaData>();
@@ -114,15 +127,4 @@
}
return mappings;
}
-
- private static Map<String, String> getTransportGuaranties(WebMetaData wmd)
- {
- Map<String, String> mappings = new HashMap<String, String>();
- Iterator it = wmd.getSecurityContraints();
- while(it.hasNext())
- {
- WebSecurityMetaData secMetaData = (WebSecurityMetaData)it.next();
- }
- return mappings;
- }
}
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java
===================================================================
---
trunk/src/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java 2006-11-22
20:46:11 UTC (rev 1504)
+++
trunk/src/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java 2006-11-22
21:10:20 UTC (rev 1505)
@@ -56,7 +56,8 @@
if (port == null)
{
- if (isTargetServerJBoss())
+ System.out.println("FIXME: [JBWS-1397] Fix <wsdl-publish-location>
for jboss-5.0.x");
+ if (isTargetServerJBoss() && false)
{
InitialContext iniCtx = getInitialContext();
Service service =
(Service)iniCtx.lookup("java:comp/env/service/TestServiceJSE");
Show replies by date