users@glassfish.java.net

Re: Very strange: invalid service name

From: <glassfish_at_javadesktop.org>
Date: Wed, 14 Nov 2007 06:57:19 PST

OK further investigation reveals this only occurs when I try to change the end point.

String end_point = "https://jxtest.jackhenry.com/ws/jxchange/7/ThirdParty/Inquiry/2006/Inquiry.ashx";
     String service_name = "InquiryService";
     //ORIGINAL_PACKAGE means the package where the service published in
     String orig_package = "http://jackhenry.com/jxchange/external/Inquiry/2006/wsdl";

       URL endpoint_new = null;
          try
          {
               endpoint_new = new URL(end_point);
          }
          catch (MalformedURLException e)
          {
               System.out.println((e.getMessage()));
          }
          QName qname = new QName(orig_package, service_name);

          InquiryService_Service service = new InquiryService_Service(endpoint_new, qname);
[Message sent by forum member 'pvbyl' (pvbyl)]

http://forums.java.net/jive/thread.jspa?messageID=245419