Skip to content

Use different namespace styles for SOAP Fault 1.1 and 1.2#674

Merged
herom merged 1 commit into
vpulim:masterfrom
brodin:correct-fault-namespace
Jun 17, 2015
Merged

Use different namespace styles for SOAP Fault 1.1 and 1.2#674
herom merged 1 commit into
vpulim:masterfrom
brodin:correct-fault-namespace

Conversation

@brodin

@brodin brodin commented Jun 15, 2015

Copy link
Copy Markdown
Contributor

Updated the fault handler in the server component to support both the fault style for SOAP 1.1 and SOAP 1.2. The main difference is that for soap 1.1 only the root element should have a namespace, but for 1.2 every element should have the same namespace.

SOAP 1.1

<soap:Fault>
  <faultcode>soap:Client.BadArguments</faultcode>
</soap:Fault>

http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383507

SOAP 1.2

<soap:Fault>
  <soap:Code>
    <soap:Value>soap:Sender</soap:Value>
    <soap:Subcode>
       <soap:Value>pc:BadArguments</soap:Value>
    </soap:Subcode>
</soap:Fault>

http://www.w3.org/TR/soap12-part1/#soapfault

@herom

herom commented Jun 17, 2015

Copy link
Copy Markdown
Contributor

Thanks a bunch 👍

herom added a commit that referenced this pull request Jun 17, 2015
Use different namespace styles for SOAP Fault 1.1 and 1.2
@herom
herom merged commit 09ab291 into vpulim:master Jun 17, 2015
diarmaidm pushed a commit to diarmaidm/node-soap that referenced this pull request Feb 3, 2016
Use different namespace styles for SOAP Fault 1.1 and 1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants