I have the following bit of XML that was generated by a remote exception on a JIRA server:
<?xml version="1.0" encoding="UTF-8"?> soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soapenv:Body soapenv:Fault <faultcode>soapenv:Server.userException</faultcode> <faultstring>com.atlassian.jira.rpc.exception.RemotePermissionException: Remote custom fields can only be retrieved by an administrator.</faultstring> <detail> <com.atlassian.jira.rpc.exception.RemoteException xmlns:ns1="http://exception.rpc.jira.atlassian.com" xsi:type="ns1:RemotePermissionException"/> ns2:hostname xmlns:ns2="http://xml.apache.org/axis/"myhost.com</ns2:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
The WebFault.fault.detail is then:
(detail){ com.atlassian.jira.rpc.exception.RemoteException = "" hostname = "myhost.com" }
What I'm really interested in is the xsi:type of the first entry under <detail>. Is it possible to get this with suds?