Merged fix in Utils and moved to 2.0.2

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/common/common-gcore-clients/2.0@61666 82a268e6-3cf1-43bd-a215-b396298e98cf
master
fabio.simeoni 11 years ago
parent a44307714c
commit a865944611

@ -1,10 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

@ -10,7 +10,7 @@
<groupId>org.gcube.core</groupId>
<artifactId>common-gcore-clients</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.0.2-SNAPSHOT</version>
<name>GCore Clients</name>
<description>A framework for client APIs that invoke GCore services</description>

@ -80,7 +80,7 @@ public class Utils {
Document document = factory.newDocumentBuilder().parse(new InputSource(new StringReader(writer.toString())));
NodeList addresses = document.getElementsByTagName(addressElement);
NodeList addresses = document.getElementsByTagNameNS("*",addressElement);
if (addresses.getLength()==0)
throw new Exception ("address does not contain a URI");
@ -88,7 +88,7 @@ public class Utils {
EndpointReferenceType epr = new EndpointReferenceType();
epr.setAddress(new AttributedURI(addresses.item(0).getTextContent()));
NodeList params = document.getElementsByTagName(referenceParametersElement);
NodeList params = document.getElementsByTagNameNS("*",referenceParametersElement);
for (int i=0; i<params.getLength(); i++) {
Node param = params.item(i);

Loading…
Cancel
Save