SWS-498 - 3.6.1. Handling the XML Message tutorial with wrong code

This commit is contained in:
Arjen Poutsma
2009-05-13 11:22:34 +00:00
parent 3117dfc02d
commit 3ad5fc5730

View File

@@ -568,7 +568,7 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint {
private final HumanResourceService humanResourceService;
public HolidayEndpoint(HumanResourceService humanResourceService) {
public HolidayEndpoint(HumanResourceService humanResourceService) throws JDOMException {
this.humanResourceService = humanResourceService;
Namespace namespace = Namespace.getNamespace("hr", "http://mycompany.com/hr/schemas");
startDateExpression = XPath.newInstance("//hr:StartDate");