Hi there,
I'm trying to make a simple hallo World with a parameter and a custom
exception that has its own field. Without the extra field in the exception
it works fine. Server start up fine but when I call my webservice with the
field "naam" filled in with "kaboom" (with this value the exception
is
thrown) this is what I get:
08:48:41,921 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: org.jboss.xb.binding.JBossXBRuntimeException:
Failed to find read method or field for property 'typeFout' in class
nl.havermans.rhcp.boodschappen.webservice.EWebserviceException
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl
.java:310)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:1
89)
at
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandler
Impl.java:122)
at
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
The problem is that the property really is in the class
nl.havermans.rhcp.boodschappen.webservice.EWebserviceException, I even tried
to make the field itself public but it doesn't help. Does anyone know why
this is happening?
I have provided the source files so you can have a look at it (deleted the
libs for size issues).
Can anyone have a look at this?
Kind regards,
Ramon Havermans