BizTalk Server Applications Integration - AIC woes...

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > February 2004 > AIC woes...





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 AIC woes...
Linda

2004-02-08, 8:41 am

I have created my own AIC and have a port
passing the message to it. However I receive
this error message when the document is passed
through BizTalk and arrives at the port.

[0x800a0005]Invalid procedure call or argument
[0x0159]The server encountered a transport error
while processing the messaging port "PortToAIC"
which uses a transport component with a ProgID
of "MyProject.MyClass"

1)MyProject uses...

Implements IBTSAppIntegration

Public Function IBTSAppIntegration_ProcessMessage(ByVal
bstrDocument As String)
As String

2)Everything seems fine in Component Services. It
is registered and has been started.

3)If I create small vbs file and pass a test
file to the dll all works well

Dim myobj
Dim testdoc

testdoc="test test test <?xml version=1>works</xml>"

Set myobj=CreateObject("MyProject.MyClass")
myobj. IBTSAppIntegration_ProcessMessage(testdo
c)

What could this possibly be? Does the error mean that
BizTalk cannot pass the message to the dll (permissions??)
Can it not find it (registry problem??), or is it finding
it but there is actually some problem in the code of the
dll??? Is there anyway of isolating the connectivity of
BizTalk to the dll to make sure that that part is working
ok?
Jan Eliasen

2004-02-08, 8:41 am

On Fri, 23 Jan 2004 02:20:34 -0800, "Linda"
<anonymous@discussions.microsoft.com> wrote:

Which programming language?

If this is in some .NET language, then as far as I can remenber it is
not enough to have a methid called the right thing, the method must
implement the correct method from the IBTSAppIntegration interface, ie
like this;

Public Function IBTSAppIntegration_ProcessMessage(ByVal bstrDocument
As String) As String implements IBTSAppIntegration.ProcessMessage.....
and so on

Try it?

>I have created my own AIC and have a port
>passing the message to it. However I receive
>this error message when the document is passed
>through BizTalk and arrives at the port.
>
>[0x800a0005]Invalid procedure call or argument
>[0x0159]The server encountered a transport error
>while processing the messaging port "PortToAIC"
>which uses a transport component with a ProgID
>of "MyProject.MyClass"
>
>1)MyProject uses...
>
>Implements IBTSAppIntegration
>
>Public Function IBTSAppIntegration_ProcessMessage(ByVal
>bstrDocument As String)
>As String
>
>2)Everything seems fine in Component Services. It
> is registered and has been started.
>
>3)If I create small vbs file and pass a test
> file to the dll all works well
>
> Dim myobj
> Dim testdoc
>
> testdoc="test test test <?xml version=1>works</xml>"
>
> Set myobj=CreateObject("MyProject.MyClass")
> myobj. IBTSAppIntegration_ProcessMessage(testdo
c)
>
> What could this possibly be? Does the error mean that
> BizTalk cannot pass the message to the dll (permissions??)
> Can it not find it (registry problem??), or is it finding
> it but there is actually some problem in the code of the
> dll??? Is there anyway of isolating the connectivity of
> BizTalk to the dll to make sure that that part is working
> ok?


--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server

2004-02-08, 8:42 am

I am using VB6 to create the dll. Surely the line
Implements IBTSAppIntegration in my code imports
the IBTSAppIntegration libraries and allows me to use the
namespace??



>-----Original Message-----
>On Fri, 23 Jan 2004 02:20:34 -0800, "Linda"
><anonymous@discussions.microsoft.com> wrote:
>
>Which programming language?
>
>If this is in some .NET language, then as far as I can

remenber it is
>not enough to have a methid called the right thing, the

method must
>implement the correct method from the IBTSAppIntegration

interface, ie
>like this;
>
>Public Function IBTSAppIntegration_ProcessMessage(ByVal[
/color]
bstrDocument[color=blue]
>As String) As String implements

IBTSAppIntegration.ProcessMessage.....
>and so on
>
>Try it?
>
(permissions??)[color=blue]
finding[color=blue]
working[color=blue]
>
>--
>Jan Eliasen, representing himself and not the company he

works for.
> MCP in Microsoft BizTalk Server
>.
>

Jan Eliasen

2004-02-08, 8:42 am

On Fri, 23 Jan 2004 08:42:49 -0800,
<anonymous@discussions.microsoft.com> wrote:

Well.. .probably :-) I haven't done any programming in VB6 of
importance... I'd suggest you take a look at the examples in the SDK
that is installed in c:\program files\microsoft biztalk server\sdk or
something like that.
[color=blue]
>I am using VB6 to create the dll. Surely the line
>Implements IBTSAppIntegration in my code imports
>the IBTSAppIntegration libraries and allows me to use the
>namespace??
>
>
>
>remenber it is
>method must
>interface, ie
>bstrDocument
>IBTSAppIntegration.ProcessMessage.....
>(permissions??)
>finding
>working
>works for.

--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com