You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by sc...@apache.org on 2005/07/28 17:12:28 UTC
svn commit: r225796 - in /webservices/muse/trunk/src/examples:
enterprise/services/application/src/java/org/apache/ws/muse/example/application/
enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/
enterprise/...
Author: scamp
Date: Thu Jul 28 08:12:17 2005
New Revision: 225796
URL: http://svn.apache.org/viewcvs?rev=225796&view=rev
Log:
fixed for change to getEndpointReference
Modified:
webservices/muse/trunk/src/examples/enterprise/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
webservices/muse/trunk/src/examples/enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
webservices/muse/trunk/src/examples/enterprise/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
webservices/muse/trunk/src/examples/enterprise/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
webservices/muse/trunk/src/examples/enterprise/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
webservices/muse/trunk/src/examples/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
Modified: webservices/muse/trunk/src/examples/enterprise/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/enterprise/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/enterprise/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java (original)
+++ webservices/muse/trunk/src/examples/enterprise/services/application/src/java/org/apache/ws/muse/example/application/ApplicationHome.java Thu Jul 28 08:12:17 2005
@@ -143,9 +143,7 @@
//To work around thes problem the "http://schemas.xmlsoap.org/ws/2004/08/addressing" is used as namespace for addressing
//EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , null, SPEC_NAMESPACE_SET.getAddressingNamespace());
EndpointReference epr =
- getEndpointReference( resourceContext.getBaseURL( ) + "/" + getServiceName( ).getLocalPart( ),
- resourceId,
- ExampleConstants.getAddressingNamespace( ) );
+ getEndpointReference( resourceId );
( (ApplicationResource) resource ).setEndpointReference( epr );
resource.init( );
add( resource );
Modified: webservices/muse/trunk/src/examples/enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java (original)
+++ webservices/muse/trunk/src/examples/enterprise/services/businessprocesstype/src/java/org/apache/ws/muse/example/businessprocesstype/BusinessprocesstypeHome.java Thu Jul 28 08:12:17 2005
@@ -141,9 +141,7 @@
//To work around thes problem the "http://schemas.xmlsoap.org/ws/2004/08/addressing" is used as namespace for addressing
//EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , null, SPEC_NAMESPACE_SET.getAddressingNamespace());
EndpointReference epr =
- getEndpointReference( resourceContext.getBaseURL( ) + "/" + getServiceName( ).getLocalPart( ),
- resourceId,
- ExampleConstants.getAddressingNamespace( ) );
+ getEndpointReference( resourceId );
( (BusinessprocesstypeResource) resource ).setEndpointReference( epr );
resource.init( );
add( resource );
Modified: webservices/muse/trunk/src/examples/enterprise/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/enterprise/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/enterprise/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java (original)
+++ webservices/muse/trunk/src/examples/enterprise/services/host/src/java/org/apache/ws/muse/example/host/HostHome.java Thu Jul 28 08:12:17 2005
@@ -141,9 +141,7 @@
//To work around thes problem the "http://schemas.xmlsoap.org/ws/2004/08/addressing" is used as namespace for addressing
//EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , null, SPEC_NAMESPACE_SET.getAddressingNamespace());
EndpointReference epr =
- getEndpointReference( resourceContext.getBaseURL( ) + "/" + getServiceName( ).getLocalPart( ),
- resourceId,
- ExampleConstants.getAddressingNamespace( ) );
+ getEndpointReference( resourceId );
( (HostResource) resource ).setEndpointReference( epr );
resource.init( );
add( resource );
Modified: webservices/muse/trunk/src/examples/enterprise/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/enterprise/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/enterprise/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java (original)
+++ webservices/muse/trunk/src/examples/enterprise/services/integrationserver/src/java/org/apache/ws/muse/example/integrationserver/IntegrationserverHome.java Thu Jul 28 08:12:17 2005
@@ -68,7 +68,7 @@
//The EPRs should be build using "http://schemas.xmlsoap.org/ws/2003/03/addressing" addressing namespace. It introduces spec conflicts
//To work around thes problem the "http://schemas.xmlsoap.org/ws/2004/08/addressing" is used as namespace for addressing
//EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , aKey, SPEC_NAMESPACE_SET.getAddressingNamespace());
- EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , resourceId, ExampleConstants.getAddressingNamespace());
+ EndpointReference epr = getEndpointReference(resourceId);
((IntegrationserverResource)m_serverResource).setEndpointReference( epr );
m_serverResource.init();
add(m_serverResource);
Modified: webservices/muse/trunk/src/examples/enterprise/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/enterprise/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/enterprise/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java (original)
+++ webservices/muse/trunk/src/examples/enterprise/services/resourceadmin/src/java/org/apache/ws/muse/example/resourceadmin/ResourceadminHome.java Thu Jul 28 08:12:17 2005
@@ -116,9 +116,7 @@
//To work around thes problem the "http://schemas.xmlsoap.org/ws/2004/08/addressing" is used as namespace for addressing
//EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , null, SPEC_NAMESPACE_SET.getAddressingNamespace());
EndpointReference epr =
- getEndpointReference( resourceContext.getBaseURL( ) + "/" + getServiceName( ).getLocalPart( ),
- null,
- ExampleConstants.getAddressingNamespace( ) );
+ getEndpointReference( null );
m_adminResource.setEndpointReference( epr );
add( m_adminResource );
}
Modified: webservices/muse/trunk/src/examples/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java?rev=225796&r1=225795&r2=225796&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java (original)
+++ webservices/muse/trunk/src/examples/ieeedemo/src/java/org/wsdmdemo/service/weatherStationDir/WeatherStationDirHome.java Thu Jul 28 08:12:17 2005
@@ -69,7 +69,7 @@
if (m_resource == null)
{
m_resource = new WeatherStationDirResource();
- m_resource.setEndpointReference(getEndpointReference(resourceContext.getBaseURL() + "/" + getServiceName().getLocalPart(), null, SPEC_NAMESPACE_SET.getAddressingNamespace()));
+ m_resource.setEndpointReference(getEndpointReference(null));
m_resource.init();
add(null, m_resource);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org