BizTalk Server Orchestration - XLANG Pipeline is not passing variable from Port 1 to Port 2

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > February 2004 > XLANG Pipeline is not passing variable from Port 1 to Port 2





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XLANG Pipeline is not passing variable from Port 1 to Port 2
Bob

2004-02-08, 8:42 am

I am having trouble passing more than one variable as output from one
XLANG Port to input on another XLANG Port. I have vbscripts at the end
of the Ports.

I have an XLANG Orchestration in BizTalk Server 2002.
I have an incoming XML Message (Message_1) and two ports (Port_1) and
(Port_2).

In the orchestration, I have the following inputs and outputs.
Port1 initiates a synchronous call to a vbscript method MethodCall_1
with input varaiables ByRef XMLDoc as variant and ByRef UserAgentID as
variant.
The vbscript returns the following: MethodCall_1 = XMLDoc and
UserAgentID=somevalue

I am trying to get the somevalue from variable UserAgentID in Port_1
to be passed into Port_2.
Port 2 initiates a synchronous call to a vbscript method MethodCall_2
with input varaiables ByRef XMLDoc as variant and ByRef UserAgentID as
variant.

The pipeline has UserAgentID from the output of MethodCall_1 pointing
to the input on MethodCall_2. When I write the MethodCall_1 and
MethodCall_2 out to a file to see what the UserAgentID values are,
MethodCall_1 shows the value populated and MethodCall_2 does not have
the value populated.

Shouldn't the somevalue show up in Port_2 if it is returned out of
Port_1 and the pipeline XLANG points the line from output of Port_1 to
input of Port_2.

Let me know if you have anyone knows whether this should work or not?
Everett Yang

2004-02-08, 8:42 am

Just to make sure I understand the scenario correctly, can you post your
Xlang drawing?

Sincerely,


Everett Yang
DSI - Microsoft BizTalk Server

This posting is provided “AS IS” with no warranties, and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn

Bob

2004-02-08, 8:42 am

evyang@online.microsoft.com (Everett Yang) wrote in message news:<OtzHteg1DHA.3564@cpmsftngxa07.phx.gbl>...
> Just to make sure I understand the scenario correctly, can you post your
> Xlang drawing?
>
> Sincerely,
>
>
> Everett Yang
> DSI - Microsoft BizTalk Server
>
> This posting is provided ?AS IS? with no warranties, and confers no rights.
> Subscribe at
> http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn



I just sent you an email. Take a look at the XLANG in the zip file.
Thanks,
Bob
Everett Yang

2004-02-08, 8:42 am

Hi Bob,

I can't seem to reproduce this. I tried with 2 of my scripting components
and I was able to pass parameter without problem.
Check if the document being returned by the 1st component has all the
necessary fields. Try writing the entire document to MSMQ first before
calling the 2nd component and see if the document looks complete.
Alternatively, you can add another component between the 2 components and
use that component to write document to file. If the document is too
large, this may be the better approach.


Sincerely,


Everett Yang
DSI - Microsoft BizTalk Server

This posting is provided “AS IS” with no warranties, and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn

Bob

2004-02-08, 8:42 am

It works now. I created two test ports and a sample XLANG to perform a
simple test, and it worked.

I then took my originals and re-registered the vbscripts and
re-compiled the map.
I also re-started the XLANG service, but I was doing all of this last
week and it would not work.

Not sure, but something in development must have been off.
Thanks for the help.
Bob

evyang@online.microsoft.com (Everett Yang) wrote in message news:<3gL59kv1DHA.3088@cpmsftngxa07.phx.gbl>...
> Hi Bob,
>
> I can't seem to reproduce this. I tried with 2 of my scripting components
> and I was able to pass parameter without problem.
> Check if the document being returned by the 1st component has all the
> necessary fields. Try writing the entire document to MSMQ first before
> calling the 2nd component and see if the document looks complete.
> Alternatively, you can add another component between the 2 components and
> use that component to write document to file. If the document is too
> large, this may be the better approach.
>
>
> Sincerely,
>
>
> Everett Yang
> DSI - Microsoft BizTalk Server
>
> This posting is provided ?AS IS? with no warranties, and confers no rights.
> Subscribe at
> http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com