Support Article

Connect- SOAP returns compilation error

SA-37519

Summary



Connect-SOAP giving compilation errors.

Error Messages



Failed to compile generated Java com.pegarules.generated.activity.ra_action_invokeaxis2_9a7057b2ab24e0b2864ab518f326700b: ----------
1. ERROR in com/pegarules/generated/activity/ra_action_invokeaxis2_9a7057b2ab24e0b2864ab518f326700b.java (at line 905)
com.pega.apache.axis2.handlers.PegaMustUnderstandHandler handler = new com.pega.apache.axis2.handlers.PegaMustUnderstandHandler();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
com.pega.apache.axis2.handlers.PegaMustUnderstandHandler cannot be resolved to a type
----------
2. ERROR in com/pegarules/generated/activity/ra_action_invokeaxis2_9a7057b2ab24e0b2864ab518f326700b.java (at line 905)
com.pega.apache.axis2.handlers.PegaMustUnderstandHandler handler = new com.pega.apache.axis2.handlers.PegaMustUnderstandHandler();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
com.pega.apache.axis2.handlers.PegaMustUnderstandHandler cannot be resolved to a type
----------
2 problems (2 errors)


Steps to Reproduce



Run connect-soap rule.


Root Cause



Latest prrampart, praxis2 jars were not present in DB.


Resolution

  1. Back up pr_engineclasses table
  2. Delete the records returned by the following SQL queries:
    select * from pr_engineclasses where pzjar like 'praxis2-1.%' or pzclass like 'praxis2-1.%'
    select * from pr_engineclasses where pzjar like 'prrampart-core%' or pzclass like 'prrampart-core%'
  3. Commit the changes.
  4. Import latest prrampart & praxis2 jars in to the prpc.
    Pega > Application > Import and Export > Import (do not use Update Manager).
  5. Run the queries above to confirm that the prrampart & praxis2 jars is imported or not.
  6. Delete the marker file and restart the server.


Published May 5, 2017 - Updated May 12, 2017


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.