community-content

Forum Replies Created

Viewing 15 posts - 8,326 through 8,340 (of 9,652 total)
  • Author
    Posts
  • in reply to: BRE Function Customisation #14650

    Sorted the problem – I had the wrong end of the stick. Just need to have a method on a .NET object and add this as a vocabulary (either through the BRE or the API (using the UserFunction).

    in reply to: cluster aware #13495

    Thank you both for your help. 🙂

    in reply to: Please verify the fully-qualified type name is valid. #14648

    A message sent to adapter \”SOAP\” on send port \”BSA_SndOrderToWebshop_SOAP\” with URI \”http://localhost/OrderSysteem/Service.asmx\” is suspended.
    Error details: Failed to load \”\” type.
    Please verify the fully-qualified type name is valid.
    Details: \”\”.
    The type must derive from System.Web.Services.Protocols.SoapHttpClientProtocol.
    The type must have the attribute System.Web.Services.WebServiceBindingAttribute.

    It happens when I send a message to a send (request-response)SOAP port with inbound and outbound maps.

    Greetings

    in reply to: Document specification failed to load error #14646

    Hi,
    I am following the BizTalk Server 2006 tutorials by Microsoft. When I use a receive shape to receive a one-way message from a Web service, I get the following error:

    Event Type: Error
    Event Source: BizTalk Server 2006

    Description:
    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: \”ASN_ReceivePort\” URI: \”/b2borchestrations_webservice/B2BOrchestrations_B2BProcess_ReceiveASN_Port.asmx\”
    Reason: The document specification <B2BSchemas.AdvancedShipNotice> from assembly <B2BSchemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f5f7841d15c6dc86> failed to load. Verify the schema for this document specification is deployed and is in the Global Assembly Cache.

    This receive port is a port of the orchestration exposed as a Web service. I tried to undeploy ( including removing the assemlies manually from GAC ) and redeploy the solution ( following the tutorial exactly or adjusting it ) three times. But simply cannot get rid of this problem. Your help is greatly appreciated. I am new to BizTalk. Thanks.

    David

    in reply to: Inbound outbound mapping #14643

    Last week, al my message were mapped by using Message constructors and transforms.

    I tried to remove al those Message constructor by inbound and outbound mapping but I failed 🙄

    Example:

    I have a Receive port (request – response) and a sent port (request – response).

    I receive the purchased item from the receive port, then I sent it to the send port, get a response from the send port and sent the response back to Receive port.

    My question is: I have to map the purchased item to a order that will be sent.
    Should I use the inboud mapping from the send port?

    I tried this, but I get: use of unconstructed message order.
    I works with Message constructor but not without them

    Greetings

    in reply to: Configuring the timeout for a Send Port #14640

    I have an orchestration that makes a call to a web service. The web service starts the SQL Server DTExec utility, which runs a SQL Server Integration Services (SSIS) package.

    The orchestration is supposed to wait for a response from the web service. If the web service does not send a response within 5 minutes, I receive this error message:

    [i:d6bda01fdc]
    Event Type: Warning
    Event Source: BizTalk Server 2006
    Event Category: BizTalk Server 2006
    Event ID: 5743
    Date: 05/08/2006
    Time: 11:07:08
    User: N/A
    Computer: BIZTALKDEV2
    Description:
    The adapter failed to transmit message going to send port \”DINEWebService\” with URL \”http://ykclnsd/DINEWebService/Service.asmx\”. It will be retransmitted after the retry interval specified for this Send Port. Details:\”WebException: The operation has timed out \”.[/i:d6bda01fdc]

    The SSIS package will run several data loads that will take hours to complete. I must find a way to increase the timeout for this Send Port, but I don’t see any SendPort properties that allow me to configure the timeout. The only property that even comes close is:

    Transport Advanced Options -> Transport Options -> Retry Interval

    Is the timeout a property that can be set in the Administration console, or do we need to do custom coding? Is there something else I should be looking at in order to resolve this problem?

    Thanks in advance for your assistance.

    in reply to: decimal data type #14631

    You can declare your own Xsd simpleType in your schema
    e.g
    <simpleType name=’mydecimal’>
    <restriction base=’decimal’>
    <totalDigits value=’4’/>
    <fractionDigits value=’3’/>
    </restriction>
    </simpleType>

    Although, this just restricts content rather than enforcing how the decimal is represented
    e.g. 2.3 and 0002.300 are both valid but 2.3004 would not be valid.

    If it just a matter of the string format of a number this needs to be handled in a map with a script/custom functoid/extension that will produce the desired format

    [code:1:0c4f73e536]Decimal.ToString(\"0000.000\")[/code:1:0c4f73e536]

    in reply to: Listen shape #14636

    Hi,

    i started my orchestration with a listen shape. this is to know if BizTalk receives a message. but he won’t do this because he cannot hava an activatable receive in a listen shape.

    i thought a little bit and said that is not needed because if he won’t receive anything the orchestration wouldn’t start…

    so i deleted that listen shape.
    next i have a 2way send and receive port to my webservice.
    now i made a send shape that sends a message to this webservice and in a listen shape i received the answer. but then when i deploy he says this error:
    \”incomplete requestresponse operation; missing ‘receive’\”

    how do i solve this?

    thx for answer
    Thomas

    in reply to: Issue with Empty file in Orch #13524

    Thanks Greg. Will try to implement your suggestion.

    in reply to: Email Attachment’s filename #13521

    Merry,

    What version of Outlook are you using. I found the older Outlook XP uses the Content-Description property to display the filename, while Outlook 2003 uses the FileName property.

    I did try to set the Content-Description property by adding the following procedure to the SMTPUtils.
    [code:1:3e1122fd99]public static void SetContentDescription(Microsoft.XLANGs.BaseTypes.XLANGPart part, string contentDescription)
    {
    part.SetPartProperty( typeof(MIME.ContentDescription), contentDescription);
    }[/code:1:3e1122fd99]

    But the MIME/SMIME encoder did not appear to use this as the Content-Description, instead used the Biztalk Message Part name. I did not pursue this any further, the recommended fix was to upgrade mail clients.

    in reply to: Email Attachment’s filename #13519

    Thanks, Greg.

    I added an C# Class Library to do the String manipulation on the variable. I can get the right original filename when double click the attachement to save it.

    But in the mailbox, you can see the attachment is still called \”Attachment\”, if this is the way Biztalk dealing with email attachment, i may have to change the mail subject to reflect the different attachment filename in every email.[/code]

    in reply to: Ordered Delivery #14611

    For some reason, I think I remember hearing that dynamic ports do not support the new Ordered Delivery features.

    I’m having problems debugging an orchestration. After attaching, I receive
    the message ‘Debuging Client is not a BizTalk Server
    Administrator.’

    Any help would be appreciated………………..

    in reply to: deleting -1 on mapping #14627

    greg.forsythe,
    thanks!
    Didn’t use your schema… but it gave me an ideia, and it’s now working!
    Thanks a million! 🙂

    using System;
    namespace CallBusinessRules
    {
    class CallBusinessRules
    {
    const string defaultPolicyName = \”Policy1\”;
    const string defaultConnectionString =
    \”Server=(local);Integrated Security=SSPI;database=Northwind\”;
    const string defaultDataConnectionName = \”Northwind\”;
    const string defaultDataTableName = \”ItemThreshold\”;
    static int Main(string[] args)
    {
    if (args.Length < 1)
    return usage(-1);
    string xmlFilePath = null,
    policyName = defaultPolicyName,
    sqlConnectionString = defaultConnectionString,
    dataConnectionName = defaultDataConnectionName,
    dataTableName = defaultDataTableName;
    for (int i = 0; i < args.Length; i++)
    {
    if (args[i][0] == ‘-‘ || args[i][0] == ‘/’)
    {
    if (i == args.Length – 1)
    return usage(-2);
    if (string.Compare(args[i].Substring(1),
    \”policyName\”, true) == 0)
    {
    policyName = args[++i];
    }
    else if (string.Compare(args[i].Substring(1),
    \”sqlConnection\”, true) == 0)
    {
    sqlConnectionString = args[++i];
    }
    else if (string.Compare(args[i].Substring(1),
    \”datasetName\”, true) == 0)
    {
    dataConnectionName = args[++i];
    }
    else if (string.Compare(args[i].Substring(1),
    \”dataTableName\”, true) == 0)
    {
    dataTableName = args[++i];
    }}
    else
    {
    if (xmlFilePath != null)
    return usage(-3);
    xmlFilePath = args[i];
    }
    }
    Microsoft.RuleEngine.TypedXmlDocument document = null;
    try
    {
    xmlReader = new System.Xml.XmlTextReader(xmlFilePath);
    document = new Microsoft.RuleEngine.TypedXmlDocument(
    \”ReplenishmentSchemas.RequestStatus\”, xmlReader);
    }

    catch (Exception ex)
    { Console.WriteLine(ex.Message);
    }
    finally
    {
    if (xmlReader != null)
    xmlReader.Close();
    }

    try
    {
    using (Microsoft.RuleEngine.Policy policy = new
    Microsoft.RuleEngine.Policy(policyName))
    {
    object[] facts = new object[2];
    facts[0] = document;
    using (System.Data.SqlClient.SqlConnection
    sqlConnection = new System.Data.SqlClient.SqlConnection(sqlConnectionString))
    {
    Microsoft.RuleEngine.DataConnection dataConnection = new Microsoft.RuleEngine.DataConnection(dataConnectionName, dataTableName, sqlConnection);
    facts[1] = dataConnection;
    policy.Execute(facts);
    System.Xml.XmlDocument doc =
    document.Document as System.Xml.XmlDocument;
    doc.Save(System.Console.Out);
    sqlConnection.Close();
    }
    }
    }
    catch (Exception ex)
    {
    Console.WriteLine(ex.Message);
    }
    return 0;
    }
    static int usage(int retval)
    {
    Console.WriteLine(@\”
    Use:
    {0}
    xmlDocumentPath
    [-policyName \”\”<policyName>\”\”]
    [-sqlConnection \”\”<connectionString>\”\”]
    [-datasetName \”\”<datasetName>\”\”]
    [-dataTable \”\”<dataTableName>\”\”]
    xmlDocumentPath must point to RefillmentSchemas.RequestStatus XML document instance
    defaults:
    policyName – \”\”{1}\”\”
    connectionString – \”\”{2}\”\”
    dataConnectionName – \”\”{3}\”\”
    leName – \”\”{4}\”\”
    dataTab\”, Environment.GetCommandLineArgs()[0], defaultPolicyName, defaultConnectionString, defaultDataConnectionName, defaultDataTableName);
    return retval;
    }
    }
    }

    I build the above code and i get the following error.

    C:\\Labs\\CallBusinessRules\\Class1.cs(58): The name ‘xmlReader’ does not exist in the class or namespace ‘CallBusinessRules.CallBusinessRules’
    C:\\Labs\\CallBusinessRules\\Class1.cs(67): The type or namespace name ‘xmlReader’ could not be found (are you missing a using directive or an assembly reference?)

    Any help greatly appreciated!!!!!!!!!!!

Viewing 15 posts - 8,326 through 8,340 (of 9,652 total)