This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

Unable to Include and Access MessageContext on Endpoint MethodPage Title Module

Unable to Include and Access MessageContext on Endpoint Method

Mar 25th, 2013, 03:21 PM

I am needing to retrieve several header elements from the SOAP envelope and use this information to determine the appropriate action within my endpoint handling method. I was able to retrieve the element values using an endpoint interceptor, but cannot access the MessageContext to retrieve the property values from the endpoint. Adding the MessageContext as a parameter in the handing method results in a "No adapter for endpoint" error. My endpoint class is annotated with @Endpoint and I am using the @RequestPayload annotation in conjunction with the request object within the handler method.