BizTalk Server - BTS2002 - Custom Functoid using .NET

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > March 2004 > BTS2002 - Custom Functoid using .NET





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 BTS2002 - Custom Functoid using .NET
Yves Tourchot

2004-02-08, 8:39 am


We need to develop some custom functoid expecting to use .NET to do so.



We have tried the DateFunctoidNet demo located in the BTS2002 Microsoft
BizTalk Server\SDK\Messaging Samples\DateFunctoidNet folder.



This demo was converted & compiled with VS2003 without problem.

This demo was installed without problem following the step include in the
project Readme.txt file.



All is OK, no error on compilation or registration, but the new functoid
never appears

in the BTS Functoid Palette.



Is anybody have already tried this demo?

Is it supposed to work as it or some steps are missing?

--
Yves Tourchot

(ROT13 & rem spam filter to reply)
qriargfby_erzfcnz@flzcngvpb.pn


Jack Blalock

2004-02-08, 8:39 am

Have you registered AssemblyPathFinder.dll or AssemblyPathFinderProxy.dll
(located in the \Program Files\Microsoft BizTalk Server\SDK\Messaging
Samples\DateFunctoidNet\ directory)? These dlls must be registered in
order to be able to see the bitmap for .NET functoids in the BizTalk Mapper.

Jack Blalock [MSFT]
This posting is provided "AS IS", with no warranties, and confers no rights.

Yves Tourchot

2004-02-08, 8:39 am


"Jack Blalock" <jackbl@online.microsoft.com> wrote in message
news:HoGkHWO7DHA.1988@cpmsftngxa07.phx.gbl...
> Have you registered AssemblyPathFinder.dll or AssemblyPathFinderProxy.dll
> (located in the \Program Files\Microsoft BizTalk Server\SDK\Messaging
> Samples\DateFunctoidNet\ directory)? These dlls must be registered in
> order to be able to see the bitmap for .NET functoids in the BizTalk

Mapper.
>
> Jack Blalock [MSFT]
> This posting is provided "AS IS", with no warranties, and confers no

rights.
>


Thanks for your reply!

What I have done is the following:

regasm AssemblyPathFinder.dll
gacutil /i AssemblyPathFinder.dll
regsvr32 AssemblyPathFinderProxy.dll

gacutil /i datefunctoidnet.dll
regasm datefunctoidnet.dll /verbose /tlb:datefunctoidnet.tlb
Merge DateFunctoidNet.reg ie right click DateFunctoidNet.reg, then
select Merge

All command completed without error.

But I'm not sure the problem was related with the bitmap.

I have done a small app in C# base on the
Microsoft.BizTalk.BTSCannedFunctoidsLib.
In this app I used the CannedFunctoidClass class and its related member and
attribute like:

FunctionsCount
GetScriptBuffer
GetFunctionParameter
GetFunctionDescripter
....

With this application I'm able to list and get parameter from the 66
functoid included in BTS2002.

But after the installation of the datefunctoidnet functoid
my app FunctionsCount return 66 functoid
and the GetFunctionDescripter return 4 functoid related to
FUNC_CATEGORY_DATETIME_FMT
as before the datefunctoidnet functoid installation.

One guest:
In the datefunctoidnet code, the FUNCID used is 1100.
Is some restriction using this ID?




Conny Blom?r

2004-02-27, 9:36 am

The example-functioid apperas after that "DateFunctoidNet.reg"-file
has been executed. This is what i did;
1.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\regasm
C:\Temp\DateFunctoidNet\BTSCannedFunctoi
dsLib.dll

2.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\gacutil /i
C:\Temp\DateFunctoidNet\BTSCannedFunctoi
dsLib.dll

3.
regsvr32 AssemblyPathFinderProxy.dll (modify the path)

4.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc /r:system.dll
/ r:C:\Temp\DateFunctoidNet\BTSCannedFunct
oidsLib.dll /d:DEBUG /debug
/define:DEBUG=1 /target:library
/ out:C:\Temp\DateFunctoidNet\DateFunctoid
Net.dll
/ win32res:C:\Temp\DateFunctoidNet\datefun
ctoidnet.res
C:\Temp\DateFunctoidNet\*.cs

5.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\gacutil /i
C:\Temp\DateFunctoidNet\datefunctoidnet.dll

6.
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\regasm
C:\Temp\DateFunctoidNet\datefunctoidnet.dll /verbose
/ tlb:C:\Temp\DateFunctoidNet\datefunctoid
net.tlb
pause:

7.
Run "DateFunctoidNet.reg"

Regards Conny Blomér


"Yves Tourchot" <qriargfby_erzfcnz@flzcngvpb.pn> wrote in message news:<cruUb.19878$9U5.1082498@news20.bellglobal.com>...
> We need to develop some custom functoid expecting to use .NET to do so.
>
>
>
> We have tried the DateFunctoidNet demo located in the BTS2002 Microsoft
> BizTalk Server\SDK\Messaging Samples\DateFunctoidNet folder.
>
>
>
> This demo was converted & compiled with VS2003 without problem.
>
> This demo was installed without problem following the step include in the
> project Readme.txt file.
>
>
>
> All is OK, no error on compilation or registration, but the new functoid
> never appears
>
> in the BTS Functoid Palette.
>
>
>
> Is anybody have already tried this demo?
>
> Is it supposed to work as it or some steps are missing?

Yves Tourchot

2004-03-03, 11:37 am


This is working for us to.



If we follow the exact pattern of this sample, the DateFunctoidNet functoid
become available in the

BizTalk Mapper.



But it's not what we want.



We want to be able to design ours own functoid using ours develo tools ie
VS2003 and framework 1.1.



In regard with this, all seems to be OK.

The project conversion, the compilation, the installation/registration are
done without error.



But at end, we where unable to access ours functoid from BizTalk Mapper,

and we have no indication why.






--
Yves Tourchot

(ROT13 & rem spam filter to reply)
qriargfby_erzfcnz@flzcngvpb.pn






"Conny Blom?r" <conny.blomer@wmdata.se> wrote in message
news:6f9dfc56.0402270625.15338c86@posting.google.com...
> The example-functioid apperas after that "DateFunctoidNet.reg"-file
> has been executed. This is what i did;
> 1.
> C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\regasm
> C:\Temp\DateFunctoidNet\BTSCannedFunctoi
dsLib.dll
>
> 2.
> C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\gacutil /i
> C:\Temp\DateFunctoidNet\BTSCannedFunctoi
dsLib.dll
>
> 3.
> regsvr32 AssemblyPathFinderProxy.dll (modify the path)
>
> 4.
> C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc /r:system.dll
> / r:C:\Temp\DateFunctoidNet\BTSCannedFunct
oidsLib.dll /d:DEBUG /debug
> /define:DEBUG=1 /target:library
> / out:C:\Temp\DateFunctoidNet\DateFunctoid
Net.dll
> / win32res:C:\Temp\DateFunctoidNet\datefun
ctoidnet.res
> C:\Temp\DateFunctoidNet\*.cs
>
> 5.
> C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\gacutil /i
> C:\Temp\DateFunctoidNet\datefunctoidnet.dll
>
> 6.
> C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\regasm
> C:\Temp\DateFunctoidNet\datefunctoidnet.dll /verbose
> / tlb:C:\Temp\DateFunctoidNet\datefunctoid
net.tlb
> pause:
>
> 7.
> Run "DateFunctoidNet.reg"
>
> Regards Conny Blomér
>
>
> "Yves Tourchot" <qriargfby_erzfcnz@flzcngvpb.pn> wrote in message

news:<cruUb.19878$9U5.1082498@news20.bellglobal.com>...[color=darkred]
the[color=darkred]


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com