aspose file tools*
The moose likes Web Services and the fly likes Exception on calling a web service 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 on calling a web service" Watch "Exception on calling a web service" New topic
Author

Exception on calling a web service

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
I am trying to call a web service using spring API. I am using RAD 7 with web sphere 6.1. I am getting the following exception.

java.lang.IllegalAccessError
at com.ibm.net.ssl.www2.protocol.http.bc.<clinit>(bc.java:378)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at com.ibm.net.ssl.www2.protocol.http.Handler.openConnection(Handler.java:8)
at java.net.URL.openConnection(URL.java:978)
at org.springframework.ws.transport.http.HttpUrlConnectionMessageSender.createConnection(HttpUrlConnectionMessageSender.java:43)
at org.springframework.ws.client.support.WebServiceAccessor.createConnection(WebServiceAccessor.java:107)
at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:498)
at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:457)
at org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate.java:403)
at org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate.java:394)
at com.fil.ia.macs.workflow.services.pot.POTServiceImpl.getTradeDetails(POTServiceImpl.java:92)
at com.fil.ia.macs.workflow.model.helpers.POTHelperImpl.getTradeBlockAllocationDetails(POTHelperImpl.java:109)
at com.fil.ia.macs.workflow.matching.OmgeoMatchingService.match(OmgeoMatchingService.java:36)
at com.fil.ia.macs.workflow.actions.trade.ProcessMatchingService.execute(ProcessMatchingService.java:34)
at com.fil.ia.macs.workflow.actions.SequenceAction.execute(SequenceAction.java:21)
at com.fil.ia.macs.framework.workflow.WorkflowMessageProcessor.executeProcess(WorkflowMessageProcessor.java:138)
at com.fil.ia.macs.framework.workflow.WorkflowMessageProcessor.process(WorkflowMessageProcessor.java:99)
at com.fil.ia.macs.framework.message.MessageDrivenPOJO.processMessage(MessageDrivenPOJO.java:81)
at com.fil.ia.macs.framework.message.MessageDrivenPOJO.onMessage(MessageDrivenPOJO.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy11.onMessage(Unknown Source)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:881)
at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1150)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:195)
at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:187)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)


I have tried to search on net alot but could not find the resolution, can anyone out there help me on this?

Thanks,
Me
M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
can anyone help me on this one please?
 
 
subject: Exception on calling a web service