Hi All,
I created the stub successfully,When I run the service from the same program but Now when I am trying to access the service from the other program I am getting the following error:
java.rmi.RemoteException: null; nested exception is:
javax.xml.rpc.JAXRPCExceptionI am in exception
at uk.ng.toolkitapp.bet.client.api.NgappbetPort_SubmitJob_Stub.submitJob(NgappbetPort_SubmitJob_Stub.java:153)
at uk.ng.toolkitapp.bet.client.common.NgappWSClient.submitJob(NgappWSClient.java:95)
at bet.BET_Service.run(BET_Service.java:101)
at Test.main(Test.java:11)
Caused by: javax.xml.rpc.JAXRPCException
at com.sun.xml.rpc.security.SecurityPluginUtil._preRequestSendingHook(SecurityPluginUtil.java:222)
at uk.ng.toolkitapp.bet.client.api.NgappbetPort_SubmitJob_Stub._preRequestSendingHook(NgappbetPort_SubmitJob_Stub.java:285)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:91)
at uk.ng.toolkitapp.bet.client.api.NgappbetPort_SubmitJob_Stub.submitJob(NgappbetPort_SubmitJob_Stub.java:128)
... 3 more
I am attaching with this mail the stub file where the error is occurres.I would appreciate if someone could shed a light on the potential reason for this problem.
Kind Regards
Kashif Saleem