|
Home > Archive > BizTalk Server Orchestration > February 2006 > Newbie Orc/FileAdapter Question: Move a file from a folder to anot
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Newbie Orc/FileAdapter Question: Move a file from a folder to anot
|
|
| Andreas 2006-02-22, 5:57 pm |
| Hi,
Im using a simple orchestration with just 2 activities/shapes, one
receive and one send. Both are working against FILE ports, and
my plan was to drop an XML document into the filedrop folder
and see it pop up on the filedrop folder.
However it get stuck halfway through with error messages in the
Event viewer.
I am using the XML pipeline, and all the ports are (I think) started
and setup properly. I dont know where to troubleshoot this further
right now, so any input will be greatly appreciated.
What i want to accomplish is an orchestration that can receive pretty
much any XML document from a customer and then look at the
contents and route the message to proper Orchestrations.
--- messages ---
MSG#1: The Messaging Engine has suspended "1" message(s) from adapter "FILE"
due to failures in message processing. Please refer to Health and Activity
Tracking tool for more detailed information on this failure.
Could not find a matching subscription for the message. ".
MSG#2: The "FILE" adapter is suspending a message coming from Source
URL:"C:\projects\FileDrop_TEST\*.xml". Details:"Could not find a matching
subscription for the message. ".
MSG#3:
The Messaging engine failed to process a message submitted by adapter:FILE
Source URL:C:\projects\FileDrop_TESTs\*.xml. Details:Could not find a
matching subscription for the message. . This error occurs if the subscribed
orchestration schedule or send port has not been started, or if some of the
message properties necessary for subscription evaluation have not been
promoted. Please refer to Health and Activity Tracking tool for more detailed
information on this failure
MSG#4: The Messaging Engine encountered an error publishing a batch of "1"
messages to the Message Box database for the transport adapter "FILE". Please
refer to Health and Activity Tracking tool for more detailed information on
this failure and check the endpoint bindings are correctly configured.
========= Here is my schema: ==========
<?xml version="1.0" encoding="utf-16" ?>
<xs:schema xmlns="http://TEST.Schemas.AnySchema"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
targetNamespace="http://TEST.Schemas.AnySchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Root">
<xs:complexType>
<xs:sequence>
<xs:any namespace="" processContents="skip" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
========= Here is my test xml ==========
<?xml version="1.0" encoding="UTF-8"?>
<Root xmlns="http://TEST.Schemas.AnySchema"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://TEST.AnySchema
c:\temp\any.xsd">
<ClaimRequest>
<HelloWorld></HelloWorld>
</ClaimRequest>
</Root>
| |
| Scott Colestock 2006-02-22, 5:57 pm |
| You will want your orchestration's logical ports to be typed as XmlDocument,
and then use a passthru pipeline on the receive.
(You may have other config issues, but you will need to at least get this
far)
Scott Colestock
www.traceofthought.net
"Andreas" <andreasw2000@hotmail.com> wrote in message
news:0F9F819C-90CB-4DF5-B2DF-583FF3564FBA@microsoft.com...
> Hi,
>
> Im using a simple orchestration with just 2 activities/shapes, one
> receive and one send. Both are working against FILE ports, and
> my plan was to drop an XML document into the filedrop folder
> and see it pop up on the filedrop folder.
>
> However it get stuck halfway through with error messages in the
> Event viewer.
>
> I am using the XML pipeline, and all the ports are (I think) started
> and setup properly. I dont know where to troubleshoot this further
> right now, so any input will be greatly appreciated.
>
> What i want to accomplish is an orchestration that can receive pretty
> much any XML document from a customer and then look at the
> contents and route the message to proper Orchestrations.
>
> --- messages ---
> MSG#1: The Messaging Engine has suspended "1" message(s) from adapter
> "FILE"
> due to failures in message processing. Please refer to Health and Activity
> Tracking tool for more detailed information on this failure.
> Could not find a matching subscription for the message. ".
>
> MSG#2: The "FILE" adapter is suspending a message coming from Source
> URL:"C:\projects\FileDrop_TEST\*.xml". Details:"Could not find a matching
> subscription for the message. ".
>
> MSG#3:
> The Messaging engine failed to process a message submitted by adapter:FILE
> Source URL:C:\projects\FileDrop_TESTs\*.xml. Details:Could not find a
> matching subscription for the message. . This error occurs if the
> subscribed
> orchestration schedule or send port has not been started, or if some of
> the
> message properties necessary for subscription evaluation have not been
> promoted. Please refer to Health and Activity Tracking tool for more
> detailed
> information on this failure
>
> MSG#4: The Messaging Engine encountered an error publishing a batch of "1"
> messages to the Message Box database for the transport adapter "FILE".
> Please
> refer to Health and Activity Tracking tool for more detailed information
> on
> this failure and check the endpoint bindings are correctly configured.
>
>
> ========= Here is my schema: ==========
> <?xml version="1.0" encoding="utf-16" ?>
> <xs:schema xmlns="http://TEST.Schemas.AnySchema"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> targetNamespace="http://TEST.Schemas.AnySchema"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:element name="Root">
> <xs:complexType>
> <xs:sequence>
> <xs:any namespace="" processContents="skip" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
> ========= Here is my test xml ==========
> <?xml version="1.0" encoding="UTF-8"?>
> <Root xmlns="http://TEST.Schemas.AnySchema"
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://TEST.AnySchema
> c:\temp\any.xsd">
> <ClaimRequest>
> <HelloWorld></HelloWorld>
> </ClaimRequest>
> </Root>
>
|
|
|
|
|