Topic
1 reply Latest Post - ‏2011-10-14T01:15:33Z by EricFung
EricFung
EricFung
2 Posts
ACCEPTED ANSWER

Pinned topic Getting VerifyError when calling Webservices from P8

‏2011-10-14T01:06:24Z |
Hi,

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:
Updated on 2011-10-14T01:15:33Z at 2011-10-14T01:15:33Z by EricFung
  • EricFung
    EricFung
    2 Posts
    ACCEPTED ANSWER

    Re: Getting VerifyError when calling Webservices from P8

    ‏2011-10-14T01:15:33Z  in response to EricFung
    Sorry, my previous message got posted before I finish. Anyway, the exception I got is:

    java.lang.VerifyError: org/appache/axis2/description/AxisOperation.setName(Ljavax/xml/namespace/QName;)v

    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?

    Thanks,
    Eric