community-content

Forum Replies Created

Viewing 15 posts - 6,406 through 6,420 (of 9,652 total)
  • Author
    Posts
  • in reply to: Extracting Node Attributes #16786

    Thanks for the tip on the Instance XPath property.

    When I put the value from the Instance XPath property in my xpath query, I get the following error. 

    Inner exception: The part 'text' of message 'AddNoteRequest' contained a null value at the end of the construct block.
    Exception type: NullPartException
    Source: Microsoft.XLANGs.Engine

    Here is the line in my Message Assignment shape that generates the error.

    AddNoteRequest.text = xpath(NoteDto,"/*[local-name()='Note' and namespace-uri()='http://FlatFileTest.Notes'%5D/*%5Blocal-name()='Narrative' and namespace-uri()='']");

    I double-checked my file and found no null characters in it.

    The Microsoft KB says that the NullPartException comes from one orchestration calling another.  This is not the case in my scenario.

    I appreciate this help, but I'm still stuck.

    Thanks!
     

    in reply to: Flat File Schema Wizerd #16785

    Also with the schema specified by greg, you can keep the max occurs to 1 so that it cycles everytime the delimeter is detected.

    in reply to: Flat File Schema Wizerd #16784

    You will need a structure something like this:

    root delimiter=Postfix 0x0D 0x0A
    –purchaseorder delimiter=Infix 0x0D 0x0A maxOccurs=unbounded
    —-header
    ——fields
    —-lines delimiter=Infix 0x0D 0x0A
    ——line maxOccurs=unbounded
    ——–fields

    Can you confirm that none of these (http://blogs.msdn.com/florinlazar/archive/2005/09/16/469064.aspx) are the problem?

     EDIT: Actually, go through these (http://msdn2.microsoft.com/en-US/library/aa561924.aspx) steps first.

    in reply to: Extra CRLF at end of Flat File #16782

    Hello,

    I have solved this problem.  Instead of adding another record in the schema I created a new trailer schema for this extra CRLF and set the trailer schema property in the Flat file dissassembler pipeline.

     Thanks to Greg and Stephen for reading this post.  As a newbie I really appreciate the help and am continually appreciative of the time others are so willing to give.

     Cheers

    Stable

    in reply to: Extracting Node Attributes #16781

    What happens if you grab the "Instance XPath" from the attribute in the schema file?  Open your flat file schema, click the node you want, and look in the property window for Instance XPath.  Copy that value and pass that in to the xpath query.

    in reply to: Newbie Question: Consuming a XML Document from a Web Service #16780

    I was able to create a working example based on the  "Submitting XML Documents to Biztalk 2006 via SOAP" article.

    Thanks 

     

    in reply to: BizTalk Run time error #16778

    I solved this issue, problem is SSO corepted.

    Reconfigured BizTalk and all set know.

    Thanks for your response. 

     

    in reply to: BizTalk Run time error #16777

    Another thought, is this a single BizTalk Server or multiple servers?  If multiple, it would fail if "C:\whatever" didn't physically exist on both machines.  What if you "share" that folder and access it via \\servername\share instead of the current means?

    in reply to: Need help #16776

    See the SDK that installs with the product (C:\Program Files\Microsoft BizTalk Server 2006\SDK\Samples) or here … http://msdn.microsoft.com/biztalk/downloads/samples/default.aspx.

    in reply to: Receive Location Error – Removing of Files. #16774

    Hi,

    Thanks for the approach. I have tried it using Error Based Routing. Its working fine, the messages get deleted from the folder. I would like to know if this is the only approach, as I am not very sure If I could implement it due to some other constraints. Thanks at least I know it works and I could try to use it. But I am still not able to understand why during the previous case, the files were not being deleted.  

    Thanks

    AH

    in reply to: Repeating records issue. #16773

    Thank you Stephen.

    It works now.

    I have another issue. Is it possible to have duplicate tags in the Flat file Schema?

    In my case  I have D02 ( Detail 02) line in the header level and the detail level. Both of them have different information.

    I tried to avoid the tag for one of the D02 but it didnt work.  My tag can not be more then 3 charactors since customer name start at 4th position in D02. I have other lines starting with D01 and D03 so I dont think  I can use "D" or "D0" as tag. Is there any way to solve my problem?

    I can not make any changes in input flat files. So I have to handle this case in schema level.

    Thank you

    in reply to: Receive Location Error – Removing of Files. #16771

    Hi ,

    I have another doubt. Even if I do provide error routing conditions, but if the files are not removed from the receive location the errors will go on and on for every polling interval. And dont you think the performance will still be degrading? as multiple submissions would occur .

    Thanks

    AH 

    in reply to: Receive Location Error – Removing of Files. #16770

    Hi,

    Thanks for the replies.

    I am not very well versed with BizTalk. I find a lot of properties here related to the "error" mechanism. I am not sure of what to use. I will just explain the scenario, could you please help me identify the right property.

    I am not using orchestration.I just have a receive pipeline ( flat file disassembler). I receive Input flat files periodically, they are present in batches. i need to split them. And I call the map(Outbound) in the send port. The filter condition I have given is "BTS.ReceivePortName == Receive Port". Can you suggest which Property I could use in the filter conditions and would it affect. Can you just give a reference link/example so I could learn more and implement it.

    And to the Event Log. I only get the error related to the failure of the pipeline component, which keeps repeating after the polling period ( here every minute). I waited for a long time, atleast 25 minutes, then too the file doesnt get deleted. I am not sure of why this is happenening. I know the input has been submitted to BizTalk, else I must have not got the repetitive errors.

    My invalid file inputs, 1. have missing records, double records (must not be there), and after the last record in the file, there are multiple CR+LF, which I am not able to suppress.

    So I get 2 errors                                                                                                                                                                                                   1. Unexpected data found while looking for " " records.                                                                                                                                   2. Unrecognizable stream of data.   

    For the 2nd error I am not sure of how to make the Biz Talk to understand that after a Input record if I dont find any other record, end it.some suppressing property.

     Thanks for the help.  

    in reply to: Receive Location Error – Removing of Files. #16769

    Greg is right. You could work out by having a send port filter for Invalid xml files..

    But what I am curious is why the file is not getting deleted from the receive folder.

    Can u let me know the errors u see in the Eventviewer.

    If u drop in a .xml file.It should get picked up by File Adapter. Invalid xml file fail at pipeline stage . But the file normally gets deleted from the folder.

Viewing 15 posts - 6,406 through 6,420 (of 9,652 total)