Author: scamp
Date: Tue May 24 11:20:51 2005
New Revision: 178228

URL: http://svn.apache.org/viewcvs?rev=178228&view=rev
Log: (empty)

Modified:
    
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v2004_06/impl/SubscriptionHome.java

Modified: 
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v2004_06/impl/SubscriptionHome.java
URL: 
http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v2004_06/impl/SubscriptionHome.java?rev=178228&r1=178227&r2=178228&view=diff
==============================================================================
--- 
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v2004_06/impl/SubscriptionHome.java
 (original)
+++ 
incubator/hermes/trunk/src/java/org/apache/ws/notification/base/v2004_06/impl/SubscriptionHome.java
 Tue May 24 11:20:51 2005
@@ -50,7 +50,7 @@
      * The management PortType associated with this resource. This is useful 
for building EPR's.*
      */
     public static final javax.xml.namespace.QName PORT_TYPE = 
javax.xml.namespace.QName.valueOf(
-            
"http://ws.apache.org/notification/base/service/SubscriptionManager}SubscriptionManagerPortType";
 );
+            
"{http://ws.apache.org/notification/base/service/SubscriptionManager}SubscriptionManagerPortType";
 );
 
     /**
      * The WSDL Port name associated with the resource. This is useful for 
building EPR's. *
@@ -128,7 +128,7 @@
     private String getSubscriptionAddress( EndpointReference producerReference 
)
     {
         String producerAddress = producerReference.getAddress();
-        return producerAddress.substring( 0, producerAddress.lastIndexOf( "/" 
) + 1 ) + SERVICE_NAME;
+        return producerAddress.substring( 0, producerAddress.lastIndexOf( "/" 
) + 1 ) + SERVICE_NAME.getLocalPart();
     }
 
     public QName getServiceName()



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to