Forum Replies Created
-
AuthorPosts
-
This turned out to be that my sendport was somehow reset to passthru instead of using my custom pipeline.
HI,
I have a quick question do we need ENTSSO running on BIZTALK server or on SQL server or Both?
Please advise asap
Thank you
Sangeetha
Hi Abhishek,
The XLANGs syntax does not support any string Replace() function in a Message Assignment shape, so your best bet is to use a C# inline Scripting functoid in a map to do the following:
1. Scrap the dollar sign, parentheses and comma characters in your fields.
2. Convert the String value to an Int32 value and return that from the custom function in your functoid.
I hope this gets you on the right track.
Daniel.
July 30, 2010 at 8:05 AM in reply to: Filter for Different Messages comming to a single folder #25452Hi,
You can set your receive location to one folder, and collect all five of your messages. By the way – what difference is between them? If message type – good.
For filtering by receive shape, and let’s say different file types you can do this:
For exmple, in each orchestration – in receive shape of each orchestration you set the message type of each message :
BTS.MessageType = “First”
That’s it. The value in filter expression must be in double-qutes. Also I use direct binding, for easer deployment.
July 30, 2010 at 6:13 AM in reply to: Filter for Different Messages comming to a single folder #25451Hi Daniel,
I am planning to use the filter expression of receive shape. But i dont know how to configure the property of that. I have one unique filed in schema so i have did the distinguised promotionof that perticular field. so now on the basis of that field the message will go to the appropriate orchestration. but i dont know how to set the filter expression for that perticular promoted field.
Please help..
Regard,
Ram
Hi,
You use scripting functoid which calls external assembly? Is that correct? And after mapping your orchastration fails? With “null reference”?
Are you sure that your map works? This error looks like your map doen’s work, and when you try to send the message – it is actually null, you get the error.
Is that DLL in GAC? After install – did you restrat host instance?
July 30, 2010 at 1:56 AM in reply to: Error calling a java web service – WCF custom – mutual cert auth #25449Hi, I’ve seen once errors connected to Keys also. In my case – I didn’t fefine something called Public Key. (Or Private? Don’t remember) – anyway, after the key was defined – the problem is gone.
July 30, 2010 at 1:05 AM in reply to: Add a Header to a flat file without changing the schema #25448Hi Daniel.
Thanks for your reply.
The following scenario I have. Automatically a flat file is generated by another application. This flat file (txt) I consume over a pipeline. The other app can save the flat file with or without a header (for the rows) in line one (the first line in the file). Now I build me schemas an mappings etc. without the header in the flat file because all files I had till now were without this headerline.
Now they want to include a headerline, because if someone will have a look in the flat file can find the value and the name of the corresponding field (because the field names are in the headerline). Ok, so far so good.
I found a way to manage it. In the properties of the disassambler there is a field where you can let BizTalk know there is a Header in the flat file. I build a new Schema for the Header and assigned it to this property field and that’s all.
No, there is no need in or after BTS for the header. It is just if someone will have a look into the file before BTS will consume it or when the flat file is archived.
Thanks again.
Wolfgang
Hello Daniel,
That’s exactly what i want. But i don’t know how to achieve that through a map. Could you suggest some possible links that can help me.
And, now to the message assignment shape, i will have to scrap the ‘$’,'(‘,’)’ signs that i have associated with the fields. can they be directly done with help from Replace() function in the msg asgmnt shape?
Another alternative i was thinking about is developing a custom functoid that will remove the mentioned signs and then convert the field to an ‘int’. How about that?
Your posts do help. Thank you.
July 29, 2010 at 6:14 PM in reply to: Create a complex flat file schema using the flat file schema wizard #25445Hi dunawayc,
I’ve created a sample for you, it’s in a zipped file that you can find when you click on my avatar on BizTalkGurus.com, go to the section “My Files” on the right-hand side, click on the link “View All Files”, look for the file named Sample_for_dunawayc.zip and download it to your desktop.
Here are the following 6 artifacts contained in the zipped file:
ComplexFF.txt (a Text file containing your flat file data used to validate the Flat File schema)
ComplexFFschema_output.xml (an XML file that represents your Flat file data in XML format, used as input for the map)
ComplexMapOutput.xml (an XML file that represents the output of the map when testing it)
ComplexFFschema.xsd (the Flat File schema conforming to your flat file data structure)
ComplexXMLschema.xsd (the XML schema representing the targeted XML structure that you want your data to end up in)
ComplexMap.btm (a BizTalk map using the Flat File schema as source, and the XML schema as destination)
I hope this approximates what you are looking for, and feel free to modify this sample. Btw, the schemas and map are constructed using BizTalk 2006 R2 so you can easily migrate them to version 2009, as you wish.
Best,
Daniel.
I got the same issue, can u please help with ur solution?
Hi,
My Biztalk application works fine in development environment which is XP & biztalk 2009. Later when i deployed on to production windows server 08. The following issue was popped up.
Orchestration debugger implies that orchestration is able to pick the message & is able to apply the mapping(Consutruct Shape) but its not able to reach the next send shape which is calling a wcf service on another machine.
I tested by placing an expression shape in between mapping & wcf initiating send shape (construct shape & send shape) then it is failing at the expresson shape not able to reach the send shape again.
i.e it is not able to reach the send shape of wcf call initiator.
Any help will be appreciated, I am literally stuck at this point.
xlang/s engine event log entry: Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1(237a7d06-5b77-a5f5-451f-8dfae7257582)’.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: fdf99b66-2f5d-418e-a4d5-2be1de75e596
Shape name: Expression_SysExcep_EventLog
ShapeId: 05318529-ea72-4eac-ad67-2eb70b70739c
Exception thrown from: segment 8, progress 3
Inner exception: Object reference not set to an instance of an object.
Exception type: NullReferenceException
Source: Hway.MARS.BizTalk.StgListener
Target Site: Microsoft.XLANGs.Core.StopConditions segment8(Microsoft.XLANGs.Core.StopConditions)
The following is a stack trace that identifies the location where the exception occuredat Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1.segment8(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)Thanks
Hi xman,
Thanks for your input. I’ve had a read on the site and I don’t think its anything to do with the connection lag since the WinVV 3270 emulator connects immediately. It’s just that no other emulators seem to work, hence my guessing about the problem being winvv using UDP and the others use TCP.
James
Well- Ihave made some progress. Earlier today we installed the agent for COM+ talking to MQS on the MQS server. That went OK. THe wizard then has you build a COM+ application. It results in something where all the properties are grayed out and you can not change anything.
Now – here is where it gets weird. The MSDN then tells me to move 3 of the 5 methods from this application to a new COM+ application. However – since the original application is immutable you don’t get the move option! And – it weirds me out that one would move 3 out of 5 methods when they are all part of the same DLL!
Has anyone worked with this?
July 29, 2010 at 9:47 AM in reply to: Add a Header to a flat file without changing the schema #25441Hi Wolfgang,
To better understand your requirement, what is the purpose of adding the header to your flat file schema? Do you intend to use that header somewhere down the line?
Daniel.
July 29, 2010 at 9:45 AM in reply to: Filter for Different Messages comming to a single folder #25440Hi Ram,
You should specify a different receive location for each of your Orchestrations and you have to specify the correct file mask when configuring each Receive Location in the File Transport Properties window.
Is that helpful to you?
Daniel.
-
AuthorPosts