THIS IS A PROBLEM BECAUSE OF JBUILDER4...There are some REALLY OLD parser code which causes conflicts.
Option #1: Use JDK1.3.X straight from SUN with Xerces JARS's straight from Apache. Option #2: Figure out a way to refresh the Xerces JAR in your JBuilder4 (http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3bd5ba04_2%40dnews) Thanks, dims --- Reid <[EMAIL PROTECTED]> wrote: > Well, my customer has set up the services on their end. I am attempting to access > those > services utilizing a simple axis client and the WSDL doc my cutomer has provided. I > am not sure > how it was deployed on their end. > ----- Original Message ----- > From: Vincent Carpentier (LMC) > To: '[EMAIL PROTECTED]' > Sent: Thursday, March 27, 2003 3:28 PM > Subject: RE: NoSuchMethodError in WSDDDocument.<init>...please help! > > > Just to make sure. > > You deployed your web service via the Adminclient on your remote location. > > And now you want to access it, right? > -----Original Message----- > From: Reid [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 6:27 PM > To: [EMAIL PROTECTED] > Subject: Re: NoSuchMethodError in WSDDDocument.<init>...please help! > > > No...but would it even make a difference at this stage of the game? All I've > done is call > the default constructor; I haven't provided an endpoint, namespace, or anything > else at this > point... > ----- Original Message ----- > From: Vincent Carpentier (LMC) > To: '[EMAIL PROTECTED]' > Sent: Thursday, March 27, 2003 3:22 PM > Subject: RE: NoSuchMethodError in WSDDDocument.<init>...please help! > > > Are you behind a proxy? > -----Original Messag[Vincent Carpentier (LMC)]----- > From: Sharmila Sekaran [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 6:15 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: NoSuchMethodError in WSDDDocument.<init>...please help! > > > If this is the first time that you are deploying a Web Service, then I would > check on > the patch version of jdk1.3.1 that you have. I believe it should work for > jdk1.3.1_07. Or else > try jdk1.4 if all else fails as it worked for me. > > If you have deployed Web Services locally previously, then it may not be the > JDK version > that is causing the problem. > > -Sharmila Sekaran > > >>> [EMAIL PROTECTED] 03/27/03 05:10PM >>> > > Hello, > > This is my first attempt at accessing a remote web service utilizing Apache > Axis. My > code is bailing when I try to create an instance of the > org.apache.axis.client.Service class, > using the default constructor. The error I'm seeing is below, and my code follows. > Also, I see > all over the place that I should/need/shouldn't/don't need JDK 1.4. What's the > truth??? > > Thanks in advance for any help! > > MB > ----------- > C:\JBuilder4\jdk1.3\bin\javaw -classpath > "C:\Projects\STM\classes;C:\JBuilder4\lib\parser.jar;C:\JBuilder4\lib\xerces.jar;C:\xml-axis-10\lib\axis-ant.jar;C:\xml-axis-10\lib\axis.jar;C:\xml-axis-10\lib\commons-discovery.jar;C:\xml-axis-10\lib\commons-logging.jar;C:\xml-axis-10\lib\jaxrpc.jar;C:\xml-axis-10\lib\log4j-1.2.4.jar;C:\xml-axis-10\lib\saaj.jar;C:\xml-axis-10\lib\wsdl4j.jar;C:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\JBuilder4\jdk1.3\lib\dt.jar;C:\JBuilder4\jdk1.3\lib\tools.jar" > com.goldsys.custom.stm.STMWebRequest > java.lang.NoSuchMethodError > at > org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104) > at > org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:210) > at org.apache.axis.AxisEngine.init(AxisEngine.java:188) > at org.apache.axis.AxisEngine.<init>(AxisEngine.java:173) > at org.apache.axis.client.AxisClient.<init>(AxisClient.java:90) > at org.apache.axis.client.Service.getAxisClient(Service.java:143) > at org.apache.axis.client.Service.<init>(Service.java:213) > at com.goldsys.custom.stm.STMWebRequest.getCustomer(STMWebRequest.java:83) > at com.goldsys.custom.stm.STMWebRequest.main(STMWebRequest.java:99) > Exception in thread "main" > > ----------------------- > > Line 83 is "service = new Service()" > > try{ > /* > qName = new QName(ISTM.NAMESPACE_URI,serviceName); > service = new Service(ISTM.ENDPOINT_ADDRESS,qName); > */ > service = new Service(); > call = (Call)service.createCall(); > call.addParameter("Language",null,ParameterMode.IN); > call.addParameter("SessionIdentifier",null,ParameterMode.IN); > call.addParameter("CustomerIdentifier",null,ParameterMode.IN); > }catch(Exception e){ > return null; > // RS? Do something > } > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
