Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2516 - trunk/perfsonar/src/org/perfsonar/client/axis

Subject: perfsonar development work

List archive

perfsonar: r2516 - trunk/perfsonar/src/org/perfsonar/client/axis


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2516 - trunk/perfsonar/src/org/perfsonar/client/axis
  • Date: Wed, 4 Jul 2007 09:45:10 -0400

Author: mac
Date: 2007-07-04 09:45:10 -0400 (Wed, 04 Jul 2007)
New Revision: 2516

Modified:
trunk/perfsonar/src/org/perfsonar/client/axis/AxisClient.java
Log:
remove unnecessary imports

Modified: trunk/perfsonar/src/org/perfsonar/client/axis/AxisClient.java
===================================================================
--- trunk/perfsonar/src/org/perfsonar/client/axis/AxisClient.java
2007-07-04 13:44:08 UTC (rev 2515)
+++ trunk/perfsonar/src/org/perfsonar/client/axis/AxisClient.java
2007-07-04 13:45:10 UTC (rev 2516)
@@ -6,15 +6,11 @@
import javax.xml.namespace.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.FactoryConfigurationError;
-import javax.xml.parsers.ParserConfigurationException;
-
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.message.SOAPBodyElement;
import org.ggf.ns.nmwg.base.v2_0.Message;
import org.perfsonar.commons.util.XMLUtils;
-import org.perfsonar.service.commons.exceptions.SystemException;
import org.w3c.dom.Document;

/**
@@ -87,6 +83,8 @@

Document requestDocument = builder.newDocument();
requestDocument = message.getDOM(requestDocument);
+
+
System.out.println("---------\nDOM-req:\n"+XMLUtils.serializeDOM(requestDocument)+"\n----------\n");

//send request Document to url
AxisClient client = new AxisClient();
@@ -94,6 +92,8 @@
Document responseDocument =
client.sendRequest(endPoint, requestDocument);

+
System.out.println("---------\nDOM-resp:\n"+XMLUtils.serializeDOM(responseDocument)+"\n----------\n");
+
//return response as Message
Message msg = XMLUtils.convertToMessage(
responseDocument,



  • perfsonar: r2516 - trunk/perfsonar/src/org/perfsonar/client/axis, svnlog, 07/04/2007

Archive powered by MHonArc 2.6.16.

Top of Page