Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biz Talk Orchestration > Date Serializat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4079 of 4219
Post > Topic >>

Date Serialization Issue (GMT) in BizTalk Orchestration?

by =?Utf-8?B?QmVtYmVuZyBBcmlmaW4=?= <BembengArifin@[EMAIL PROTECTED] Feb 25, 2008 at 09:49 PM

Problem :
Date becomes GMT in the BizTalk orchestration which cause wrong results 
(input <> output)

Scenario :
Web Application <-> Exposed Web Services By BizTalk Orchestration <-> 
BizTalk Orchestration <-> Consume Another Web Services 

<-> : Request - Response communication.

BizTalk Orchestration will construct a message to consume another web 
services based on the request information from web application

Below message will be passed all the way in the process : 
Note : DateInfo = xs:datetime, DateOnly = xs:date

Request Message : <?xml version="1.0"?> 
<Request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns="http://MyBizTalkApp.Response">

  <Message>Calling BizTalk Web Services at 2/26/2008 1:35:47 PM</Message> 
  <DateInfo>2008-02-26T13:35:47.1828125+08:00</DateInfo> 
  <DateOnly>2008-02-26</DateOnly> 
</Request> 

Web Service Message :
message : <?xml version="1.0"?><string>Calling BizTalk Web Services at 
2/26/2008 1:35:47 PM</string> 
dateInfo : <?xml 
version="1.0"?><dateTime>2008-02-26T05:35:47.1828125Z</dateTime> 
dateOnly : <?xml version="1.0"?><dateTime>2008-02-25T16:00:00Z</dateTime> 

Trace Results :
WebApplication: DateInfo : 2008-02-26T13:35:47.1828125+08:00 
WebApplication: DateOnly : 2008-02-26T13:35:47.1828125+08:00 

ExposedWebServices: DateInfo : 2008-02-26T13:35:47.1828125+08:00 
ExposedWebServices: DateOnly : 2008-02-26T00:00:00.0000000 

BizTalkOrchestration: Request DateInfo : 2/26/2008 5:35:47 AM -> Date 
becomes GMT
BizTalkOrchestration: Request DateOnly : 2/25/2008 4:00:00 PM -> Date 
becomes GMT
BizTalkOrchestration: ConsumedWS Request DateInfo : 
2008-02-26T05:35:47.1828125Z -> Get From Request DateInfo
BizTalkOrchestration: ConsumedWS Request DateOnly : 
2008-02-25T16:00:00.0000000Z -> Get From Request DateOnly

ConsumedWebServices: DateInfo : 2008-02-26T05:35:47.1828125Z -> Web
Services 
will receive wrong time information
ConsumedWebServices: DateOnly : 2008-02-25T16:00:00.0000000Z -> Web
Services 
will receive wrong time information
 




 1 Posts in Topic:
Date Serialization Issue (GMT) in BizTalk Orchestration?
=?Utf-8?B?QmVtYmVuZyBBcml  2008-02-25 21:49:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 7:08:13 CST 2008.