cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vaibhav.patil" <vaibhav.pa...@accenture.com>
Subject Dynamic client unable to catch exception
Date Thu, 05 Jul 2012 05:22:35 GMT
Client client =
dcf.createClient("http://10.209.114.39:7777/SchoolExcursionService/?wsdl");
		Object o[]=null;
		try {
		
	
	 o=client.invoke("GetExcursions", "ST0s01","");
			 
		} catch (Exception   ex) {

	
		
		}
			

We are getting exception ,

Exception in thread "main"
au.edu.nsw.dec.esb.wsdl.portal.common.student.consumer._1.SchoolExcursionException_Exception:
This is an operation implementation generated fault
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.cxf.interceptor.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:177)
	at
org.apache.cxf.interceptor.ClientFaultConverter.handleMessage(ClientFaultConverter.java:80)



we are not able to catch Fault object



--
View this message in context: http://cxf.547215.n5.nabble.com/Dynamic-client-unable-to-catch-exception-tp5710623.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message