You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the server to org.glassfish.jaxb:jaxb-runtime:4.0.3 introduced an incompatibility with any clients still using jaxb-runtime:4.0.2 or older. Therefore, old client installations will not work with the new server installation.
The problem appears when throwing an exception (WebFault) on the server when a service (WebService) is called from the client.
When debugging the server of the sample project and evaluating the value of Packet in method com.sun.xml.ws.server.sei.TieHandler.serializeResponse() the following differences between 4.0.2 and 4.0.3 are visible.
Packet of server using jaxb-impl/jaxb-runtime 4.0.2:
@lukasj Would you please be so kind as to take a look at the sample program to make a statement as to whether we are doing something wrong here or whether you have an idea/any suggestions as to how we could solve this issue.
The main problem here is that we cannot do a "big bang update" and update all servers and clients at once.
The workaround for now is not to update to version 4.0.3, but this is not a long-term solution.
Many thanks in advance!
Updating the server to org.glassfish.jaxb:jaxb-runtime:4.0.3 introduced an incompatibility with any clients still using jaxb-runtime:4.0.2 or older. Therefore, old client installations will not work with the new server installation.
The problem appears when throwing an exception (WebFault) on the server when a service (WebService) is called from the client.
The changes in #1715 could cause this behavior.
Sample project
Sample project to illustrate the incompatibility in jaxb-ri 4.0.3: https://github.com/mjschwaiger/jaxws-jaxb-1715/blob/main
When debugging the server of the sample project and evaluating the value of
Packet
in methodcom.sun.xml.ws.server.sei.TieHandler.serializeResponse()
the following differences between 4.0.2 and 4.0.3 are visible.Difference in namespace of
detailMessage
:The text was updated successfully, but these errors were encountered: