[ 
https://issues.apache.org/jira/browse/CXF-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Castaneda updated CXF-1434:
---------------------------------

    Attachment: java_first_spring_support_faults.zip

This first template is a copy of java_first_spring_support sample that adds a 
new method, sayHiThrowUnchecked(String text) and a modification to say hi from: 
String "sayHi(String text)" to "String sayHi(String text) throws 
EmptyTextException, WrongTextException".

EmptyTextException and uncheckedEmptyTextException will be throw when text 
param is empty.

WrongTextException and UncheckedWrongTextException will be throw when text 
param contains any other that [a-zA-Z]

At this point help is needed to create the missing parts... (HOW TO CREATE THE 
SOAP FAULT WITH/WITHOUT DETAILS AND HOW TO SPECIFY SERVER OR CLIENT FAULT), and 
also and explanation of what is used to determinate this.

The attachment contains the functional project, ant file and also a SOAPUI 
project with request samples. place the sample in the samples dir an use ant 
build file as normal.

> Better Fault handling demo
> --------------------------
>
>                 Key: CXF-1434
>                 URL: https://issues.apache.org/jira/browse/CXF-1434
>             Project: CXF
>          Issue Type: Wish
>          Components: Samples
>         Environment: this should run on any servlet container. Java >= 5
>            Reporter: David Castaneda
>            Priority: Minor
>         Attachments: java_first_spring_support_faults.zip
>
>
> Sample application showing how to create custom Soap Faults.
> The target is to show a functional example of how to transform Exceptions 
> (Checked and Unchecked) to SoapFaults, that can contain Server or Client 
> fault and a custom detail part.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to