KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We are trying to take out all the annotations from our classes and configure it in a spring-config.xml . spring-config.xml looks like <jaxrs:server id="restServer" address="/rest/"> <jaxrs:model id="restModel"> <jaxrs:resource name="com.csc.fs.rest.contact.RetrieveContactHistoryBP" path="retrieveContactHistoryBP"> <jaxrs:operation name="retrieve" path="{partyId}" consumes="application/json" produces="application/json" verb="GET"> <jaxrs:param name="req" type="CONTEXT"/> <jaxrs:param name="partyId" type="PATH"/> </jaxrs:operation> </jaxrs:resource> <jaxrs:resource name="com.csc.fs.rest.contact.StartContactBP" path="startContactBP"> <jaxrs:operation name="startContact" path="/" consumes="application/json" produces="application/json" verb="PUT"> <jaxrs:param name="req" type="CONTEXT"/> <jaxrs:param name="startContact" type="REQUEST_BODY"/> </jaxrs:operation> </jaxrs:resource> </jaxrs:model> <jaxrs:serviceBeans> now when i click on the exposed service : i get the following trace : HTTP Status 500 - ________________________________________ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.RuntimeException: org.apache.cxf.interceptor.Fault org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:102) org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:315) org.apache.cxf.transport.ChainInitiat
Tags (comma-separated)
Save Edits
Cancel