Forum Replies Created
-
AuthorPosts
-
Does the following code sample help?
Thanks for the reply.
.net 2.0 RTM was installed. We gave up, reformated the spindle, and reinstalled the o/s. Tommorow I will try installing BT again.
I had the same problem and wasn’t able to set the file name.
I’m not sure the name is even there. You might need to do some pipeline work to get the part name.
FYI – It appears I can get my email notification if I set the Send Port filter to "BTS.AckID | EXISTS".
Have you tried using the string function on the xpath:
xpath(PostCodeMsg,"string(/*[local-name()='Root' and namespace-uri()='']/*[local-name()='PostalCodes' and namespace-uri()=''][recCount]/*[local-name()='PostalCode' and namespace-uri()=''])");
Is the "Activate" property of your Receive shape in the orchestration set to True? If not, it should be …
I get "Suspended (resumable)" on a message in the following scenario:
– POP3 adapater
– Apply MIME decoding = true
– Body Part Content Type = text/xml
– Body Part Index = 0
– send an email with not attachments of type "text/xml";This specific error is: "The MIME decoder cannot find a MIME part for the specified content-type. Either there was no matching content-type or there were not enough occurrences of it."
I need error notification when this happens.
When this happens it appears the ErrorNotification object is NOT created.Any guidance?
Thx,
PhilMy apologies – not dehydrated, rather showing as "retrying and idle ports".
Phil
Yes, and just retried it.
Again, my transaction is dehydrated and I terminated from the Admin Console.
Phil
I can not get to work.
If I use:OriginalFileName = MsgPart.Name;
My email message gets dehydrated.
And the SaveFile generates an error; do I need to be referencing a specific library?
Any positive direcition is appreciated.Thanks,
PhilHave you tried:
msgname = msgpart(MIME.FileName)
[quote user="Stephen W. Thomas"]
If I remember right I did use pass through pipelines.
I’ve never tried to use .contains on the message name. You might have to pass the name out to a .net component that does this check. Also, you might want to set an Orchestration variable to your name and then use this to set the part name and pass to the component.
Hope this helps.
[/quote]
Hi!
The problem is not .contains , I've tried it with default values and it works.
It seams that,
msgName = msgPart.Name;
doesn't return the filename. Is there any way to "print" out the variable msgName from the orchestration?
I’ve not seen this error before.
Seems like a problem with the .net 2.0 framework? Guess I’d make sure you have the RTM and not some older beta version.
Hope this helps.
I think it depends on your destination system as to how to add CR / LF. In C#, you’d just need to add /r/n (might be /n/r or something close to that). In that case, you could just use a simple string concatenation functoid to add name 1, “/n/r”, and name 2.
Guess I’ve never tried it, but I think it would work that way.
Depending on your destination, you might need something else to get the CR / LF.
Hope this helps.
September 4, 2006 at 10:18 PM in reply to: Connecting BizTalk to MySQL with BTS2K6 Dynamic ODBC Adapter #15548Well, in the past I have use a “start message” that gets sent to BizTalk from a scheduled task or windows service. Then, I put my code after the receive shape inside an expression shape. The start message doesn’t do anything but start the Orchestration.
It might make sense to look at the community ODBC adapter on gotdotnet. Or even write your own customer adapter to read from the database (this will take some time though).
Hope this helps.
-
AuthorPosts