cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jennifer Yip" <>
Subject Dont let it spoil my weekend
Date Fri, 20 Aug 2004 14:42:10 GMT


Please help:

Is there a standard approach to dealing with Soap-Env:Fault in Cocoon 

Ok I think I understand the error handling aspects, when an exception is 
thrown, but picture this XSP file using the built in logic sheet:


<xsp:page language="java"
  <soap:call url="http://localhost:9999/axis/ReferenceService.jws" 
method="http://localhost/axis/getReferenceItems" >
   <s0:getReferenceItems xmlns:s0="">
     <s0:key><xsp-request:get-parameter name="key" /></s0:key>

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.

The pipeline I currently have is

    <map:match pattern="referenceData.xsp">
      <map:generate type="serverpages" src="referenceData.xsp"/>
      <!--<map:transform src="refTest.xsl"/>-->
      <map:serialize type="xml"/>

So guys of the development group HELP

do I xpath match in the transformer and then do what? use 1.4 Java Xalan 
extension to throw real exception.. putting in domain of error handler?

do I somehow switch on xpath test of output of referenceData.xsp? HOW?

or is there a 3rd place :)

Help guys

Jenny ... 2 week old cocooner...

Want to block unwanted pop-ups? Download the free MSN Toolbar now!

View raw message