community-content

Forum Replies Created

Viewing 15 posts - 6,676 through 6,690 (of 9,648 total)
  • Author
    Posts
  • It happens when the table in which you are trying to insert or update is being used by some other process.You can use Sql Profiler to check which process is creating deadlock on that table.

    Hope you find it useful.

    in reply to: What does Sibling means? #16355

    Yeh Stephen….he is right

    Sibling means children of same parent.

    I mean

    Root1

    Parent1(Record)-Child1(Field Element)

                            Child2(Field Element)

    Parent2(Record)-Child3(Field Element)

                            Child4(Field Element)

     

    Now here Child1 and Child2 are sibllings and Child3 and Child4 are siblings.

    Child1 and Child4 are not siblings as they are not children of same parents.

     Hope you find it useful.

    in reply to: Calling Orchestration #16354

    Seems there is some problem with the sample xml file been dropped in the folder

    C:\CallOrchestration\In\*.xml

    Validate the xml against the schema.Are you using any Namespace in the xml file?

     

    Hope you find it helpful.

    in reply to: how to define Required Field in Flat File Schema? #16353

    Thanks Greg, it spent me some time to figure it out to use the XML Schema editor…..really good feature

    in reply to: Http Adapter – URI ? #16352

    Yep, that was my mistake. I fixed it and it works fine…

    Thanks a bunch

    in reply to: ASP.Net calling Biztalk Orchestration ? #16351

    Thanks guys. I got that working. I changed my port to single request-response port, instead of 2 port which were one recv and one send port.

    in reply to: Resolve party from receive port #16349

    Check out the Custom Party Resolution Pipeline component in the SDK.

    C:\Program Files\Microsoft BizTalk Server 2006\SDK\Samples\Pipelines\CustomPartyResolution

    This uses data from within the message to establish party identity.

    You should be able to modify this to use the BTS.InboundTransportLocation message context property.

    You can set up am alias for each party which is their receive location Url.

    in reply to: What does Sibling means? #16346

    Not sure what I was thinking.  You are right.  Siblings are brother \ sister records.

    in reply to: validating data types with XML validator pipeline. #16345

    I tested your Scenario. 

    Input Sample- Age is of type xs:int

    <R1>
      <Age>10abc</Age>
      </R1>

    I got an error in EventViewer as below 

    Event Type: Error
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5753
    Date:  11/7/2006
    Time:  7:13:13 AM
    User:  N/A

    Description:
    A message received by adapter "FILE" on receive location "Receive Location1" with URI "C:\NISHIL\Temp\TestAPP1\In\*.xml" is suspended.
     Error details: There was a failure executing the receive pipeline: "TestAPP1.ReceivePipeline1, TestAPP1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f9ba375e961a272d" Source: "Pipeline " Receive Port: "ReceivePort1" URI: "C:\NISHIL\Temp\TestAPP1\In\*.xml" Reason: The 'Age' element has an invalid value according to its data type. 
     MessageId:  {6F1D4DB9-BE37-41D7-82C8-509B0791547D}
     InstanceID: {CE8DFF51-E025-416F-B821-973BDEE3218A}

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    So I think Xml validator is working fine.Seems you are missing something.Have you set the Document Schemas Property of Xml Validator.

    Hope this helps you.

     

    in reply to: ASP.Net calling Biztalk Orchestration ? #16344

    If you are exposing your Orchestration as webservice …you can use multipart messages and pass on the 3 parameters to the orchestration.

    in reply to: Using %SourceFileName% with custom adapter #16343

    You need to promote the file name into the FILE.ReceivedFileName property in the message context. You can do this in the adapter  after you create the IBaseMessage.  Call the IBaseMessage.Context.Promote() method.

    Details on the FILE.ReceivedFileName can be found in the property schema C:\Program Files\Microsoft BizTalk Server 2004\SDK\Include\bts-file-properties.xsd

     

    in reply to: Debatching Files Flat or XML #16342

    To debatch this will require a 2 stage process. The first requires grouping the orders and the second will debtach them.

    To group Xml records using some arbitary content, requires a custom Xslt. The best technique is Muenchian grouping (google Biztalk and Muenchian for examples).

    You can then pass this thru another pipeline to debatch (the output of the first map should be a envelope/document schema) or debatch using a loop inside an orchestration.

    One way to check if the mapper is adding the choice nodes with default values is to check the Xslt output from the mapper.

    Use the Validate Map command, this will compile the map and present you with a link to the Xslt in the ouput window.

    If the mapper is adding the default values, you have 2 options:
    1. remove the default values from your schema
    2. use a custom Xslt and remove the mapper generated xsl statements you do not want.

     

    in reply to: Using a XML URL within an orchestration #16340

    Can you expand a bit on "large amount of data". Is this 200KB or 2GB

    One option is to return the data in the web service response, but this would depend on how large it is and how long it takes to generate.

    If you are going to create a file and download via Http then you are probably best to do this in a custom .NET component called from an orchestration. You component would accept the Url as a parameter and return an XmlDocument or Xlang message to the orchestration. 

    Another possibility is to use a request response Http port but this will require some code on the web site hosting the data. Rather than receiving the Url from the web service you would get a file name or identifier, you would then send this data to an ASP.NET/PHP/JSP web page that would return the large xml data file.

    If this file is very large you may need a delay between calling the web service and attempting to download the file

     What is the trigger that will start this process and what will you do with the data once your receive it in Biztalk?

    in reply to: how to define Required Field in Flat File Schema? #16339

    The minOccurs attribute only checks for the existence of the node, not the content.

    To create a constraint against the node content you need to derive your own types

    e.g.
    <element name="EmailAddress type="non-empty-string"/>
    <simpleType name='non-empty-string'>
      <restriction base='string'>
        <minLength value='1'/>
      </restriction>
    </simpleType>

Viewing 15 posts - 6,676 through 6,690 (of 9,648 total)