> well I'm not an expert at this either (so they may be better ways), but
> the following works for me. Make the methods that are being invoked throw
> an explicit AxisException on error...
> public static void showNDX( Element element ) throws AxisFault
> {
> try {
> SOGRemoteControl.getInstance().showNDX( element );
> }
> catch (Exception e) {
> throw new AxisFault( "Failed to display remote NDX", e );
> }
> }
>
> From the client end I then see:
>
> Exception in thread "main" AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.generalException
> faultString: Failed to display remote NDX
> faultActor: null
> faultDetail:
Hmm, that was exactly what I tried, but the Exception shows up printed at
the server end rather than the client end. Now I'm really stumped...
*scratch head*
Al.
|