community-content

Forum Replies Created

Viewing 15 posts - 5,116 through 5,130 (of 9,648 total)
  • Author
    Posts
  • in reply to: Biztalk issue #18834

    Hi Siva,
    I have sent you my project to your email address.

    Thanks again.
    Grant

    in reply to: Biztalk issue #18833

    u can email to [email protected]

    in reply to: Biztalk issue #18832

    Could you send me the project if it is ok with you? If you are sending, please send  me all the infomation about your receive port set up, so i can set smiller on my side and test it here.

    Its looks like fine from my side..Let me test with your project.

    Siva

    in reply to: Biztalk issue #18831

    Hi Silva,
    I am trying to call the package from the receive port, the package is displayed under my schema name > Procedures and I can see “Grant_Package” but I get the error as stated at the start “I-OAP0022: Unable to find object describing this table:” I can use the native and do a select on the table so I know there is not problems connecting to the database.

    I am not using any post or poll sql in the adapter should I be?

    Thanks for your help

    Grant Lindsay

    in reply to: Biztalk issue #18830

    Hi,

    I could create schema with out error. Could you check ur send/receive port? could u check the connection? where is ur package located?

    I put the package under my schema. I created a send port using my user id and pwed. when i run add genearate items, i use the send port i created as port option. then i selected the package under my schema. I think ur package not saved under Nativesql. i think it is under ur schema.

    could u double check it?

    Hi.

     I am so happy now! We have done this!

    We get a message from an orchestration “as is” and get it’s context as a separate XML file which is saved in a file system,in a case we get a catch (in an attempt to get as much information about “Dead Message” as we can).

     Here is the code :

    #region

    GetMsgContextFile//a method where we get public static XmlDocument GetMsgContextFile(IBaseMessageContext con)

    {

    string propName, propNs, propValue;StringBuilder ctxFile = new StringBuilder();

    ctxFile.AppendFormat(

    “<MessageInfo><ContextInfo PropertiesCount=\”{0}\”>”, con.CountProperties.ToString());for (int i = 0; i < con.CountProperties; i++)

    {

    propValue = System.Convert.ToString(con.ReadAt(i, out propName, out propNs));

    propValue=propValue.Replace(

    “<“, “&lt;”);propValue=propValue.Replace(“>”, “&gt;”);

    propValue=propValue.Replace(

    “\””, “&quot;”);ctxFile.AppendFormat(“<Property Name=\”{0}\” Namespace=\”{1}\” Value=\”{2}\” />”, propName, propNs, propValue);

    }

    ctxFile.Append(“</ContextInfo></MessageInfo>”);XmlDocument xDoc = new XmlDocument();

    xDoc.LoadXml(ctxFile.ToString());

    return xDoc;

    }

     public static XmlDocument CreateContextDoc(XLANGMessage inputMessage)

    {

    XMessage inputXMessage;

    MethodInfo myMethodInfo = inputMessage.GetType().GetMethod(“Unwrap”, BindingFlags.Instance | BindingFlags.NonPublic);inputXMessage = (XMessage)(myMethodInfo.Invoke(inputMessage, null));

    Hashtable contextHashTable = inputXMessage.GetContextProperties();IDictionaryEnumerator contextEnumerator = contextHashTable.GetEnumerator();

     

    string propName=string.Empty;

    string propNs = string.Empty;string propValue = string.Empty;

    XmlQName key;StringBuilder ctxStringBuilder = new StringBuilder();ctxStringBuilder.AppendFormat(“<MessageInfo><ContextInfo PropertiesCount=\”{0}\”>”, contextHashTable.Count.ToString());

     

    while (contextEnumerator.MoveNext())

    {

    propValue = contextEnumerator.Value.ToString();

    key = (XmlQName)contextEnumerator.Key;

    propNs = key.Namespace;

    propName = key.Name;

    //This lines we need ’cause “<“, “>”, and ‘  ”  ‘ characters are not displayed well inside of XML (which are attributes : “XML-in-XML”)

    propValue = propValue.Replace(“<“, “&lt;”);

    propValue = propValue.Replace(

    “>”, “&gt;”);propValue = propValue.Replace(“\””, “&quot;”);ctxStringBuilder.AppendFormat(“<Property Name=\”{0}\” Namespace=\”{1}\” Value=\”{2}\” />”, propName, propNs, propValue);

    }

    ctxStringBuilder.Append(“</ContextInfo></MessageInfo>”);

     

    XmlDocument ctxXDoc = new XmlDocument();

    ctxXDoc.LoadXml(ctxStringBuilder.ToString());

    //FInal Xml-Document with context only

    return ctxXDoc;

    }

     

     

     

     

    in reply to: Map <choice> in BizTalk Mapper #18828

     Try Mass Copy functiod

     

    And let know if its work

     

    in reply to: Question: transporting ASCII-file with BizTalk Server 2006 #18826

    You can use drop files directly to shared folder behind your firewall or ftp location from BizTalk Server

     

    You can send files by attaching files by email but this not recommended as
    your SMTP server get bulky traffic due attachments  

     

    in reply to: Biztalk issue #18825

    Hi Silva,
    package complied without errors, here is the package:

    CREATE OR REPLACE package grant_package AS

    PROCEDURE test_return (out_text IN OUT VARCHAR2);

    end grant_package;
    /

    CREATE OR REPLACE package body grant_package AS

    PROCEDURE test_return (out_text IN OUT VARCHAR2) IS

    v_text varchar2(100):=’Hello Grant’;

    Begin

    out_text:=v_text;

    END test_return;

    end grant_package;
    /

    Thanks for your helps

    Grant Lindsay

    You can definitely pass the message back (http://blogs.msdn.com/darrenj/archive/2004/09/29/235719.aspx).  I have never tried what you are describing…but it does sound plausable.  Please report back whether you were able to get your desired results.

    in reply to: Biztalk issue #18822

    Did package compile with out issue? could you post the package here? its look like package has some issue. what is ur parameter for procedure?

    Thanx for answer. 🙂

     I went to the MSDN link you gave me, some of links which where found there are plenty helpful. But.. I have not seen in any place anyone used “In Orchestration” context pooling. Can’t I just build a method which would take as a parameter a message (it’s Xml right?)  and somehow using IBaseMessage to take out the context ?

     

    Thanx again.

    Check out this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2656842&SiteID=1

     The BizTalk Operations dll is suppose to be quicker than performing a similar task through WMI

    in reply to: Biztalk issue #18819

    Hi Siva,
    how did you manage to create the package because when try to I get this error:

    I-OAP0022: Unable to find object describing this table: OracleDb://ALASIS/EPMINT/Procedures/GRANT_PACKAG

    When I created an oracle schema i used the Native Sql option, sorry.

    Grant Lindsay

    in reply to: Load biztalk2006 on vista #18817

    I have loaded R2 on Vista Ultimate.  I did have a couple problems:

    1. Internal Error 2738  but found a solution here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1795235&SiteID=1  I can’t guarentee that you will have the same problem but in case you do…
    2. I am getting a security related error when accessing the BAM Portal on the vista machine.   I haven’t quite figured out what is wrong…I am pretty sure it is an IIS related issue not a BizTalk one.

    Other than the BAM issue I have been able to build/deploy/test BizTalk apps without problems. 

Viewing 15 posts - 5,116 through 5,130 (of 9,648 total)