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 -----
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 -----
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
        }

Reply via email to