Skip to content
Advertisement

Tag: marshalling

Error creating bean with name ‘org.springframework.ws.server.endpoint.adapter.DefaultMethodEndpointAdapter’

I am trying out a simple spring web service application. I have configured the application correctly but when i try access the wsdl file i get the following error: Here are my configuration files: ws-config.xml web.xml app-config.xml downloadMessageRequest.xsd Edit pom.xml Answer Do you have spring-expression in your Maven dependencies ? If you are not using Maven, check your WEB-INF/lib folder.

Handling nested elements in JAXB

I am wondering if it is possible to have JAXB not to create Java object for XML elements that serve as wrappers. For example, for XML of the following structure I do not want an object for <wrapper> to be created at all. So for a class like the <entity> element should be unmarshalled directly into the entity field. Is

Advertisement