I am trying to call a web service when a P8 event is fired. I used axis2's wsdl2ava to create the webservice stub, included it in my project. Everything runs correctly, when I test it from Eclipse on my local machine. However, I run the code from P8, I got the following exception:
Pinned topic Getting VerifyError when calling Webservices from P8
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-10-14T01:15:33Z at 2011-10-14T01:15:33Z by EricFung
EricFung 270004PRWN2 Posts
Re: Getting VerifyError when calling Webservices from P82011-10-14T01:15:33ZThis is the accepted answer. This is the accepted answer.Sorry, my previous message got posted before I finish. Anyway, the exception I got is:
I tried including the axis2 library that I used on my local machine to the class path of P8. This worked on my local machine, but failed on P8 with the same error.
I used an older version of axis (Axis 1.4.1) to recreate the stubs and only include the jar file from Engine-ws.ear when I build my project. This aproach worked on my local machine, but once again failed on P8 with the same error.
I've been working on this error for a few days. Can anyone see what I am doing wrong?