Home Page › Forums › BizTalk 2004 – BizTalk 2010 › BTS 2006 MS Help File Tutorial – Tutorial 1 Problem
- This topic has 12 replies, 1 voice, and was last updated 8 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
May 16, 2006 at 5:49 PM #14678
Stephen, thanks very much for your response. I am new enough that a good portion of what you said is either vague to me or new.
Well, it could be several different problems and no real way to know without looking at the exact configuration.
1) YES – XML Receive
[color=darkred:52c512188a]I’d start by looking at the Receive Pipeline. Make sure it’s set to Xml Receive (I’m assuming that’s what it required). [/color:52c512188a]2) How do I determine this? Where am I looking for this information?
I now it’s easy to read, but I was able to cut/paste BTS Admin Query results in text format.
[color=darkred:52c512188a]Also, make sure you are submitting the correct message.
If that doesn’t work, view the active subscriptions and see what the subscription is expecting. [/color:52c512188a]Here is what I’m seeing – which subscription am I looking at and how do I determine “what it is expecting”?
(can not paste screen shot) – cut/paste in text format:
[code:1:52c512188a]Name Value Type Namespace
FileCreationTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
ReceivedFileName C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\RepRequestDenied.xml Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
PartNames System.String[] Not Promoted http://schemas.microsoft.com/BizTalk/2003/messageagent-properties
ActivityIdentity {9FC0AAAA-D781-4ED2-86AF-4B411F18CDCB} Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
AdapterReceiveCompleteTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
PortName ReceivePort_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
SuspendedReceiveSideMessage True Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportLocation C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InterchangeID {38E6D6DD-2566-4F37-94B3-83E18C82AB59} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceiveLocationName ReceiveLocation_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortID {2110CC4C-10C7-43D5-985E-3BF648BA4761} Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortName ReceivePort_ReceiveReq_Tut1 Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
AuthenticationRequiredOnReceivePort False Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportType FILE Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
LRPMsgBodyTracking 0 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
MessageExchangePattern 1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePipelineID {D87BC2D5-80AE-4CD5-B66B-CCA77437D311} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties[/code:1:52c512188a]
3) [color=darkred:52c512188a]Then, check the context properties of your message. You should then be able to see why the message isn’t getting routed.You can get more info on viewing the subscriptions by googling BizTalk 2006 Subscription Viewer or here http://geekswithblogs.net/sthomas/archive/2005/10/03/55872.aspx
You can view the message context inside BizTalk Admin when you view the suspended messages.[/color:52c512188a]
—————
If I do a new query on Messages – this is the text cut/paste – can you provide some direction on how to read this to determine why the message isn’t getting routed?:
Again, can’t paste screen shot – however, there is the a text cut/paste:[code:1:52c512188a]Name Value Type Namespace
FileCreationTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
ReceivedFileName C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\RepRequestDenied.xml Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
PartNames System.String[] Not Promoted http://schemas.microsoft.com/BizTalk/2003/messageagent-properties
ActivityIdentity {9FC0AAAA-D781-4ED2-86AF-4B411F18CDCB} Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
AdapterReceiveCompleteTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
PortName ReceivePort_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
SuspendedReceiveSideMessage True Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportLocation C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InterchangeID {38E6D6DD-2566-4F37-94B3-83E18C82AB59} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceiveLocationName ReceiveLocation_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortID {2110CC4C-10C7-43D5-985E-3BF648BA4761} Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortName ReceivePort_ReceiveReq_Tut1 Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
AuthenticationRequiredOnReceivePort False Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportType FILE Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
LRPMsgBodyTracking 0 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
MessageExchangePattern 1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePipelineID {D87BC2D5-80AE-4CD5-B66B-CCA77437D311} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties[/code:1:52c512188a]**************************************************
Just as a side note: I did read a posting somewhere where someone had this same problem re-doing the application again after having created it once successfully. That is exactly what I did – but with different app names and now trying to make any identifiers reflect my pass through tutorial one – which is aobut 6 now.
I have cleaned the GAC using GACUTIL.exe.
*************************************************** -
May 16, 2006 at 6:03 PM #14679
The rest of the subscription viewer text:
[code:1:a661db9039]Name Value Type Namespace
FileCreationTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
ReceivedFileName C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\RepRequestDenied.xml Not Promoted http://schemas.microsoft.com/BizTalk/2003/file-properties
PartNames System.String[] Not Promoted http://schemas.microsoft.com/BizTalk/2003/messageagent-properties
ActivityIdentity {9FC0AAAA-D781-4ED2-86AF-4B411F18CDCB} Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
AdapterReceiveCompleteTime 5/16/2006 3:37:52 PM Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
PortName ReceivePort_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties
SuspendedReceiveSideMessage True Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportLocation C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InterchangeID {38E6D6DD-2566-4F37-94B3-83E18C82AB59} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceiveLocationName ReceiveLocation_ReceiveReq_Tut1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortID {2110CC4C-10C7-43D5-985E-3BF648BA4761} Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePortName ReceivePort_ReceiveReq_Tut1 Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
AuthenticationRequiredOnReceivePort False Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
InboundTransportType FILE Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
LRPMsgBodyTracking 0 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
MessageExchangePattern 1 Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties
ReceivePipelineID {D87BC2D5-80AE-4CD5-B66B-CCA77437D311} Not Promoted http://schemas.microsoft.com/BizTalk/2003/system-properties[/code:1:a661db9039]Phil
-
May 16, 2006 at 4:57 PM #14680
Well, it could be several different problems and no real way to know without looking at the exact configuration.
I’d start by looking at the Receive Pipeline. Make sure it’s set to Xml Receive (I’m assuming that’s what it required).
Also, make sure you are submitting the correct message.
If that doesn’t work, view the active subscriptions and see what the subscription is expecting. Then, check the context properties of your message. You should then be able to see why the message isn’t getting routed.
You can get more info on viewing the subscriptions by googling BizTalk 2006 Subscription Viewer or here http://geekswithblogs.net/sthomas/archive/2005/10/03/55872.aspx
You can view the message context inside BizTalk Admin when you view the suspended messages.
Hope this helps.
-
May 17, 2006 at 9:53 AM #14681
When an Xml message arrives at the XmlDisassembler component of the XmlReceive Pipeline the message type is determined. The root node name and namespace are concatenated to form the message type. In you case http://EAISchemas.Request#Request. So the message has a root node like
<Request xmlns=\”http://EAISchemas.Request\”>
or
<ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>The XmlDisassembler will try and find a deployed schema that matches this message. The schema will have a root node of [b:a4db35ecde]Request[/b:a4db35ecde] and a TargetNamespace of [b:a4db35ecde]http://EAISchemas.Request[/b:a4db35ecde].
Is this schema deployed?
You can check the Schemas node under <All Artifacts> in the Biztalk Admin Console.
Remember both node name and namespace are case-sensitive-
May 17, 2006 at 7:36 PM #14682
Phil,
The ns0 is a namespace prefix and is an Xml construct specified in the Xml definition. (see http://www.w3.org)
The prefix can be any QName string
e.g.
<bob:Request xmlns:bob=\”http://Tut1_Schemas.T1_sch_request\”>Using a default namespace is also valid but this impacts on subsequent nodes.
<Request xmlns=\”http://Tut1_Schemas.T1_sch_request\”>
<ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>
<Header xmlns=\”\”>
<ReqID>R12345_</ReqID>
<Date>Today_</Date>
</Header>
<Item xmlns=\”\”>
<Description>Description_</Description>
<Quantity>600 </Quantity>
<UnitPrice>1.45 </UnitPrice>
<TotalPrice>870.00 </TotalPrice>
</Item>
</Request>So you need to manually override the default namespace inheritance by specifying no namespace on child nodes
-
May 15, 2006 at 4:51 PM #14683
I am doing the Microsoft BTS 2006 Tutorial 1 (which may in fact be the 2004 tutorial).
I got it working once and have not been able to since. Their solution works. The only difference I can find – visually – is the orchestration (logical) ports are configured as \”specify now\” vs. – as the tutorial instructs \”specify later.\”
Here is the error message I get in the Event Viewer – twice every time I drop a file into: C:\\tutorial\\Filedrop\\ReceiveRequest. I do not receive a resulting message in the destination filedrop location.
************ message 1 ***********************************
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Date: 5/15/2006
Time: 11:10:03 AM
User: N/A
Computer: COMPU_NEW
Description:
A message received by adapter \”FILE\” on receive location \”ReceiveLocation_ReceiveReq3\” with URI \”C:\\tutorial\\Filedrop\\ReceiveRequest3\\*.xml\” is suspended.
Error details: The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.
MessageId: {CE8AEB16-E29A-4D39-9221-468F970388B7}
InstanceID: {78EAE864-47A2-496F-A76B-B521E59FE881}For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
***********************************************************
************* message 2 ************************************
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5778
Date: 5/15/2006
Time: 11:10:03 AM
User: N/A
Computer: COMPU_NEW
Description:
The Messaging engine failed to process a message submitted by adapter:FILE Source URL:C:\\tutorial\\Filedrop\\ReceiveRequest3\\*.xml. Details:The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
***********************************************************I find very limited information on the web.
1) must have a filter – does not appear to the case in the MS solution
2) all ports are enlisted and running (redundant if started)
3) read-write privs in source and dest file folders.Any direction or insights would be greatly appreciated.
I feel that there is something I am missing or the tutorial is missing (have already found one instruction missing) and this is important/critical to understand before moving on.
Thanks,
Phil-
May 16, 2006 at 8:57 PM #14684
I have complete unconfigured, removed the BizTalk SQL databases, and reconfig’d using \”Basic Configuration\”. Re configured the application and have started it. (Also, cleaned the GAC of the previous tutorial assemblies.)
I am getting a somewhat different error message:
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Date: 5/16/2006
Time: 3:48:12 PM
User: N/A
Computer: FFICBMDEVNEW
Description:
A message received by adapter \”FILE\” on receive location \”ReceiveLocation_ReceiveReq_Tut1\” with URI \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\” is suspended.
Error details: There was a failure executing the receive pipeline: \”Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\” Source: \”XML disassembler\” Receive Port: \”ReceivePort_ReceiveReq_Tut1\” URI: \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\” Reason: Finding the document specification by message type \”http://EAISchemas.Request#Request\” failed. Verify the schema deployed properly.
MessageId: {AE773685-C96E-440E-9030-99BD49ACD618}
InstanceID: {68C77F8F-3256-4497-863A-D1464C1C92CF}For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
***************************************************This is the original attempt at this tutorial or the MS Solution – which has been removed:
\”Finding the document specification by message type \”http://EAISchemas.Request#Request\” failed. \”Why would it be referencing this?
Thanks,
Phil-
May 17, 2006 at 3:34 PM #14685
Greg, thanks so much for your response.
I’ve uninstall and reconfigured before seeing you post and have detail much of my rework.
However, I have noticed in the header of the source .xml file that gets \”dropped\” in the source location:
<ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>
<Header>
<ReqID>R12345_</ReqID>
<Date>Today_</Date>
</Header>
<Item>
<Description>Description_</Description>
<Quantity>600 </Quantity>
<UnitPrice>1.45 </UnitPrice>
<TotalPrice>870.00 </TotalPrice>
</Item>
</ns0:Request>What is the ns0 line and is this an internal director to a particular application?
Thanks a lot,
Phil-
May 17, 2006 at 4:42 PM #14686
I have tried changing the top line to:
<ns0:Request xmlns:ns0=\”http://Tut1_Schemas.T1_sch_request\”>In the namespace format
http:\\\\<something a>.<something b>1) It appears that <something a> = the name of the project holding the schemas – is this correct?
2) With <something b> equal to the base name of the literal schema file (.xsd) -) somethI would expect that I could drop any (appropriate) xml file in a filedrop location and have several applications process it for different reasons.
Yes?In my T1_sch_Request.xsd file I do see a line:
– <xs:schema xmlns:b=\”http://schemas.microsoft.com/BizTalk/2003\” xmlns=\”http://Tut1_Schemas.T1_sch_request\” targetNamespace=\”http://Tut1_Schemas.T1_sch_request\” xmlns:xs=\”http://www.w3.org/2001/XMLSchema\”>It does work, but is the <ns0: tag necessary – can I make the data file generic to any appilcation listening with the same source file directory?
Thanks,
Phil-
May 17, 2006 at 9:24 PM #14687
Greg,
Thanks for all you help. You have certainly pointed in good direction.
Making a generic NameSpace is way beyond me at this point. Even though I’ve been coding for years I’m finding a steep adjustment period to BizTalk.
I do have the Tutorial 1 1/2 working now. If the Quantity is < 500 if gets rejected just fine. If it’s above 500 I am getting the following (hoping it’s OK to slip in another error message here.)
*********************************************
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Date: 5/17/2006
Time: 3:25:44 PM
User: N/A
Computer: FFICBMDEVNEW
Description:
A message received by adapter \”FILE\” on receive location \”ReceiveLocation_ReceiveReq\” with URI \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\” is suspended.
Error details: There was a failure executing the receive pipeline: \”Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\” Source: \”XML disassembler\” Receive Port: \”ReceivePort_ReceiveReq\” URI: \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\”Reason: No Disassemble stage components can recognize the data.
MessageId: {70D1AB0C-7165-443D-82B0-75D007D699CE}
InstanceID: {19750375-EE69-478D-9753-C2DF7A41DD64}For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
*************************************************
Obviously something disassembles to make the detemination on the Quantity field (and works if < 500).I’m reeeeeaaaaaly looking forward to tutorial 2.
Thanks,
Phil-
May 18, 2006 at 1:54 PM #14688
Greg,
I think the real, and most pertinent, question for me at this point is:
Q:
a) Why does the datafile reference the application?
b) this does not make the datafile application independent? Can you make the datafile application independant?
c) how would you configure your file/app if you wanted to get this same file to 3 different BTS applications?Thanks for sharing your expertise.
Phil
-
May 18, 2006 at 5:31 PM #14689
And still backing up further:
<ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>
or in my case
<ns0:Request xmlns:ns0=\”http://Tut1_Schemas.T1_sch_request\”>The parameters are defined as follows??
<ns0:<schema root node> xmlns:ns0=<Namespace>.<schema name>
(receiving schema definition)Yes?
Thx,
PhilI apologize for the multiple posts but struggling with getting to the right questions.
-
May 18, 2006 at 8:29 PM #14690
At this moment I’m up and running with a fully function 2nd attempt at MS BTX 2k6 Tutorial 1.
The problem was as described in the following link – and found via http://www.dogpile.com search engine.
http://talkaboutsoftware.com/group/microsoft.public.biztalk.general/messages/32928.html
I reopened the file in NOTEPAD, saved it, and it worked for both pipelines.
One standard and one custom.Thanks Greg and Stephen for your time.
Phil
-
-
-
-
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.