Hello everyone,
I've successfully signed an XML document using SAAJ, and the digital signature is valid.
However, when the message is sent through SOAP (using the JAX-WS client inside IBM WebSphere Application Server), the communication still uses
Transfer-Encoding: chunked
, which causes an error on the remote endpoint.
If I send the same XML manually using HttpsURLConnection, it works perfectly - the request includes a fixed Content-Length
header instead of chunked encoding.
I've already tried the following in my client code:
…but it seems these properties are ignored in the IBM Axis2-based JAX-WS runtime.
Could someone confirm the correct way to disable chunked transfer encoding in WebSphere
and force the client to send the Content-Length header instead?
(For example, via JVM property -Dcom.ibm.websphere.webservices.useChunking=false
or through the WebSphere console.)
Any guidance or examples would be greatly appreciated.
Thanks in advance,
------------------------------
Jose Luis Nebril
------------------------------