community-content

Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 9,648 total)
  • Author
    Posts
  • Hi Sarah, Did you get this resolved? I am having the same issue.

    Anna

    in reply to: BT04 Changes not taking effect #21563

    Thank for the quick response.  I ran through all of the steps you listed.  The DLL wasn’t there, and gacutil had no effect when the service was undeployed.  It doesn’t require IIS.  I did terminate all instances left in the HAT.  Once all that was done and the host instance was restarted, I noticed my changes took effect.  However, when I made a new change, ran through the steps, and redeployed I had the same problem.  I undeployed the project and ran through everything again and the changes too effect.  I know BT doesn’t require all of this in order to see new changes so something is wrong here.  If anyone has any ideas what could be happening I’d really love to hear them.  I’d like to resolve this issue since it’s so time-consuming.  I also made sure the project is set for redeploys as well.

    Thanks!

    I’m assuming you used the WCF Service Consuming Wizard.  In that case I would think that the action is correct, but there may be a problem with security.  Do you have security configured to “None” on both the security tab of the port configuration and the WCF service?

    in reply to: About Persistent Points #21559

    Hi Murali!

    In short: After certain actions in a Biztalk orchestration the state of the entire orchestration – including full message data, variable values, etcetera – is serialized into xml and stored to the Biztalk database.  This is persistence. It’s like a check point in a video game.

    Good article: http://blogs.msdn.com/sanket/archive/2006/11/12/understanding-persistence-points-in-biztalk-orchestration.aspx

    More good articles: http://www.google.com/search?q=persistence+points+biztalk+2006

    //Niklas Häggström – Connecta AB, Sweden

    in reply to: Recovery from Error in Orchestration Loop #21558

    Refer to Recoverable Interchange (a new feature available as a part of BizTalk Server 2006 onwards).

    Alternatively, if you are looping in Orchestration, you might want to put a scope shape and handle the exception / compensation accordingly.

     

    in reply to: Recovery from Error in Orchestration Loop #21555

    Hi Dylan,

    Add a scope around your map and create an exception block for the scope. In the exception block catch the exception (maybe log it in the event log?), then have the processing continue as normal.

    in reply to: Feedback on 3rd party PGP encryption/decryption tool #21554

    You might have run into this before but thought I’d mention it here as well – on the Pro BizTalk 2006 book they have the code for a PGP encode and a PGP decode pipeline components based around the GNU Privacy Guard package available from http://www.gnupg.org

    in reply to: BT04 Changes not taking effect #21553

    Hmmm… A couple of things to try.

    * Check if any of your project dlls are on the biztalk installation folder (usually c:\Program Files\Microsoft BizTalk Server 2004).

    * Un-gac all the versions and references of you solution dlls by running gacutil with the /uf parameter

    * If your solutions involve IIS also restart IIS

    * Terminate all the suspended and zombie and other instances you might have in BizTalk (this script might be useful http://msdn.microsoft.com/en-us/library/bb203857.aspx)

     

    in reply to: Consume Adapter Service Add-in #21552

    Make sure you install:

    * WCF LOB Adapter SDK.

    * BizTalk Adapter Pack.

    * Requirements (oracle client, oracle data provider for .NET, ODAC)

    in reply to: Feedback on 3rd party PGP encryption/decryption tool #21550

    [quote user="Anonymous"]

    Cant seem to decrypt correctly. Pipeline Fails because it finds Public Key where it expects a Private Key

     

    This is reiving me nuts

    [/quote]

     

    Hi,

        In your Receive Pipeline, after you place the PGP Pipeline Component in the Designer area in the Decode container, highlight that component, and check the Properties box for the following:

    1) ASCIIArmorFlag = False

    2) Extension = pgp

    3) IntegrityCheckFlag = False

    4) Operation = Decrypt

    5) Passphrase = your passphrase (note: this is your custom passphrase, remember that it is case-sensitive!)

    6) PrivateKeyFile = full path location of your private key file (note: your private key can be stored in the same file as your public key)

        With these settings, you should be able to use the pipeline component out of the box.

        Post back to this thread if you have further trouble using the component, or if my post answered your question…

        Regards,

        Daniel.

     

    in reply to: Feedback on 3rd party PGP encryption/decryption tool #21549

    Cant seem to decrypt correctly. Pipeline Fails because it finds Public Key where it expects a Private Key

     

    This is reiving me nuts

    in reply to: Feedback on 3rd party PGP encryption/decryption tool #21547

    JFYI: Intermax PGP Pipeline is based on pirated code of SecureBlackbox version 4. And their PGP key manager is a compiled sample of SecureBlackbox.

    Now what I have tried is to send simple xml file rather than .net class. I have defined schema for input message as

    BODY{font:x-small ‘Verdana’;margin-right:1.5em}
    .c{cursor:hand}
    .b{color:red;font-family:’Courier New’;font-weight:bold;text-decoration:none}
    .e{margin-left:1em;text-indent:-1em;margin-right:1em}
    .k{margin-left:1em;text-indent:-1em;margin-right:1em}
    .t{color:#990000}
    .xt{color:#990099}
    .ns{color:red}
    .dt{color:green}
    .m{color:blue}
    .tx{font-weight:bold}
    .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
    .di{font:small Courier}
    .d{color:blue}
    .pi{color:blue}
    .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
    .ci{font:small Courier;color:#888888}
    PRE{margin:0px;display:inline}
    <!–
    function f(e){
    if (e.className==”ci”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”cb”);}
    if (e.className==”di”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”db”);}
    e.id=””;
    }
    function fix(e,cl){
    e.className=cl;
    e.style.display=”block”;
    j=e.parentElement.children(0);
    j.className=”c”;
    k=j.children(0);
    k.style.visibility=”visible”;
    k.href=”#”;
    }
    function ch(e){
    mark=e.children(0).children(0);
    if (mark.innerText==”+”){
    mark.innerText=”-“;
    for (var i=1;i<e.children.length;i++)
    e.children(i).style.display=”block”;
    }
    else if (mark.innerText==”-“){
    mark.innerText=”+”;
    for (var i=1;i<e.children.length;i++)
    e.children(i).style.display=”none”;
    }}
    function ch2(e){
    mark=e.children(0).children(0);
    contents=e.children(1);
    if (mark.innerText==”+”){
    mark.innerText=”-“;
    if (contents.className==”db”||contents.className==”cb”)
    contents.style.display=”block”;
    else contents.style.display=”inline”;
    }
    else if (mark.innerText==”-“){
    mark.innerText=”+”;
    contents.style.display=”none”;
    }}
    function cl(){
    e=window.event.srcElement;
    if (e.className!=”c”){e=e.parentElement;if (e.className!=”c”){return;}}
    e=e.parentElement;
    if (e.className==”e”) ch(e);
    if (e.className==”k”) ch2(e);
    }
    function ex(){}
    function h(){window.status=” “;}
    document.onclick=cl;
    –>

      <?xml
    version=”1.0″ encoding=”utf-16″
    ?>
    – <xs:element name=”Message“>
    – <xs:complexType>
    – <xs:sequence>
      <xs:element name=”Text“ type=”xs:string“ />
      <xs:element name=”Client“ type=”xs:string“
    />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>

    and Ouput message as

    BODY{font:x-small ‘Verdana’;margin-right:1.5em}
    .c{cursor:hand}
    .b{color:red;font-family:’Courier New’;font-weight:bold;text-decoration:none}
    .e{margin-left:1em;text-indent:-1em;margin-right:1em}
    .k{margin-left:1em;text-indent:-1em;margin-right:1em}
    .t{color:#990000}
    .xt{color:#990099}
    .ns{color:red}
    .dt{color:green}
    .m{color:blue}
    .tx{font-weight:bold}
    .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
    .di{font:small Courier}
    .d{color:blue}
    .pi{color:blue}
    .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
    .ci{font:small Courier;color:#888888}
    PRE{margin:0px;display:inline}
    <!–
    function f(e){
    if (e.className==”ci”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”cb”);}
    if (e.className==”di”){if (e.children(0).innerText.indexOf(“\n”)>0) fix(e,”db”);}
    e.id=””;
    }
    function fix(e,cl){
    e.className=cl;
    e.style.display=”block”;
    j=e.parentElement.children(0);
    j.className=”c”;
    k=j.children(0);
    k.style.visibility=”visible”;
    k.href=”#”;
    }
    function ch(e){
    mark=e.children(0).children(0);
    if (mark.innerText==”+”){
    mark.innerText=”-“;
    for (var i=1;i<e.children.length;i++)
    e.children(i).style.display=”block”;
    }
    else if (mark.innerText==”-“){
    mark.innerText=”+”;
    for (var i=1;i<e.children.length;i++)
    e.children(i).style.display=”none”;
    }}
    function ch2(e){
    mark=e.children(0).children(0);
    contents=e.children(1);
    if (mark.innerText==”+”){
    mark.innerText=”-“;
    if (contents.className==”db”||contents.className==”cb”)
    contents.style.display=”block”;
    else contents.style.display=”inline”;
    }
    else if (mark.innerText==”-“){
    mark.innerText=”+”;
    contents.style.display=”none”;
    }}
    function cl(){
    e=window.event.srcElement;
    if (e.className!=”c”){e=e.parentElement;if (e.className!=”c”){return;}}
    e=e.parentElement;
    if (e.className==”e”) ch(e);
    if (e.className==”k”) ch2(e);
    }
    function ex(){}
    function h(){window.status=” “;}
    document.onclick=cl;
    –>

      <?xml
    version=”1.0″ encoding=”utf-16″
    ?>
    – <xs:element name=”Message“>
    – <xs:complexType>
    – <xs:sequence>
      <xs:element name=”Text“ type=”xs:string“ />
      <xs:element name=”Client“ type=”xs:string“
    />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>

    In the file receive port I send following XML message

    <Message>
      <Text>Text_0</Text>
      <Client>Client_0</Client>
    </Message>

    This what I get

    “net.tcp://localhost:8000/SubscriberWCFPort/MessageReceiver”. It will be retransmitted after the retry interval specified for this Send Port. Details:”System.ServiceModel.FaultException: http://www.w3.org/2005/08/addressing/faulturn:uuid:56fd1f9b-0204-427f-9a09-2036e3777389http://www.w3.org/2005/08/addressing/anonymouss:Sendera:ActionNotSupportedThe message with Action ‘<BtsActionMapping xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema”&gt;
    <Operation Name=”ForwardMessage” Action=”http://example.org/messenger/IMessageReceiver/ForwardMessage&#8221; />
    </BtsActionMapping>’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

    at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)”.

     

    My WCF code is as follows

        [ServiceContract(Namespace=”http://example.org/messenger&#8221;)]
        public interface IMessageReceiver
        {
            [OperationContract]
            void ForwardMessage(Message message);
        }

     

        public class MessageReceiver : IMessageReceiver
        {
            #region IMessageReceiver Members

            public void ForwardMessage(Message message)
            {
                Console.WriteLine(message.Text);
            }

            #endregion
        }

     

    StatusMessage class is

        [DataContract(Namespace=”http://example.org/messenger&#8221;)]
        public class Message
        {
            [DataMember]
            public string Text { get; set; }
            [DataMember]
            public string Client { get; set; }
        }

    My first guess would be that you have an issue with messagetype and/or namespace.  Post the exact error information you are getting and I may be able to provide more insight.

    The message reaches upto send port in the orchestration however for some reason my dynamic send port in the orchestration cannot figure out WCF contract and complains about contract mismatch. In the Expression shape I provide correct address of the WCF service to the send port.

    Do you think the contract mismatch error would be related to message namespace or something else?

Viewing 15 posts - 3,301 through 3,315 (of 9,648 total)