community-content

Forum Replies Created

Viewing 15 posts - 8,236 through 8,250 (of 9,652 total)
  • Author
    Posts
  • in reply to: BTS 2006 MS Help File Tutorial – Tutorial 1 Problem #14687

    Greg,

    Thanks for all you help. You have certainly pointed in good direction.

    Making a generic NameSpace is way beyond me at this point. Even though I’ve been coding for years I’m finding a steep adjustment period to BizTalk.

    I do have the Tutorial 1 1/2 working now. If the Quantity is < 500 if gets rejected just fine. If it’s above 500 I am getting the following (hoping it’s OK to slip in another error message here.)

    *********************************************
    Event Type: Error
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5753
    Date: 5/17/2006
    Time: 3:25:44 PM
    User: N/A
    Computer: FFICBMDEVNEW
    Description:
    A message received by adapter \”FILE\” on receive location \”ReceiveLocation_ReceiveReq\” with URI \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\” is suspended.
    Error details: There was a failure executing the receive pipeline: \”Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\” Source: \”XML disassembler\” Receive Port: \”ReceivePort_ReceiveReq\” URI: \”C:\\tutorial\\Filedrop\\ReceiveRequest_Tut1\\*.xml\”

    Reason: No Disassemble stage components can recognize the data.
    MessageId: {70D1AB0C-7165-443D-82B0-75D007D699CE}
    InstanceID: {19750375-EE69-478D-9753-C2DF7A41DD64}

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    *************************************************
    Obviously something disassembles to make the detemination on the Quantity field (and works if < 500).

    I’m reeeeeaaaaaly looking forward to tutorial 2.

    Thanks,
    Phil

    in reply to: NULLs in Flat File #14703

    In BizTalk 2006 and Visual Studio, I am validating an instance of a schema.
    It generates an error on the first line with:

    error BEC2004: ‘.’, hexadecimal value 0x00, is an invalid character. Line 1,
    position 139.

    In opening the file up I see that there are multiple NULLs and the line is
    delimited with a Line Feed after the NULLs.

    How do I modify the schema to eliminate this error? I do not have the option
    of modifying the input file.

    in reply to: <Any> element doesn’t catch character entities #13638

    Good idea, and it works. But how to declare that in a Biztalk schema?

    [quote:323756d0d8=\”nwalters\”]What about wrapping values with CDATA clause?

    Neal Walters
    http://Biztalk-Training.com – Learn Biztalk Faster
    http://Shareoint-Training.com – End User Courses[/quote:323756d0d8]

    in reply to: <Any> element doesn’t catch character entities #13637

    I have a [b:2146b2a22a]<Any> [/b:2146b2a22a]element in my Schema to catch any type of content –

    [code:1:2146b2a22a]<xs:element minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"MixedDescription\">
    <xs:complexType mixed=\"true\">
    <xs:sequence>
    <xs:any processContents=\"skip\" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>[/code:1:2146b2a22a]

    But it does not catch entities like this &ndash; –

    [code:1:2146b2a22a]<MixedDescription>….some content &ndash; … content continues</MixedDescription>[/code:1:2146b2a22a]

    XmlSpy, Stylus Studio and Visual Studio all point out that this is an undeclared charater entity.

    I came across this idea to implement entites as elments –
    http://www.topxml.com/code/default.asp?p=3&id=v20010829094626

    but there are a LOT of characters to replace which are possible Xml Character entities
    http://www.oasis-open.org/docbook/specs/wd-docbook-xmlcharent-0.3.html

    (I would have to do this in preprocessing)

    Is there a simpler way than to replace so many entities? (As I work for a publishing house any of these could be possibly expected).

    Why doesnt the <Any> element catch character entities?

    in reply to: BTS 2006 MS Help File Tutorial – Tutorial 1 Problem #14682

    Phil,

    The ns0 is a namespace prefix and is an Xml construct specified in the Xml definition. (see http://www.w3.org)
    The prefix can be any QName string
    e.g.
    <bob:Request xmlns:bob=\”http://Tut1_Schemas.T1_sch_request\”>

    Using a default namespace is also valid but this impacts on subsequent nodes.
    <Request xmlns=\”http://Tut1_Schemas.T1_sch_request\”>
    <ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>
    <Header xmlns=\”\”>
    <ReqID>R12345_</ReqID>
    <Date>Today_</Date>
    </Header>
    <Item xmlns=\”\”>
    <Description>Description_</Description>
    <Quantity>600 </Quantity>
    <UnitPrice>1.45 </UnitPrice>
    <TotalPrice>870.00 </TotalPrice>
    </Item>
    </Request>

    So you need to manually override the default namespace inheritance by specifying no namespace on child nodes

    in reply to: BTS 2006 MS Help File Tutorial – Tutorial 1 Problem #14686

    I have tried changing the top line to:
    <ns0:Request xmlns:ns0=\”http://Tut1_Schemas.T1_sch_request\”>

    In the namespace format
    http:\\\\<something a>.<something b>

    1) It appears that <something a> = the name of the project holding the schemas – is this correct?
    2) With <something b> equal to the base name of the literal schema file (.xsd) -) someth

    I would expect that I could drop any (appropriate) xml file in a filedrop location and have several applications process it for different reasons.
    Yes?

    In my T1_sch_Request.xsd file I do see a line:
    – <xs:schema xmlns:b=\”http://schemas.microsoft.com/BizTalk/2003\” xmlns=\”http://Tut1_Schemas.T1_sch_request\” targetNamespace=\”http://Tut1_Schemas.T1_sch_request\” xmlns:xs=\”http://www.w3.org/2001/XMLSchema\”>

    It does work, but is the <ns0: tag necessary – can I make the data file generic to any appilcation listening with the same source file directory?

    Thanks,
    Phil

    in reply to: Biztalk Schema Editor UI question #13631

    I am working with a very loooong nested schema. When I edit a node in the left treeview, the center XML view does not synchonize with where I am in the left tree view. I have to scroll for ever or do a search.

    Any ways to synchonize these?

    in reply to: Subscribers without namespace #13585

    You need to use Custom pipeline to forcefully match the xml to the desired Schema

    in reply to: BTS 2006 MS Help File Tutorial – Tutorial 1 Problem #14685

    Greg, thanks so much for your response.

    I’ve uninstall and reconfigured before seeing you post and have detail much of my rework.

    However, I have noticed in the header of the source .xml file that gets \”dropped\” in the source location:

    <ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>
    <Header>
    <ReqID>R12345_</ReqID>
    <Date>Today_</Date>
    </Header>
    <Item>
    <Description>Description_</Description>
    <Quantity>600 </Quantity>
    <UnitPrice>1.45 </UnitPrice>
    <TotalPrice>870.00 </TotalPrice>
    </Item>
    </ns0:Request>

    What is the ns0 line and is this an internal director to a particular application?

    Thanks a lot,
    Phil

    in reply to: BTS 2006 MS Help File Tutorial – Tutorial 1 Problem #14681

    When an Xml message arrives at the XmlDisassembler component of the XmlReceive Pipeline the message type is determined. The root node name and namespace are concatenated to form the message type. In you case http://EAISchemas.Request#Request. So the message has a root node like
    <Request xmlns=\”http://EAISchemas.Request\”>
    or
    <ns0:Request xmlns:ns0=\”http://EAISchemas.Request\”>

    The XmlDisassembler will try and find a deployed schema that matches this message. The schema will have a root node of [b:a4db35ecde]Request[/b:a4db35ecde] and a TargetNamespace of [b:a4db35ecde]http://EAISchemas.Request[/b:a4db35ecde].
    Is this schema deployed?
    You can check the Schemas node under <All Artifacts> in the Biztalk Admin Console.
    Remember both node name and namespace are case-sensitive

    The HTTP adapter does put the originating IP address into the message context. Probably because this info may not be relevant if you are behind a reverse proxy or hardware load balancer as Iggi has pointed out.

    One possibility is to use a reverse proxy that will set the [b:33c12af0b3]x-forwarded-for[/b:33c12af0b3] http header.

    The HTTP headers are available in the HTTP.InboundHttpHeaders property of the message context. Although they arrive a string so you will have to parse out the header value you want.

    Create a helper class with a static method that will parse and return the [b:33c12af0b3]x-forwarded-for[/b:33c12af0b3] header and assign this value to a distinguished field in you message in a message assignment shape of an orchestration.

    [code:1:33c12af0b3]newmessage.IPAddress = Mynamespace.MyHelper.GetForwardedForHeader(inboundmessage(HTTP.InboundHttpHeaders));[/code:1:33c12af0b3]

    in reply to: How to migrate from 2004 to 2006 #14673

    I’m not sure if existing MSI packages built for 2004 would work on 2006. I wouldn’t think so.

    But for a pure upgrade you don’t need any MSI’s that I know of.

    Best thing to do is read the upgrade guide.

    Hi,

    I’ve already tried removing the reference to the project and re- adding it as a reference on the project. I’ve also re-compiled it before re-referencing it. Also my current situation is only 2 projects A and B.

    Why is this happening? Please help me.

    Thanks,
    Fred

    in reply to: SQL Adapter and transactions – Need help!! #13621

    Hello,

    Let’s say I have tables A, B, C in a database. I want a BizTalk
    Orchestration to insert values to A, then B, then C. But if the insert in C
    failes, the previous two insert operations would have to roll back.

    I am trying (unsuccesfully) to do this in the orchestration:

    [img:08e3eb8b28]http://msdn.microsoft.com/library/en-us/BTS_2004WP/local/Local_-678347877_bts_wp_trans_fig6.gif[/img:08e3eb8b28]

    The picture was taken from the following site:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS_2004WP/html/ed17b4fc-ddc1-4a41-a134-7d11b2ea3a87.asp

    However, I cannot figure out how to connect the different send shapes to a
    single send port. Can anyone explain to me how this was accomplished?

    Thanks in advance for the help!

    — Steve

Viewing 15 posts - 8,236 through 8,250 (of 9,652 total)