Hi Eric,
No, we are using SOAP11 and double-checked, that the same code works with the Beta-2 version (using the same SOAP11 service).Though Beta-2 seems to have another bug. For the following code if(axis2MessageCtx.getEnvelope().getBody().getFault() != null) { SOAPFault fault = axis2MessageCtx.getEnvelope().getBody().getFault(); OMElement faultcode = (OMElement) fault.getChildrenWithLocalName("faultcode").next(); messagePropertyDTO.setFaultCode(faultcode.getText());OMElement faultmessage = (OMElement) fault.getChildrenWithLocalName("faultstring").next();messagePropertyDTO.setFault(faultmessage.getText()); } Faultcode and faultmessage contain the same values of "faultcode". So getChildrenWithLocalName() either always returns the first child or something like that. Before this code we used a solution were we logged the whole fault. Error code and error message had been present.
OK, could you please file a JIRA issue for this?
I guess this is more or less an Axiom related question. We'll try to use some other Methods and see whether we can workaround this issue. Hope you can help.
Of course yes. :-) Thanks, Ruwan
Regards, Eric _______________________________________________ Esb-java-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
_______________________________________________ Esb-java-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
