Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 882523 Details for
Bug 1080697
Null details in SOAP fault returned to Camel Route
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
modified bean
hihiServiceBean.java (text/plain), 1.41 KB, created by
Magesh Kumar Bojan
on 2014-04-04 05:47:49 UTC
(
hide
)
Description:
modified bean
Filename:
MIME Type:
Creator:
Magesh Kumar Bojan
Created:
2014-04-04 05:47:49 UTC
Size:
1.41 KB
patch
obsolete
>package com.example.switchyard.switchyard_proxy; > >import javax.inject.Named; >import javax.xml.soap.SOAPFault; > >import org.apache.camel.Exchange; >import org.apache.camel.Processor; >import org.switchyard.component.bean.Service; >import org.switchyard.component.soap.composer.SOAPComposition; >import org.switchyard.component.soap.composer.SOAPFaultInfo; >import org.switchyard.component.soap.util.SOAPUtil; >import org.w3c.dom.Element; > >@Named("sdp.fsw.hihiServiceBean") >public class hihiServiceBean implements Processor{ > > public void process(Exchange exchange) throws Exception > { > System.out.println("=====in exception handling Service======"); > System.out.println("======== The exception is =======" + exchange.EXCEPTION_CAUGHT); > > System.out.println("........... " + exchange.getProperty(org.apache.camel.Exchange.EXCEPTION_CAUGHT, org.apache.cxf.binding.soap.SoapFault.class)); > Exception e = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class); > e.printStackTrace(); > > if (e != null) { > String body = e.getMessage(); > System.out.println("======== switchyard exchange msg is =======" + e.getMessage()); > } > SOAPFaultInfo fault = exchange.getProperty(SOAPComposition.SOAP_FAULT_INFO, SOAPFaultInfo.class); > System.out.println("======== switchyard detail msg is ======="); > SOAPUtil.prettyPrint(((Element)fault.getDetail()), System.out); > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1080697
:
879487
|
879488
|
879502
|
879827
|
882522
| 882523