community-content

Forum Replies Created

Viewing 15 posts - 7,201 through 7,215 (of 9,652 total)
  • Author
    Posts
  • in reply to: formatting the output xml message #15549

    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.

    in reply to: Connecting BizTalk to MySQL with BTS2K6 Dynamic ODBC Adapter #15548

    Well, 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.

    in reply to: Email attachments – POP3 adapter #15547

    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.

    in reply to: Multipart Messages and the SQL Adapter #15545

    Yeah I've had to to this with most adapters, especially the SQL adapter.  As far as I know it does not support mulit-part messages.

    in reply to: how to change message size limit in Biztalk? #15544
    in reply to: Connecting BizTalk to MySQL with BTS2K6 Dynamic ODBC Adapter #15542

    Yes ! Good Idea, I could easily do that with an external .NET class wich connect to MySQL DB.

    But in an orchestration, I have to begin with a receive shape, (I guess you know that better than me…) ? Where do you think I can put the .NET class ? In a "Construct Message" shape or an "Expression" shape ? Before the "Receive" shape ?

     Indeed, the first thing my scenario has to do is to retrieve data from MySQL DB.

     Thank you a lot for your help.
     

    in reply to: Email attachments – POP3 adapter #15541

    Hi Stephan,

     I'm trying to get the original file name and route according to it, but without success.

    I got an expression shape with the following code inside the while loop:

    // picking message n

    msgPart = oXMessage[n];

    // Name of message n file

    msgName = msgPart.Name;

    and directly after I got a decide shape with the following code:

    msgName.Contains("edi") == true

    it doesn't work…

    any idee what I'm doing wrong?

    In your application did you have pipelines set to pass through?

    msgName.Contains("edi") == true

    it doesn't work…

    any idee what I'm doing wrong?

    In your application did you have pipelines set to pass through?

    in reply to: process empty message in Biztalk #15540

    It is the file adapter that is discarding the message before being given to the pipeline. Creating a schema will not help as this is not used until the disassemble stage in the pipeline.

    You will need to create your own file adapter, for both receive and send.

    If the file is empty you need to create a dummy message, with a message context property that indicates that the file is empty. When the file is sent you will need to detect that if should be an empty file from the message context and discard the dummy message content

    in reply to: how to change message size limit in Biztalk? #15538

    I'd first look at the maxRequestLength (in KB) in the HttpRuntime tag of the web.config file.  Example: <httpRuntime maxRequestLength="8192" />  Since the limit on http requests is 4mbs by default.  8mbs over SOAP might not be the best idea here.

    in reply to: Major Enterprises using BizTalk #15537

    Most of MS's BizTalk customers are kept confidential.  I've seen the lists and its well over 5,500 top companies.

    in reply to: problem of consuming xml message stored in database #14197

    Have you checked out my sample on Working with SQL Data in BizTalk 2006?

    That same approach should work in 2004.

    in reply to: Multipart Messages and the SQL Adapter #15504

    Not every adapter supports multi part messages. I would guess the SQL Receive Adapter is one of them.

    You might have better luck breaking your parts up into separate requests. This way you can make sure you get each response.

    Hope this helps.

    in reply to: To Learn Biztalk 2006?? #15518

    Many thanks,
    During setup Biztalk server 2006, i have a error. Pls help me
    Error descr:

    I download .CAB file from internet, and when install Biztalk, i target to the .CAB file. Error occur in step : [b:5517a7d240]Enterprise Single Sign-On Server[/b:5517a7d240]

    Single sign-on server : Unspecify error.

    Anyone have fixed this error, pls help me.

    Thanks,

    in reply to: Route on MessageType property without schema deployed? #15522

    I have a small project I created to receive application/x-www-form-urlencoded messages on the HTTP Adapter. It uses a generic flat file schema and map.
    It may suit your purposes if your external partner is unable to change their end.
    Send me an email if you would like this.

    in reply to: Route on MessageType property without schema deployed? #15527

    [url=http://curl.haxx.se/docs/manpage.html]cURL[/url] does expect the data to be \”application/x-www-form-urlencoded”. I noticed that single quotes get passed in but the Http adapter does not decode double quotes (encoded with %22). So the HttpAdater does not do a URL Decoding!

    Hence I guess the cURL way wont work. What is a quick efficient way to send test messages to an Http Adater?

    The party sending the message is an external joint development partner so yes they will be amenable to listening if there are real concerns.

    THANKS!

    [quote:f89111f872=\”greg.forsythe\”]I have not used cURL, but I suspect it may be using \”application/x-www-form-urlencoded” or “multipart/form-data\” encoding to send the message.

    The HTTP adapter just passes the raw message content to the pipeline.
    So if is not plain Xml then you will need to decode it.

    How are you expecting messages to be sent to the Http adapter. Is this internal where you have control over the sender or are you expecting external parties to send data.[/quote:f89111f872]

Viewing 15 posts - 7,201 through 7,215 (of 9,652 total)