Author: kstam
Date: Thu May 3 18:23:51 2007
New Revision: 535052
URL: http://svn.apache.org/viewvc?view=rev&rev=535052
Log:
SCOUT-29 Setting the NS if it is not set on the response.
Modified:
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryImpl.java
Modified:
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryImpl.java
URL:
http://svn.apache.org/viewvc/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryImpl.java?view=diff&rev=535052&r1=535051&r2=535052
==============================================================================
---
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryImpl.java
(original)
+++
webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/registry/RegistryImpl.java
Thu May 3 18:23:51 2007
@@ -268,7 +268,10 @@
// is returned.
Element response = transport.send(request, endPointURI);
-
+
+ if (response.getNamespaceURI()==null) {
+ response.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns",
this.getUddiNamespace());
+ }
// First, let's make sure that a response
// (any response) is found in the SOAP Body.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]