Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Support for soap 1.2 in com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection #74

@glassfishrobot

Description

@glassfishrobot

Change
// let HTTP_INTERNAL_ERROR (500) through because it is used for SOAP faults
if (responseCode == HttpURLConnection.HTTP_INTERNAL_ERROR)

{ isFailure = true; }

to

// let HTTP_INTERNAL_ERROR (500) and HTTP_BAD_REQUEST (400) through because it is used for SOAP faults
if (responseCode == HttpURLConnection.HTTP_INTERNAL_ERROR || responseCode == HttpURLConnection.HTTP_BAD_REQUEST) { isFailure = true; }

This in light of table 20 of the SOAP 1.2 spec, http://www.w3.org/TR/soap12-part2/#http-respbindprocess, including the following entry

env:Sender 400 "Bad Request"

Environment

Java 1.6, 1.7 and 1.8

Affected Versions

[1.3.16]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions