Forum Replies Created
-
AuthorPosts
-
January 23, 2009 at 2:25 PM in reply to: BizTalk Server WCF Receive Port (WCF-Custom) – usupported operation #21564
Hi Sarah, Did you get this resolved? I am having the same issue.
Anna
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!
January 23, 2009 at 11:09 AM in reply to: Transmitting .net class type from one application to WCF service via BizTalk orchestration #21562I’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?
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
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.
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.
January 22, 2009 at 4:03 PM in reply to: Feedback on 3rd party PGP encryption/decryption tool #21554You 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
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)
Make sure you install:
* WCF LOB Adapter SDK.
* BizTalk Adapter Pack.
* Requirements (oracle client, oracle data provider for .NET, ODAC)
January 22, 2009 at 8:38 AM 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.
January 22, 2009 at 8:19 AM in reply to: Feedback on 3rd party PGP encryption/decryption tool #21549Cant seem to decrypt correctly. Pipeline Fails because it finds Public Key where it expects a Private Key
This is reiving me nuts
January 22, 2009 at 4:52 AM in reply to: Feedback on 3rd party PGP encryption/decryption tool #21547JFYI: Intermax PGP Pipeline is based on pirated code of SecureBlackbox version 4. And their PGP key manager is a compiled sample of SecureBlackbox.
January 22, 2009 at 2:33 AM in reply to: Transmitting .net class type from one application to WCF service via BizTalk orchestration #21546Now 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:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003“ xmlns:xs=”http://www.w3.org/2001/XMLSchema“>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:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003“ xmlns=”http://example.org/messenger/IMessageReceiver/ForwardMessage“ targetNamespace=”http://example.org/messenger/IMessageReceiver/ForwardMessage“ xmlns:xs=”http://www.w3.org/2001/XMLSchema“>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” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<Operation Name=”ForwardMessage” Action=”http://example.org/messenger/IMessageReceiver/ForwardMessage” />
</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”)]
public interface IMessageReceiver
{
[OperationContract]
void ForwardMessage(Message message);
}public class MessageReceiver : IMessageReceiver
{
#region IMessageReceiver Memberspublic void ForwardMessage(Message message)
{
Console.WriteLine(message.Text);
}#endregion
}StatusMessage class is
[DataContract(Namespace=”http://example.org/messenger”)]
public class Message
{
[DataMember]
public string Text { get; set; }
[DataMember]
public string Client { get; set; }
}January 21, 2009 at 5:57 PM in reply to: Transmitting .net class type from one application to WCF service via BizTalk orchestration #21544My 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.
January 21, 2009 at 3:32 AM in reply to: Transmitting .net class type from one application to WCF service via BizTalk orchestration #21542The 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?
-
AuthorPosts