aspose file tools*
The moose likes Web Services and the fly likes Exception JSException Using Axis Generated Webservice Stubs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception JSException Using Axis Generated Webservice Stubs" Watch "Exception JSException Using Axis Generated Webservice Stubs" New topic
Author

Exception JSException Using Axis Generated Webservice Stubs

Sumit Adx
Greenhorn

Joined: Aug 04, 2010
Posts: 3
Hi Everyone,

I am using a web service stub generated using Axis to write a web service client, but while invoking this web service I am getting this error:

Initially I was getting an error regarding JSObject class missing, so I added the plugin.jar inside the EAR. So that problem was resolved but I started getting this error, which I am unable to resolve. Seems to be related with Axis.

com.rer.core.boot.ShutdownException: Caught netscape.javascript.JSException
at com.rer.core.boot.JSObjectProxy.<init>(JSObjectProxy.java:41)
at com.rer.core.boot.RerContainerApplet.getJSObject(RerContainerApplet.java:1431)
at com.rer.core.boot.RerContainerApplet.getCookie(RerContainerApplet.java:1028)
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:585)
at com.rer.core.axisclient.RerHTTPSender.getRerCookie(RerHTTPSender.java:463)
at com.rer.core.axisclient.RerHTTPSender.invoke(RerHTTPSender.java:253)
at com.rer.core.axisclient.rerHTTPSender.invoke(RerHTTPSender.java:160)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.diamondip.netcontrol.ws.ImportsSoapBindingStub.importNetElementInterface(Unknown Source)
at com.ipcontrol.client.service.CallImportServiceAPI.importNetElementInterfaceRequest(Unknown Source)
at com.ipcontrol.client.service.EDIACustLibrary.createContainer(Unknown Source)
at com.wizard.serviceimpl.ProcessTasks.createContainer(Unknown Source)
at com.wizard.serviceimpl.ProcessTasks.invokeIPControl(Unknown Source)
at com.wizard.serviceimpl.ProcessTasksWizardImpl.page4finishtask(Unknown Source)


Anyone faced such problems while invoking web services using axis stub/client before.


Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception JSException Using Axis Generated Webservice Stubs