users@jax-rpc.java.net

Error while accessing JAX-RPC webservice

From: shaba dil <shaba_dil_at_yahoo.com>
Date: Thu, 22 Jul 2004 08:52:13 -0700 (PDT)

Hi all,
 
I have made a .war file and deployed it in Tomcat successfully.
 
And i run it by giving URL.
 
It runs perfectly.
 
Made a config-wsdl.xml file.
 
And i have created stubs using wscompile tool.put the generated classes in my classpath.
 
Wrote client and compiled it.It compiles good.
 
then i try to run it,it gives error.
 
Just look the code,
 
---------------
                   Stub stub = createProxy(); //no error
24 stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,
25 "http://localhost:8080/CRM-ServerDeploy/crm"); //no error
26 this.crmport = (CRMPort)stub; //no error
27 this.crmport.getAllCampaignTypes(); //here comes error
-------------------------
 
In line number 27(just look above code) error comes.
 
getAllCampaignTypes() is a method in My service interface.That is CRMPort.
 
The error is,
 
---------------------
Exception: JAXRPCSERVLET30: Internal server error (JAXRPCSERVLET43: failed to instantiate service implementor for port "CRMService")
java.rmi.ServerException: JAXRPCSERVLET30: Internal server error (JAXRPCSERVLET43: failed to instantiate service implementor for port "CRMService")
 at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:497)
 at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
 at com.zcrm.server.CRMPort_Stub.getAllCampaignTypes(CRMPort_Stub.java:69)
 at com.zcrm.domain.soapclientdomain.LookupService.<init>(LookupService.java:27)
 at com.zcrm.domain.soapclientdomain.LookupService.main(LookupService.java:40)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
------------------------------------
 
Just have a look on it.I'll send more files if necessory.But can anyone guess the error from this much?.
 
Thanks,
Shaba
 
 


 
 
 
 
 

                
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!