Amit 的个人资料All about BizTalk Server...照片日志列表 工具 帮助

日志


3月3日

WS-Addressing support in BizTalk 2006 R2

WS Addressing enables the use of various other headers in the SOAP envelope apart from the headers, which exists when you are using WS-I Basic profile.

Some extra elements which exists when you use WS-Addressing are

MessageID, RelatesTo, To, Action, From, ReplyTo, FaultTo

All these extra headers can be used to do asynchronous Interactions.

For ex.

WS-Addressing

 

We will see how to implement asynchronous message exchange pattern using WS- Addressing

ASync Pattern

Use of WCF Adapter support calling of Web Services without using proxy. You have to set some extra properties when using Dynamic Send ports.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

MssgToSend(WCF.Action) = “SOAP Action”

MssgToSend(WCF.SecurityMode) = "None"; 

MssgToSend(WCF.TransportClientCredentialType) = "Windows";

MssgToSend(WCF.EstablishSecurityContext) = System.Boolean.Parse("true");

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

//Asign Port Properties

DynamicSendPortSync(Microsoft.XLANGs.BaseTypes.Address)=  “End Point Uri”

DynamicSendPortSync(Microsoft.XLANGs.BaseTypes.TransportType)="WCF-BasicHttp";

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

There is one more workaround, which you have to do, by default the FaultTo property is not promoted, so you cannot access it within the Orchestration. To use it you have to write custom pipeline component in which you can promote it.

Use of ReplyTo

ReplyTo can be used for asynchronous messaging

Use of MessageId, Relates To

These can be used to correlate the response with the request message. So while sending the Request to Service we have to initiate a correlation using “MessagID” and while receiving the response, we have to promote the “Relates To” so that proper correlation can happen. However, correlation in BizTalk can be done in various other ways too.

Difficulties in implementing asynchronous message pattern using WS-Addressing in BizTalk

1.       By default “FaultTo” is not promoted and so you cannot access it with in Orchestration, you have to do the promotion using custom pipeline component.

2.       Correlation using MessageID and RelatesTo has to be taken care by the developer not the infrastructure.

3.       The Response message which the service sends does not show in the wsdl of the Service. But you can have the Schema of the message shown using

               <extensions><behaviorExtensions></behaviorExtensions></extensions> in the App.config files.

               See ESB Guidance for more …     http://codeplex.com/esb

4.       There are some other headers which are of concern like EndPoint Reference see here for more http://www.w3.org/Submission/ws-addressing/#_Toc77464319

10月31日

Oslo announced….

If you implementing SOA/BPM stuffs on Microsoft Platform (even if you are not, you may be interesting), the next big thing has been announced by Microsoft…Oslo.

Therefore, what as a BizTalk developer you need to do…?
  • Carry on your work on BizTalk
  • Play with WCF and WF
  • Get some hands on with UDDI
  • Study some of the UDDIv3 offerings from some SOA Governance Tools providers
  • Moreover, wait for 2009 or a little beyond

Does anyone have a time machine so that I can look into Oslo?

Also, look at the MSE (Managed Service Engine) at codeplex.

 
8月26日

SOA Governance using Microsoft Stack

Services form the main components of a SOA system. But with the increase in number of services in SOA system, the complexity increases, managing these services becomes a burden.

Logging, error handling, management portal, downtime, applying patches, upgrading and versioning of services and maintaining a registry forms some of the main hurdles in smooth running of a SOA system.

The current Microsoft offering for managing the lifetime of services is not strong as compared to some of its other competitors.

Microsoft UDDI implementation i.e. Windows 2003 UDDI Services, at present still support OASIS 2.0 standard, which in its self is quite a old one.

So what to do when a company is using a Microsoft stack (BizTalk, WCF etc…) as its SOA implementation?

·         Microsoft has AmberPoint as its one of the SOA partners. Microsoft ESB Guidance has some integration with AmberPoint’s SOA Management system. This looks to be quite good, still have to evaluate its cons and pros.  From the first look, it provides much functionality like Service Repository, monitoring etc.

·         BizTalk forms the core in Microsoft SOA stack. Also it is one of the main tools for ESB implementation using Microsoft stack. The Microsoft ESB Guidance has some cool components for the same. The ESB Guidance, has some good examples on integration with SOA Software. You can find some more details here.

·         The other option is using Systinet now HP.

Microsoft should also have some plans for upgrading its UDDI implementation to OASIS 3.0 standardJ.