A third party supplier has exposed a web service which we need to consume.

It is a SOAP web service which also expects WS-Addressing and WS-Security elements in the header.

I believe it should be possible to consume this web service using the WCF-WSHttp adapter in BizTalk 2009. However I am new to both WCF and WS-Security so am struggling a little.

I attempted to set up the send adapter with the following settings:

  • Security mode: Transport
  • Transport client credential type: Certificate
  • Client certificate thumbprint: [selected]

The first problem I have encountered is that when using this security configuration, BizTalk is forcing me to specify an HTTPS endpoint, yet the third party web service is over HTTP.

This is the error BizTalk gives me if I try to specify an HTTP endpoint:

enter image description here

Is this a limitation of BizTalk, or a fundamental issue with the way the supplier has exposed their web service?

Additionally, if anyone can point me towards any useful guidance on using the WCF adapters with WS-Security it would be really useful as I have struggled to find any.

有帮助吗?

解决方案

To get BizTalk to accept the binding, configure it with the https://... address and then change the address in binding file and re-import the binding.

If BizTalk allows this (ie this is only a constraint of the WCF dialogue) then you will be in a position to actually consume the service and test it.

其他提示

Security mode: Transport required https. It is the concept of WCf and wont work with any other tweak

If you hit this problem, ensure "Security mode" drop-down from the "Security" tab is set correctly.

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top