X hits on this document

321 views

0 shares

7 downloads

0 comments

10 / 19

Configuration – Policy template

  • Choose the right template file provided by DP.

    • Make your own copy, if customization is needed

  • Pick the right policy-id for the token and binding.

    • In the template file, each policy has detail comment regarding its use and configuring policy parameters.

    • Either embed them in wsdl or attach them using the webgui.

10

DataPower WCF integration

© 2010 IBM Corporation

The screen capture shown is the policy tab of the Web Services proxy. The policy references can be attached to the wsdl, either in this tab as shown above or it can be included in the wsdl file itself as follows:

<wsdl:binding name = "WSHttpBinding_ICalculator" type = "i0:ICalculator"> <soap12:binding transport = "http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name = "Add">

<wsp:PolicyReference URI="store:///policies/templates/dotnet/wsp-sp-1-1- wsHttpBinding.xml#symmetric-x509-sc"/>

<soap12:operation soapAction = "http://Microsoft.ServiceModel.Samples/ICalculator/Add" style = "document"/>

<wsdl:input>

<wsp:PolicyReference URI="store:///policies/templates/dotnet/wsp-sp-1-1- wsHttpBinding.xml#input"/>

<soap12:body use = "literal"/> </wsdl:input> <wsdl:output>

<wsp:PolicyReference URI="store:///policies/templates/dotnet/wsp-sp-1-1- wsHttpBinding.xml#output"/>

<soap12:body use = "literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding>

380DataPowerWCFIntegration.ppt

Page 10 of 19

Document info
Document views321
Page views460
Page last viewedThu Dec 08 00:36:54 UTC 2016
Pages19
Paragraphs430
Words3061

Comments