On Friday 04 April 2008, Daniel Kulp wrote: > On Thursday 03 April 2008, jm1468 wrote: > > ... > > WARNING: org.apache.cxf.transport.http.WSDLQueryHandler Exception > > caught writing response: Failed to configure TRaX > > ....... > >org.apache.cxf.interceptor.Fault: No such operation > > Ick.. there are several things wrong that I need to dig into quite a > bit more: > > 1) The WSDLQueryHandler is throwing the above exception. However, we > only log the basic "getMessage()" thing and not the full stack trace > that would indicate any internal "cause" exceptions and stuff that > would actually help to diagnose it. > > 2) If an exception is thrown, wrather than returning an error to the > client like "error generating wsdl", we try to dispatch the request > into the interceptor chains like its a service invokation. Since it > doesn't look like a normal request, it doesn't find an operaion. > > I'm going to fix both of those. It most likely won't fix your problem > as it's having problems creating a transformer, but it MAY at least > provide a better indication of WHY it's not working.
Actually, I'm going to go one furthur and change from using a transformer to write the wsdl out to using our Stax based writers. Since Stax HAS to work for pretty much anything in CXF to work, that should be a bit more reliable. :-) It may be a bit quicker as well. -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
