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
Testing client and server code generation with JAX-WS SOAP Web Services it seems that the client is generating SOAP 1.2 requests while the server is providing SOAP 1.1 service.
Issue:
Testing client and server code generation with JAX-WS SOAP Web Services it seems that the client is generating SOAP 1.2 requests while the server is providing SOAP 1.1 service.
SOAP 1.1 uses HTTP "Content-Type: text/xml"
SOAP 1.2 uses HTTP "Content-Type: application/xml+soap"
Result is that get exception due to having incompatible media types
Need to either change client to use SOAP 1.1 or change server to use provide SOAP 1.2
Environment:
Ubuntu: 22.04
OpenJDK: 11
Maven Dependencies:
JAVA EE/JAKARTA TRANSITIONAL:
NOTE: Same problem using more current Jakarta dependencies
Testing:
via curl and generated Java code.
See here for details: ONVIF Web Services Client Consumption with Java
The text was updated successfully, but these errors were encountered: