jakarta-eejava-ee-8

Has javax.xml.rpc been migrated to jakarta?


We are migrating from javax packages to jakarta packages and hit a problem with javax.xml.rpc.handler.soap.SOAPMessageContext as there doesn't seem to be an equivalent jakarta version.

There doesn't seem to be a replacement foe the javax.xml.rpc as far as we can see.

The problem we face is that the SOAPMessageContext::getMessage() method returns a javax.xml.soap.SOAPMessage but we need a jakarta.xml.soap.SOAPMessage.

Perhaps the biggest problem is that this code has been in maintenance mode for over 10 years and the original authors of the code have long since left the organization.

We are in a big fog here and hope someone can point us in the right direction.


Solution

  • No. JAX-RPC was since Java EE 6 (dec 2009) deprecated in favor of JAX-WS.

    Due to this deprecation status, JAX-RPC never made it into Jakarta EE. Just migrate to JAX-WS.

    See also: