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

Requesting a fault reason text in another Locale returns null #78

Open
glassfishrobot opened this issue Mar 11, 2015 · 4 comments
Open

Comments

@glassfishrobot
Copy link
Contributor

While consuming a wcf web service which uses RM and username security, I can make a call no problem but when receiving a fault, I cannot extract the reason text in the different locales which are received. Dumping the received messages to the console clearly shows the reason text in multiple languages using xml:lang="fr" and xml:lang="en".

Even enumeration of the reason text locales and more doesn't work.

Is this a bug or is there something I have to do to enable locales.

I am a java newbie.

Environment

metro 2.3.1

Affected Versions

[1.3.16]

@glassfishrobot
Copy link
Contributor Author

Reported by tuath

@glassfishrobot
Copy link
Contributor Author

Was assigned to gagordon

@glassfishrobot
Copy link
Contributor Author

tuath said:
Here is the actual fault

<s:Body>
<s:Fault>
<s:Code>
<s:Value>s:Sender</s:Value>
<s:Subcode>
<s:Value xmlns:a="ns">a:0001</s:Value>
<s:Subcode>
<s:Value xmlns:a="ns">a:9999</s:Value>
</s:Subcode>
</s:Subcode>
</s:Code>
<s:Reason>
<s:Text xml:lang="fr">FRENCH</s:Text>
<s:Text xml:lang="en">ENGLISH</s:Text>
</s:Reason>
</s:Fault>
</s:Body>

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA SAAJ-78

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant