cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jennifer Yip" <jenyip...@hotmail.com>
Subject Re: Dont let it spoil my weekend
Date Fri, 20 Aug 2004 17:10:12 GMT

Vadim,

Big thank you - all working - opened my eyes to inpuit modules and better 
use of flowscript

I had an XSP hammer and everythink looked like a nail

Have a great weekend
Jenny


>From: Vadim Gritsenko <vadim@reverycodes.com>
>Reply-To: dev@cocoon.apache.org
>To: dev@cocoon.apache.org
>Subject: Re: Dont let it spoil my weekend
>Date: Fri, 20 Aug 2004 10:59:13 -0400
>
>Jennifer Yip wrote:
>
>>The request etc works fine but I have just started testing exceptions in 
>>the soap service and these get transformed to soap-env:faults when 
>>response is received above.
>
>If you want to throw an exception when web service faults, I personally 
>would use axis webservice client from the flowscript - and axis client will 
>throw an exception (which you can either catch in flowscript or it will get 
>propagated to the error handler).
>
>If you don't want to use flowscript, you can write an action.
>
>If do *not* want to throw exception but rather just display different 
>result depending on the response, do it in xslt...
>
><xsl:choose>
>   <xsl:when test="Soap-Env:Fault">
>...
>
>Pick right tool for the job...
>
>Vadim
>

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger


Mime
View raw message