Forum Replies Created
-
AuthorPosts
-
April 28, 2006 at 4:17 PM in reply to: BTS 2004 mySAP Connector change service 3300 to 3301 HOW? #13470
In fact the SAP Admin is telling me to use the service 3301. And I do not know how to configure this feature in Biztalk 2004 !!
Use XPATH in The Orch…
Root
subroot
<name>YYY</name>
<age>11</age>xpath(msg, \”count(//subroot)\”)
when ever you send input file, it will split on every subroot record.
you always get out like Name and age in single file…
try this hope this Helps
Reddy-
April 28, 2006 at 4:02 PM in reply to: BTS 2004 mySAP Connector change service 3300 to 3301 HOW? #134723301 Port Configure on SAP Side, talk to SAP Admin.
Nar-
Biztalk maps (and XSLT 1.0) can only output one XML file.
Sounds like this is a case for a custom disassembler in a Receive Pipeline
or use some type of C# preprocessor to split the file first.On this website (BiztalkGurus.com) Stephen Thomas has several examples of debatching, but I’m not sure that applies in your case, but you might get some ideas. Debatching is taking one big message, and breaking it into several smaller ones.
Neal Walters
http://Biztalk-Training.com[quote:ab6b2ccf53=\”kavitha\”]Thanks for your fast reply.
Can u explain me in detail : In fact, if there is no other processing here, you could accomplish all of that using a messaging only approach by just routing messages around ports.
kavitha[/quote:ab6b2ccf53]
You could set it up like this:
1- Create a receive port with a FILE receive location on folder A that contains your custom receive pipeline with the FF disassembler. Let’s call this Receive Port A_RP. This will receive your flat file and publish an XML message to the message box.
2- Set up a new Send Port with the file adapter to folder B. Now, add a filter expression to this port with the term \”BTS.ReceivePortName = A_RP\”. This will cause all messages being published from receive port A_RP to be routed to this port, which means your XML message generated from the Flat File will be saved on this folder. You could potentially apply a map either here or on the original A_RP to retrieve it.
3- Set up a new Receive Port (let’s call it B_RP) with a FILE receive location on folder B. You’ll configure this with your Receive Pipeline that uses the XML disassembler properly configured with your Envelope and Document schemas so debatching can occurr.
4- Set up a new Send port with the file adapter to folder C, and set up a filter expression \”BTS.ReceivePortName=B_RP\”.
That’s it.
Thanks for your fast reply.
Can u explain me in detail : In fact, if there is no other processing here, you could accomplish all of that using a messaging only approach by just routing messages around ports.
kavitha
yep i tried with Webservicestudio20, but the problem wasn’t on the client side.
the problem occurs when the biztalk WS try to call the orchestration…
[quote:128f2cfd50=\”kavitha\”]both operations are related to each other because i want to convert 1 flat file in folder A to many XML doc in folder C.I like to do this in the same project.
flat file (folder A) which gives 1 XML doc (folder B) which in turn splits the XML doc in folder B and puts many XML doc in folder C.
Any idea
kavitha[/quote:128f2cfd50]
In the same project does not mean a single orchestration, necessarily. The only way you could accomplish this with a single orchestration would be through correlation, but it seems like this might be complex in your scenario (but only you can judge that).
both operations are related to each other because i want to convert 1 flat file in folder A to many XML doc in folder C.I like to do this in the same project.
flat file (folder A) which gives 1 XML doc (folder B) which in turn splits the XML doc in folder B and puts many XML doc in folder C.
Any idea
kavitha
[quote:eb28942746=\”kavitha\”]dear friends,
Is it possible to have two receive shapes in a orchestration?If yes,how to do it?If no,what is the other solution?
I want my orchestration to do the following.
1) In folder A i receive a flat file and i tranform the flat file into 1 XML document and i want put in folder B.
2)i want to split the XML document in folder B,into different XML doc and i want to put in folder C.can anybody help me?[/quote:eb28942746]
I’m not sure why you want to do this from a single orchestration. Seems like both operations are completely unrelated to each other.
In fact, if there is no other processing here, you could accomplish all of that using a messaging only approach by just routing messages around ports.dear friends,
Is it possible to have two receive shapes in a orchestration?If yes,how to do it?If no,what is the other solution?
I want my orchestration to do the following.
1) In folder A i receive a flat file and i tranform the flat file into 1 XML document and i want put in folder B.
2)i want to split the XML document in folder B,into different XML doc and i want to put in folder C.can anybody help me?
hai friends,
I have a flat file and i want to split into different XML documents.My flat file looks like this :
@
kavitha
27
@
arava
35
@I want to split each record into separate XML document as Output.
My output should look like<name>kavitha</name>
<age>27</age>I tried many times but i did not get the results.Can anybody give me a clue to do this.
Thanks in advance
kavitha
April 28, 2006 at 12:59 PM in reply to: document type does not match any of the given schemas #14592I also have this problem
Greetings
April 28, 2006 at 12:47 PM in reply to: Problem with Configuring BTS 2004 Development edition #13434A lot of thanks!!! Solved this problem by reinstalling BTS according to another setup instruction
April 28, 2006 at 12:40 PM in reply to: document type does not match any of the given schemas #14591hi
in a next stage of my BizTalk app i have a new error…
in a message queue there are messages like this:
<?xml version=\”1.0\”?>..<string>Voorruit</string>
this i made in a windows service with this code:
[quote:e03c824827]MessageQueue productqueue = new MessageQeueu(@\”.\\Private$\\Productsysteem\”);
System.Messaging.Message pq = new System.Messaging.Message();
pq.Body = strProduct;
productqueue.Send(pq);[/quote:e03c824827]for sofar this works to get in the queue. but now this:
In BizTalk i made a receive port who receives the messages of the queue.
I made a xsd schema for the incoming message
i transform the message to a sendmessage (also almost the same)
(the sendmessage is a flatfile schema)
and then i send it back to a folder in a flatfile.
off course i made a new send-pipeline with the flat file assembler.The only thing he does correct is receiving the message (although that’s what i think)
this is the error he gives:
[quote:e03c824827]There was a failure executing the send pipeline: \”Webshop.SendProductieFF,Webshop,Version=1.0.0.0,Culture=neutral,PublicKeyToken=bac8947f50b16b59\” Source: \”Flat File assembler\” Send Port: \”Webshop_1.0.0.0_Webshop.MainProcess_SendProductsysteemFF_bac8947f50b16b59\” URI: \”D:\\Productsysteem\\Order.txt\” Reason: The document type \”string\” does not match any of the given schemas.[/quote:e03c824827]thx in advance.
Thomas -
AuthorPosts