I am using Glue 6.5 and Tomcat 5.5.15.
The Glue webservice that I am trying to call is located on another machine within the office with the same setup as myself. I wrote a test program that just has a Main() which calls the webservice and gets back a boolean if successful. That test problem works no problem when I execute it from a DOS window. Now when I move that exact same client code into a method in a different class, and try to call that method, it throws an exception.
Below is my client code
String url = “http://localhost:8004/dental/services/dental.wsdl”;
System.out.println(“starting test client”);
GlueClient glue = new GlueClient();
if (!glue.isAvailable())
throw new Exception(“WS client (glue) is not available, exiting now …”);
System.out.println("connecting to url: "+url);
IDentalWS engine = (IDentalWS) glue.bind(url, IDentalWS.class);
//args(Trxn_id, Action, User, msg_prefix, msg_id, msg_type)
boolean success = engine.cmAction(22, "ClaimRefuse", "brodie", "prefix", "123", "type");
JLog.Trace("Success="+success);
#webMethods#API-Management#soa