Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
_Toc343345293
_Toc343345293
Eksempel på kald af DCC


Konfiguration

Servicen man vil kalde skal først konfigureres i dcc-config.xml:

Divbox
<Endpoint
ActionPrefix="http://nspop.dk/nts/2013/05#"
URL="http://test1.ekstern-test.nspop.dk:8080/nts/service"
ProxyURL="">

<Action Name="invoke">
<DecouplingModel>synchronous_timeout</DecouplingModel>
<Timeout>30000</Timeout>
</Action>
</Endpoint>

I dette eksempel vil man kalde NTS servicen på test1 med operationen "invoke". Timeout er sat til 30000 millisekunder.


Security

For at kalde DRS skal man som anvendersystem skaffe sig et ID-kort udstedt af STS og indsætte dette i Security-delen af headeren. 




Anchor
_Toc343345290
_Toc343345290
Processering af indkommende kald

...