Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help on resolve some errors in BizTalk-Orchestration

125 views
Skip to first unread message

Antalin

unread,
Sep 2, 2005, 6:55:02 AM9/2/05
to
Description of this Issue 1:

My orchestration design is very simple one. In my Orchestration diagram, I
have one receive port to receive the Input Message and pass it to the Message
Assignment Shpae in the Construct Message shape for assigning the output
message value. Then send this output message through send port.

I wand to take an input message as a string to the receive port and pass it
to the Construct Message shape of Message assignment shape, there I need to
call some assembly reference component’s method, passing this string as a
input variable and manipulate something using this string in the component
and return back the value as a string again. The return value I need to
assign to an output message and finally send this response from the
orchestration using send port.

2nd one, I have tried with xpath only in the Message assignment shape. But
it is giving some build error itself like ‘Message has not been initialized
in Construct Statement'. But I have only one Construct Message shpae in my
Orchestration. The xpath query I used like this in the Message Assignment
shape


objVar = new ClassLibrary.Class1();

xpath(OutputMessage.MessagePart_1, "//FinalOrder") =
objVar.OrderProcessing(xpath(InputMessage.MessagePart_1,"//Order"));


Description of the Issue 2:
If I do not want to call component's method from orchestration, Go for using
Transform shape in the Construct Message Shape insted of Message Assignment
Shpae. But I am getting some deployment error as below

[Microsoft.BizTalk.Deployment.DeploymentException] Unable to deploy early
bindings.

[Microsoft.BizTalk.Deployment.Binding.BindingException] Failed updating
binding information.

BindingException: Could not validate TransportTypeData, Address or Public
Address properties for Receive Location
'Action_1.0.0.0_HWS.ProcessRequest_ReceiveOrder_24f1cd0ebd141e24_ReceiveLocation'. The method or operation is not implemented.

[Microsoft.BizTalk.ExplorerOM.BtsException] Could not validate
TransportTypeData, Address or Public Address properties for Receive Location
'Action_1.0.0.0_HWS.ProcessRequest_ReceiveOrder_24f1cd0ebd141e24_ReceiveLocation'. The method or operation is not implemented.


Matt Milner

unread,
Sep 2, 2005, 1:42:14 PM9/2/05
to
I'm not sure what the question is on item 1, but for your second one, the
problem is that you are trying to use Xpath to set some value in an xml
document, but you have not yet created an xml document and set it as your
message. Try something like this:

> objVar = new ClassLibrary.Class1();
>
objXmlDoc = new System.Xml.XmlDocument();
objXmlDoc.LoadXml("<FinalOrder/>");

> xpath(OutputMessage.MessagePart_1, "//FinalOrder") =
> objVar.OrderProcessing(xpath(InputMessage.MessagePart_1,"//Order"));


Matt

"Antalin" <Ant...@discussions.microsoft.com> wrote in message
news:CECEA60A-68F8-4D02...@microsoft.com...

Antalin

unread,
Sep 6, 2005, 2:16:02 AM9/6/05
to
Matt,
Thanks for your response.
Still I am getting the same build errors even after following your
instructions.

The Build errors are as follows:

1. 'OutputMessage.MessagePart_1': message part has not been initialized in
construct statement
2. use of unconstructed message 'OutputMessage'

Thanks & Regards
Antalin

"Matt Milner" ने लिखा:

Michael Høtoft

unread,
Sep 6, 2005, 2:34:31 AM9/6/05
to
Hello Antalin,

Try this:

Create a transform that "initializes your message with default values before
performing any manipulation upon the object.

Regards
Michael Høtoft

> Matt,
> Thanks for your response.
> Still I am getting the same build errors even after following your
> instructions.
>
> The Build errors are as follows:
>
> 1. 'OutputMessage.MessagePart_1': message part has not been
> initialized in
> construct statement
> 2. use of unconstructed message 'OutputMessage'
> Thanks & Regards
> Antalin

> "Matt Milner" ?? ????:

Antalin

unread,
Sep 6, 2005, 3:02:02 AM9/6/05
to
Hi Michael Hotoft,

Thanks for your response.

I tried that also. That was my 'Descrption of Issue No.2' in the initial post.
Using Transform shape I am getting the below deployment errors.

Description of the Issue 2:
If I do not want to call component's method from orchestration, Go for
using
Transform shape in the Construct Message Shape insted of Message
Assignment
Shpae. But I am getting some deployment error as below
[Microsoft.BizTalk.Deployment.DeploymentException] Unable to deploy
early bindings.

[Microsoft.BizTalk.Deployment.Binding.BindingException] Failed
updating binding information.

BindingException: Could not validate TransportTypeData, Address or
Public
Address properties for Receive Location
'Action_1.0.0.0_HWS.ProcessRequest_ReceiveOrder_24f1cd0ebd141e24_Rec
eiveLocation'.
The method or operation is not implemented.
[Microsoft.BizTalk.ExplorerOM.BtsException] Could not validate
TransportTypeData, Address or Public Address properties for Receive
Location
'Action_1.0.0.0_HWS.ProcessRequest_ReceiveOrder_24f1cd0ebd141e24_Rec
eiveLocation'.
The method or operation is not implemented.

Thanks & Regards
Antalin

Michael Høtoft

unread,
Sep 6, 2005, 3:21:06 AM9/6/05
to
Hello Antalin,

Right, I seems that the message you are creating has some faults. i can't
see it from here, but you could try
inserting debug statements in the orchestration and see what you are actually
building and sending.

Example(expression shape)

System.Diagnostics.Debug.WriteLine("==================== MaintenanceOrder
Order Create Request");
XmlDoc = msgMaintenanceOrderRequest.parameters;
System.Diagnostics.Debug.WriteLine(XmlDoc.OuterXml);
System.Diagnostics.Debug.WriteLine("==================== Testing XmlDocument
and values");
System.Diagnostics.Debug.WriteLine("OrderID = " + System.Convert.ToString(xpath(msgMaintenanceOrderRequest.parameters,
"/*[local-name()='Request' and namespace-uri()='http://MaintenanceModule_Order_CreateOrder']/*[local-name()='MaintenanceModule_Order_CreateOrder'
and namespace-uri()='http://MaintenanceModule_Order_CreateOrder']/@*[local-name()='OrderID'
and namespace-uri()='']")) );
System.Diagnostics.Debug.WriteLine("==================== MaintenanceOrder
Order Create Request");


You'll have to reference the System.Diagnostics for your project.

You can use the free "DebugView" software from sysinternalsto track the output.
http://www.sysinternals.com/utilities/debugview.html

That should point you in the right direction or at least confirm that your
are submitting the correct data.

Best regards
Michael Høtoft

Marvin Smit

unread,
Sep 6, 2005, 6:23:18 AM9/6/05
to
Hi,

have you tried extending the

> objXmlDoc.LoadXml("<FinalOrder/>");

with the full XML skeleton of the message?

One other thing i noticed in the post which confused me a little (but
i might be missing the beginning of the posts):


>> >>> xpath(OutputMessage.MessagePart_1, "//FinalOrder") =
>> >>> objVar.OrderProcessing(xpath(InputMessage.MessagePart_1,"//Order"));

FinalOrder - Order ?

Hope this helps,

Marvin Smit

Antalin

unread,
Sep 6, 2005, 6:39:01 AM9/6/05
to
Michael,
Once again Thanks for your response.
But I do not have System.Diagnostics in my machine to add reference to my
project.

Thanks & Regards
Antalin

"Michael Høtoft" ने लिखा:

Michael Høtoft

unread,
Sep 6, 2005, 6:44:30 AM9/6/05
to
Hello Antalin,

Ofcause you do ;)

It is part of the .Net Library ;)


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdiagnostics.asp

> Michael,
> Once again Thanks for your response.
> But I do not have System.Diagnostics in my machine to add reference to
> my
> project.
> Thanks & Regards
> Antalin

> "Michael Høtoft" ?? ????:

Antalin

unread,
Sep 6, 2005, 6:46:03 AM9/6/05
to
Hi Mervin,
Thanks for your response.

Order is the root name in the Input Schema (.xsd) project item, and
FinalOrder is the root name in the Output Schema (.xsd) project items as well
in the Orchestration project. Input message is having the type Input schema
and the Output message is having the type output schema.

The flow is from Order to FinalOrder.

Thanks & Regards
Antalin

"Marvin Smit" ने लिखा:

Antalin

unread,
Sep 6, 2005, 6:52:03 AM9/6/05
to
Hi Marvin Smit,
Thanks for your response.

Order is the root name in the Input Schema (.xsd) project item, and the
FinalOrder is the root name in the Output schema (.xsd) project item. The
orchestration project flow is going from Order to FinalOrder.

I am binding the Input and output schemas with giving the message types to
Input and Output messages respectively.

Thanks & Regards
Antalin

"Marvin Smit" ने लिखा:

> Hi,

Marvin Smit

unread,
Sep 6, 2005, 7:22:01 AM9/6/05
to
Hi,

thanks for the clarification... Did you try the

>> > objXmlDoc.LoadXml("<FinalOrder/>");
>>
>> with the full XML skeleton of the message?

??

Hope this helps,

Marvin Smit.

On Tue, 6 Sep 2005 03:46:03 -0700, "Antalin"
<Ant...@discussions.microsoft.com> wrote:

>Hi Mervin,
>Thanks for your response.
>
>Order is the root name in the Input Schema (.xsd) project item, and
>FinalOrder is the root name in the Output Schema (.xsd) project items as well
>in the Orchestration project. Input message is having the type Input schema
>and the Output message is having the type output schema.
>
>The flow is from Order to FinalOrder.
>
>Thanks & Regards
>Antalin
>

>"Marvin Smit" ?? ????:

Antalin

unread,
Sep 6, 2005, 7:44:01 AM9/6/05
to
Michael Hotoft,
Using Transform shape in the Orchestration, I am getting the below errors in
the 'Debug View' window.

[4068] ****(SCOPE) Notify: event=8021, param=6eb7c, arg=0
[4068] ****(SCOPE) Notify: event=800B, param=930cb8, arg=1
[4068] ****(RESLT) Notify: event=8002, param=930cb8, arg=920694
[4068] ****(RESLT) Notify: event=8016, param=930cb8, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(SCOPE) Notify: event=800B, param=917490, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8016, param=930cb8, arg=0
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(SCOPE) Notify: event=800B, param=9124b0, arg=1
[4068] ****(RESLT) Notify: event=8002, param=9124b0, arg=920694
[4068] ****(RESLT) Notify: event=8016, param=9124b0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10000
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10000
[2184]
c:\depot4000\jupiter\source\private\mozart\source\engine\common\dbaccessor\rowsetwalker.cpp(198): Error - 0x80004003
[4068] ****(RESLT) Notify: event=8001, param=0, arg=0
[4068] ****(RESLT) Notify: event=8015, param=0, arg=0
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(RESLT) Notify: event=8016, param=9124b0, arg=0
[4068] ****(RESLT) Notify: event=8015, param=0, arg=10001
[4068] ****(RESLT) Notify: event=8015, param=0, arg=1
[4068] ****(SCOPE) Notify: event=8013, param=0, arg=930cb8
[2644] ****(SCOPE) Notify: event=8021, param=6eb7c, arg=0
[2644] ****(SCOPE) Notify: event=800B, param=930cb8, arg=1
[2184]
c:\depot4000\jupiter\source\private\mozart\source\engine\common\dbaccessor\rowsetwalker.cpp(198): Error - 0x80004003
[2644] ****(RESLT) Notify: event=8002, param=930cb8, arg=920694
[2644] ****(RESLT) Notify: event=8016, param=930cb8, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(SCOPE) Notify: event=800B, param=917490, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8016, param=930cb8, arg=0
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(SCOPE) Notify: event=800B, param=9124b0, arg=1
[2644] ****(RESLT) Notify: event=8002, param=9124b0, arg=920694
[2644] ****(RESLT) Notify: event=8016, param=9124b0, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8001, param=0, arg=0
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(RESLT) Notify: event=8016, param=9124b0, arg=0
[2644] ****(RESLT) Notify: event=8015, param=0, arg=10001
[2644] ****(RESLT) Notify: event=8015, param=0, arg=1
[2644] ****(SCOPE) Notify: event=8013, param=0, arg=930cb8
[3172] Trace switch level:Verbose
[3172] =============== BizTalkAssembly Constructor =================
[3172] Deployment DTC transaction id: 08d74d4b-5a09-43b3-a55b-7c7db7c4c3ca
[3172] BizTalkAssembly.Deactivate: SQLConnection closed

Thanks & Regards
Antalin

"Michael Høtoft" ने लिखा:

Antalin

unread,
Sep 6, 2005, 7:51:03 AM9/6/05
to
Thanks for your understanding.

Yes, Mervin Smit. I tried already but even then it is giving the same error.

Thanks & Regards
Antalin
"Marvin Smit" ने लिखा:

0 new messages