Hi all
We are replacing a set of .NET web-services with a set of Java ones (deployed into JBoss 4.0.5). All is fine with building/deploying/calling the web-services from .NET - however, I'm having some trouble with regards exceptions.
The .NET client code (which we cannot change), has the following code:
try { doWebServiceCall() } catch(SoapException se) { MessageBox.Show("Soap Exception Received! " + se.Message); outXmlBrowser.Navigate( WriteToTempFile(se.Detail.InnerXml), ref n_pointer, ref n_pointer, ref n_pointer, ref n_pointer); }
try { String strXML = MyObject.getXML(); Detail faultDetail = SOAPFactory.newInstance().createDetail(); faultDetail.addChildElement("SoapErrorDetail").addChildElement(strXML); } catch(Exception e) { logit(e); }
2007-07-09 17:46:07,709 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=<?xml version="1.0" encoding="ISO-8859-1"?> <SoapErrorDetail xmlns="my.name.space.here" ResultCode="11400" ResultID="InternalError" ResultMessage="Internal error occured "/> ,actor=null,detail=null]
Please create a jira issue with a patch to our exception test cases that allows me to reproduce what you are seeing