now, it works:
Server:
| try {
| ...
| } catch (EActException ex) {
| Element ele[] = new Element[1];
| String xml = "<fault>"
| + "<category>" + ex.getCategory() + "</category>"
| + "<code>" + new Integer(ex.getErrorCode()).toString() +
"</code>"
| + "</fault>";
| ele[0] = XMLKit.createDocumentFromString(xml).getDocumentElement();
|
| throw new AxisFault(new QName( "",""), //?
| ex.getMessage(),
| "info on the actor", //?
| ele);
| }
|
Client:
| Try
| Dim omath As New WebReference1.VerwPartnerBeanService
| omath.storePartner(beratungid, schluessel, xml)
|
| Catch ex As System.Web.Services.Protocols.SoapException
| Console.WriteLine("message:>" & ex.Message)
| Console.WriteLine("detail:>" & ex.Detail.InnerXml)
| ...
| End try
|
Output Client:
| message:> test
| detail:>
| <fault>
| <category>S</category>
| <code>900</code>
| </fault>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834922#3834922
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834922
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development