Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Problem assigning a taskID to a message in a MessageAssignment shape
- This topic has 8 replies, 1 voice, and was last updated 4 years ago by community-content.
-
AuthorPosts
-
-
February 14, 2008 at 3:59 AM #18935
Hi,
I am new to Orchestration designing. I have to send a specific task through an SQL Adapter, so, within my Orchestration, I created a message which I connected to a Task schema of my own.
Then, I used a MessageAssignment shape to create a new taskId and assign to the instance of message used within the following Send step. This is the code I wrote into my MessageAssignment:
——————–
taskID = System.Guid.NewGuid();
RequestCheckMessage(Microsoft.BizTalk.Hws.HwsPromotedProperties.TaskID) = taskID.ToString();
——————–
Even if I just took this code from an example I found online, it does not work: my action instance remains suspended after I receive this exception:
<<Microsoft.XLANGs.RuntimeTypes.XPathUpdateException: A failure occurred while evaluating the property Microsoft.BizTalk.Hws.HwsPromotedProperties.TaskID against the message part data. The message part data does not contain at least one of the nodes specified by the XPath expression (listed below) that corresponds to the property. The cause for this error may be that the message part data has not been initialized or that the message part data does not conform to the message part schema. Ensure that the message part data is initialized correctly. XPath expression: /*[local-name()=’HwsMessage’ and namespace-uri()=’http://tempuri.org/Hws_RequestCheck’%5D/*%5Blocal-name()=’HwsSection’ and namespace-uri()=”]/*[local-name()=’TaskID’ and namespace-uri()=”]…>> in Microsoft.XLANGs.Core.XSDPart.SetPayloadProperty(PropertyDefinition pd, Object val)…
Please, can you help me to get through this error?
Thank you in advance,
Emiliano.
-
November 26, 2020 at 10:24 PM #51462Alexa85
After many weeks of term papers, and other academic tasks, it is time to begin explaining for exams. This period of student life is very tough, especially for those who are not serious enough with school assignments. Students who do not receive notes during lectures have a lot of trouble preparing for the exams. He had uk writings for me. As a rule, their memory is not sharp enough to remember all the details of their teacher. Students work hard before their exams.
-
December 9, 2020 at 1:22 AM #53350Ella Johnson
To move from either a node to the destination node message, you could have used a Turn shape. When your SP request is data is collected from a request data, this could be the direction to go – particularly if that incoming message has a large amount of data to bring to the SP. Source: reliable essay writing service UK
-
December 15, 2020 at 2:48 PM #54320Adam
great post http://www.biztalkgurus.com
-
December 15, 2020 at 2:57 PM #54328Claus
great post http://www.biztalkgurus.com
-
December 15, 2020 at 2:57 PM #54329Claus
-
December 15, 2020 at 2:59 PM #54331Miles
maybe the problem is not in the code, but in the site. But you obviously did not need to contact here, but rather to the programmers
-
December 15, 2020 at 3:00 PM #54333Miles
like me, for example, I needed help writing an essay, I turned to writers. https://pro-papers.com
-
December 20, 2020 at 3:32 AM #54973NillONill
Using ccomputer science homework service has never been easier. Just place an order and get a perfectly written paper before the deadline.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.