XLANG Pipeline is not passing variable from Port 1 to Port 2
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > XLANG Pipeline is not passing variable from Port 1 to Port 2




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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?





[ Post a follow-up to this message ]



    RE: XLANG Pipeline is not passing variable from Port 1 to Port 2  
Everett Yang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

evyang@online.microsoft.com (Everett Yang) wrote in message news:<OtzHteg1DHA.3564@cpmsf
tngxa07.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
> [url]http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp[/ur
l]
> &SD=msdn


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





[ Post a follow-up to this message ]



    Re: XLANG Pipeline is not passing variable from Port 1 to Port 2  
Everett Yang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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@cpmsf
tngxa07.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
> [url]http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp[/ur
l]
> &SD=msdn





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:28 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register