I created an endpoint by extending org.springframework.ws.endpoint.AbstractMarshallin gPayloadEndpoint with org.springframework.oxm.jaxb.Jaxb1Marshaller as the marshaller/unmarshaller. Within the invokeInternal(Object requestObject) method of the endpoint, I create a response object. When the response is rendered inside the <SOAP-ENV:Body> element, the root element of my response is missing.
Actual
ExpectedCode:<SOAP-ENV:Body> <SearchResults xmlns="urn:FindClaims/1.0"> <Claim ICN="1" firstDateOfService="2006-06-22-04:00" lastDateOfService="2006-06-22-04:00" /> </SearchResults> </SOAP-ENV:Body>
Any idea what is happening to my root element (FindClaimsResponse) in the response?Code:<SOAP-ENV:Body> <FindClaimsResponse xmlns="urn:FindClaims/1.0"> <SearchResults> <Claim ICN="1" firstDateOfService="2006-06-22-04:00" lastDateOfService="2006-06-22-04:00" /> </SearchResults> </FindClaimsResponse> </SOAP-ENV:Body>


Reply With Quote