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.
> 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...
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" ने लिखा:
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" ?? ????:
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
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
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
Thanks & Regards
Antalin
"Michael Høtoft" ने लिखा:
Ofcause you do ;)
It is part of the .Net Library ;)
> 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" ?? ????:
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" ने लिखा:
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,
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" ?? ????:
[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" ने लिखा:
Yes, Mervin Smit. I tried already but even then it is giving the same error.
Thanks & Regards
Antalin
"Marvin Smit" ने लिखा: