Permalink
Browse files

DgwsRequestContext. Tilrettet integrationstest.

  • Loading branch information...
1 parent e87d788 commit ea03ee1a0a5eae3996a589c8cefb4fa054d31897 @mwl mwl committed May 16, 2012
@@ -1,6 +1,6 @@
package dk.bemyndigelsesregister.bemyndigelsesservice.config;
-import org.apache.log4j.Logger;
+import com.trifork.dgws.DgwsRequestContextDefault;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@@ -117,4 +117,9 @@ public EndpointInterceptor payloadValidationEndpointInterceptor() {
return interceptor;
}
+ @Bean
+ public DgwsRequestContextDefault dgwsRequestContext() {
+ return new DgwsRequestContextDefault();
+ }
+
}
@@ -13,8 +13,8 @@ class OpretAnmodningOmBemyndigelseITCase extends WebServiceSupport {
def response = send("opretAnmodningOmBemyndigelser") {
"bms:OpretAnmodningOmBemyndigelserRequest" {
"Anmodning" {
- "BemyndigendeCpr"('2006271866')
- "BemyndigedeCpr"('1010101010')
+ "BemyndigendeCpr"('1010101010')
+ "BemyndigedeCpr"('2006271866')
"BemyndigedeCvr"('20000000')
"Arbejdsfunktion"("Laege")
"Rettighed"("R01")
@@ -31,7 +31,7 @@ class OpretAnmodningOmBemyndigelseITCase extends WebServiceSupport {
send("opretAnmodningOmBemyndigelser") {
"bms:OpretAnmodningOmBemyndigelserRequest" {
"Anmodning" {
- "BemyndigendeCpr"('2006271866')
+ "BemyndigendeCpr"('1010101010')
"BemyndigedeCvr"('20000000')
"Arbejdsfunktion"("Laege")
"Rettighed"("R01")

0 comments on commit ea03ee1

Please sign in to comment.