Skip to content

Commit

Permalink
Correctly set outgoing headers for DetGodeCPROpslagImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
tgk committed Sep 29, 2011
1 parent 90a18b3 commit 3eb4ac3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -21,6 +21,7 @@
import com.trifork.stamdata.models.sikrede.SikredeYderRelation;
import com.trifork.stamdata.models.sikrede.Yderregister;

import dk.nsi.stamdata.cpr.DgwsHeadersUtils;
import dk.nsi.stamdata.cpr.SoapFaultUtil;
import dk.nsi.stamdata.cpr.WhitelistProvider.Whitelist;
import dk.nsi.stamdata.cpr.jaxws.GuiceInstanceResolver.GuiceWebservice;
Expand Down Expand Up @@ -96,6 +97,10 @@ public GetPersonInformationOut getPersonInformation(@WebParam(name = "Security",

output.setPersonInformationStructure(personInformation);

// TODO: This should be done in the filter
// This has to be done according to the DGWS specifications
DgwsHeadersUtils.setHeadersToOutgoing(wsseHeader, medcomHeader);

return output;
}

Expand Down
Expand Up @@ -87,6 +87,7 @@ public PersonLookupResponseType getPersonDetails(Holder<Security> wsseHeader, Ho
FaultMessages.INTERNAL_SERVER_ERROR, FaultCodeValues.PROCESSING_PROBLEM);
}

// TODO: This should be done in the filter
// This has to be done according to the DGWS specifications
DgwsHeadersUtils.setHeadersToOutgoing(wsseHeader, medcomHeader);

Expand Down

0 comments on commit 3eb4ac3

Please sign in to comment.