You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2010/12/19 07:40:01 UTC
[jira] Resolved: (AXIS2-3520) AxisFault didnot give me correct
QName
[ https://issues.apache.org/jira/browse/AXIS2-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe resolved AXIS2-3520.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.6
> AxisFault didnot give me correct QName
> --------------------------------------
>
> Key: AXIS2-3520
> URL: https://issues.apache.org/jira/browse/AXIS2-3520
> Project: Axis2
> Issue Type: Bug
> Reporter: wayne lou
> Assignee: Samisa Abeysinghe
> Fix For: 1.6
>
>
> Below is the code I generated by WSDL2Java:
> wsdl: <wsdl:fault name="SnapfishRemoteException" message="tns:ErrorResponse" />
> Java Code:
> } catch (org.apache.axis2.AxisFault f) {
> org.apache.axiom.om.OMElement faultElt = f.getDetail();
> if (faultElt != null) {
> if (faultExceptionNameMap.containsKey(faultElt.getQName())) {
> ....
> I found faultElt.getQName() do not have a namespace uri, so I didnot get correct error response.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org