Package org.springframework.ws.soap.client

Examples of org.springframework.ws.soap.client.SoapFaultClientException


                    transformer.transform(new StringSource("<FaultDetail><Reason>Invalid request</Reason></FaultDetail>"), fault.addFaultDetail().getResult());
                } catch (TransformerException e) {
                    throw new CitrusRuntimeException(e);
                }
               
                throw new SoapFaultClientException(faultMessage);
            }
        });
       
        assertAction.setFaultString("Internal server error");
        assertAction.setFaultCode("{http://citrusframework.org}ws:TEC-1001");
View Full Code Here


                    transformer.transform(new StringSource("<FaultDetail><Reason>Invalid request</Reason></FaultDetail>"), fault.addFaultDetail().getResult());
                } catch (TransformerException e) {
                    throw new CitrusRuntimeException(e);
                }
               
                throw new SoapFaultClientException(faultMessage);
            }
        });
       
        context.setVariable("faultReason", "Invalid request");
       
View Full Code Here

                    transformer.transform(new StringSource("<ErrorDetail><Code>1001</Code></ErrorDetail>"), faultDetail.getResult());
                } catch (TransformerException e) {
                    throw new CitrusRuntimeException(e);
                }
               
                throw new SoapFaultClientException(faultMessage);
            }
        });
       
        assertAction.setFaultString("Internal server error");
        assertAction.setFaultCode("{http://citrusframework.org}ws:TEC-1001");
View Full Code Here

                    transformer.transform(new StringSource("<FaultDetail><Reason>Invalid request</Reason></FaultDetail>"), faultDetail.getResult());
                } catch (TransformerException e) {
                    throw new CitrusRuntimeException(e);
                }
               
                throw new SoapFaultClientException(faultMessage);
            }
        });
       
        assertAction.setFaultString("Internal server error");
        assertAction.setFaultCode("{http://citrusframework.org}ws:TEC-1001");
View Full Code Here

TOP

Related Classes of org.springframework.ws.soap.client.SoapFaultClientException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.