How to build "Script functoid" with external assembly call?
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 Applications Integration > How to build "Script functoid" with external assembly call?




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

    How to build "Script functoid" with external assembly call?  
Alex


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


 
06-29-04 10:51 PM

Hello,
I am new in BT2004 and doing my first map,so I am really
sorry for silly question.
Does anybody know the "Step by Step" way to create a
functoid with external assembly call with step-by-step
instractions how to create an external assembly and how to
register it in GAC?
I will appretiate for any info.

Alex.





[ Post a follow-up to this message ]



    RE: How to build "Script functoid" with external assembly call?  
Gilles [MSFT]


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


 
06-29-04 10:51 PM

Hello,

>I am new in BT2004 and doing my first map,so I am really  sorry for silly q
uestion.
>Does anybody know the "Step by Step" way to create a functoid with external
 assembly call with
>step-by-step instractions how to create an external assembly and how to register it
 in GAC?

BizTalk SDK contains a sample functoid and this page is a step by step giude
 on how to run it:

http://msdn.microsoft.com/library/e.../>
?frame=true

Instead of doing the steps under "How to run the sample", I suggest you do t
he following:

1) From a Visual Studio.NET BizTalk project, right-click the Toolbox, and se
lect Add/Remove Toolbox Items....
2) In the Customize Toolbox dialog box, select the Functoids tab.
3)Click Browse, and navigate to <bts directory>\Developer Tools\Mapper Exten
sions and select your assembly.
4) Click OK to close all dialogs.
5) Close the current solution (if any) and create a new BizTalk poroject
6) Add a new item of type map
7) Switch to the toolbox when the map is visible in visual studio

OBSERVE: your functoid has been installed under "string functoid".

To GAC an assembly: in a Visual Studio command prompt
(Start->Program Files->Microsoft Visual Studio .NET 2003->Visual Studio .NET
 Tools->Visual Studio .NET 2003 Command prompt)
enter the command: gacutil /if <fullpath to the assembly to gac>

Thanks.
-Gilles.






[ Post a follow-up to this message ]



    RE: How to build "Script functoid" with external assembly call?  
Gilles [MSFT]


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


 
06-29-04 10:51 PM

Hello,

Ahaha, pressed "sent" too quickly.

[...]

>To GAC an assembly: in a Visual Studio command prompt
>(Start->Program Files->Microsoft Visual Studio .NET 2003->Visual Studio .NE
T Tools->Visual Studio .NET 2003 Command prompt)
>enter the command: gacutil /if <fullpath to the assembly to gac>

You can then use the following page to learn everything about the scripting 
functoid:

[url]http://msdn.microsoft.com/library/en-us/sdk/htm/ebiz_prog_map_iboo.asp?frame=true[
/url]

Thanks.
-Gilles.






[ Post a follow-up to this message ]



    RE: How to build "Script functoid" with external assembly call?  
Alex


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


 
06-30-04 10:55 PM

I did not want to build a "Custom Functoid", I just try to
use my "External Assembly" as a Script type for my
Standatd "Script functoid".
So Far, I found an information how to do so, but still
have not sucseeded.
Here what I did:
1. To my BizTalk2004 Solution - /Add New Project/VBProject-
Class Library
2. Develope .VB file(I just posted a text from .VB I
already completed and tested at other solution, so I am
sure it will work with no errors)
3. Rebuild solution
4. Created Strong name with "sn" utility: sn -k mykey.snk
5. Changed AssemblyInfo.vb to reflect version and key info:
<Assembly: AssemblyVersion("1.0.0.1")>
<Assembly: AssemblyKeyFile("C:\Development\BizTalk2004\SAP
Project\SAP\GetData\mykey.snk")>
6. Rebuild agein
7. Install my Class library to GAC

And now I am stock at this point.
For some reason I could not find my assembly at DropDown
box "Script assembly". I can see it just if I broes
to "C:\WINNTS\assembly" directory,but not in the script
functoid form.

Any help?

Alex.






[ Post a follow-up to this message ]



    RE: How to build "Script functoid" with external assembly call?  
Alex


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


 
06-30-04 10:55 PM


I did it!
I forgot to add my project to the reference!
Now I am ok.

Alex.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:14 AM.      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