Forum Replies Created
-
AuthorPosts
-
You can create custom SOAP headers if the header you need is not present. How you do this varies on whether you are using the SOAP adapter, or the WSE adapter. The WSE adapter way is very easy, but tends to cause issues because of namespaces (potentially at least), the SOAP adapter is a little more convoluted, but still relatively easy.
Which adapter are you using?
Working on solution. I don’t fully understand how to read the output from the subscription-viewer, but after posting a message in process1 I found this new row in the subscription-viewer. It seems correct. It show the two properties I have promoted, Name and OrganizationNumber. It also shows the next expected method to be run, namely Update.
[img:37d1706755]http://home.no.net/phpnet/bilder/subscription_viewer.jpg[/img:37d1706755]
I read in this blog (Debugging Routing Failures)
[url]http://blogs.msdn.com/biztalk_core_engine/archive/2004/12/18/325057.aspx[/url]I figure after reading this, that there might be a problem that I actually put the correlation between 1b) and 2a), since 1b) send to a request/response service. What I’m testing now, is to make sure the correlation properties are returned in 1c, thereby changing the correlation to be between 1c) and 2a) instead. I’ll post my results…
Any other Ideas on how to debug this problem ?
Hmm, I’d start by using the subscription viewer (prior to submitting your second request) to see what the state of your subscriptions are.
Do I need correlation ?
Yes, I beleive so. Process2 should not be allowed unless process1 has been run.To the good news!
I finally got the first part of the orch to run. I’m running BTS 2004 SP1. I had not installed a M$ patch
BizTalk Server 2004 SP1 Update for .NET Framework 1.1 on Windows Server 2003, (KB890673).
[url]http://www.microsoft.com/downloads/details.aspx?FamilyID=0FE6C10D-587C-4F7C-AC5C-3890C69A08D1&displaylang=en[/url]This patch deals with a problem that occurs if you import schemas from assemblies that contain redundant imports. I beleive this is the reason it now started to work, though I’m not sure.
Bad thing:
Now I have a new problem. When initiating process2 I seem to get a routing problem…
First errormessage:
The Messaging Engine encountered an error committing a transport adapters batch containing the following work items: SOAP messages to be published, 0 request-response messages to be published, 1 messages to be suspended, 0 messages to be deleted from a host queue, 0 messages to be resubmitted for later transmission, 0 messages to be moved to their backup transport. Please refer to Health and Activity Tracking tool for more detailed information on this failure.Second error message:
The \”SOAP\” adapter is suspending a message coming from Source URL:\”/project/com_domain_project_biztalk_RegisterOrchestration__ReceivePort.asmx\”. Details:\”The message found multiple request response subscriptions. A message can only be routed to a single request response subscription. \”.Any clue ? The argument for both webservice methods are of same type, but that should not be a problem, should it ?
Have your component assembly reference your schema assembly, and then use the GetPropertyValue method of the message.
You will find that a type has been generated for each property/distinguished filed.
myMsg.GetPropertyValue(typeof(MyProject.MySchemas.SomeProperty));
I haven’t had a chance to digest your last post – but…once more on the issue of correlation. Do you really need to have the same instance of the orchestration handle the second request — or does the information that comes with the second request give you all you need to update the database? (i.e. do you have the key you need, etc.?)
Just because the operations are logically grouped doesn’t meet you actually need to use the same orchestration instance. Just checking, since complexity would be reduced for you.thank you very much mario
My application works now after configuring
the sendport filter
(BTS.ReceivePortName == <name of your receiveport>)thanks for your reponse
Hi!
In a messaging scenario like in your case the send port must be configured correctly to \”subscibe\” to the incoming message. Normally there a two types of errors.
1) the sendport should have the filter configured to the receive port (BTS.ReceivePortName == <name of your receive port>)
2) the receive port has the wrong pipeline configured and therefore doesn%u00b4t give you the xml-Format you might expect. I bet in 95% on number 1) 😉
good luck
mariohai,
Could not find a matching subscription for the message.
The Messaging engine failed to process a message submitted by adapter:FILE Source URL:C:\\test\\Receive\\*.xml. Details:Could not find a matching subscription for the message. . This error occurs if the subscribed orchestration schedule or send port has not been started, or if some of the message properties necessary for subscription evaluation have not been promoted.This occurs when I am using file adapter in biztalk.My send ports are well started.Can somebody help me?
hai friends,
I am new to biztalk server.I am trying to copy un fichier xml from receive folder to send folder using file adapter.I configured send ports and receive ports.
When I copy the file to receive folder it should place it in send folder.But when I copy the file to receive folder the file disappears and I cannot find the file .
can anybody help me.
thanks in advanceOctober 25, 2005 at 1:06 AM in reply to: How can I declare a variable of type ByteArray in BTS 2006? #14223Hello.
I do not think that is supported. From the Biztalk 2006 help guide:
[b:c987b1e4b4]Important: [/b:c987b1e4b4]
Web method parameters of type array are not supported.You could always wrap your web service call in .net code. Then, call your .net code from your Orchestration.
Hope this helps.
Yes, you can do this but it would be a lot of work.
What I have done in the past is do this type of work in a map
I would create a scripting functoid inside the map with an output of “”. Then, I map this to all the nodes I want to show up. Then, I map the data from the left side as normal. It is important to map in this order. You will get a warning when you compile – but that’s ok.
You should now get your empty nodes when you do not have a node on the input mapped to it.
Does that make sense? I do not really have a sample available for that right now.
Sorry, I have no clue on this one. The only place I found was http://www.busproc.com/ . But they really didn’t say they had an adapter.
October 24, 2005 at 2:34 PM in reply to: Setting a variable in the Rec. Pipeline for use in an Orch. #12091Yes, as Stephen says – you want to promote or write the property by referencing your own property name and namespace. Don’t attempt to use the namespace for distinguished fields unless you have actually designated the corresponding portion of the schema as a distinguished field in the schema editor.
Thanks for the reply. The index didn’t solve it, so I tried the iteration insted and it solved it. The problem with index was that the index value only was set to zero the first time the ADDRLINE was hit. The iteration and a logical functoids=1 on the top node ind the distination schema did it.
Best regrads
BTS4FUN
-
AuthorPosts