|
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]
|
|
|
| Hi Linda!
Doesn't the function has to be a private one.
Private Function IBTSAppIntegration_ProcessMessage(ByVal
bstrDocument As String) As String
>-----Original Message-----
>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-10, 6:35 pm |
| On Tue, 10 Feb 2004 06:54:53 -0800, "andy"
<anonymous@discussions.microsoft.com> wrote:
>Doesn't the function has to be a private one.
>Private Function IBTSAppIntegration_ProcessMessage(ByVal
>bstrDocument As String) As String
That would prevent anyone from running the function - that is not what
is wanted in this situation.
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
| |
|
| It wont prevent biztalk server from calling the function
if you implement the interface as it is supposed to be.
>-----Original Message-----
>On Tue, 10 Feb 2004 06:54:53 -0800, "andy"
><anonymous@discussions.microsoft.com> wrote:
>
>That would prevent anyone from running the function -
that is not what
>is wanted in this situation.
>
>--
>Jan Eliasen, representing himself and not the company he
works for.
> MCP in Microsoft BizTalk Server
>.
>
| |
| Nick Malik 2004-02-11, 3:38 pm |
| no offense intended Andy, but I respectfully disagree. Jan is right.
Biztalk is a COM server. If you inherit from an object interface, your code
is constrained to meet the interface. However, if you declare your
interface as private, then Biztalk will not be able to call it, no matter
what interface you inherit from.
--- Nick
"andy" <anonymous@discussions.microsoft.com> wrote in message
news:e95401c3f08b$1b766450$a501280a@phx.gbl...[color=blue]
> It wont prevent biztalk server from calling the function
> if you implement the interface as it is supposed to be.
> that is not what
> works for.
| |
| Nick Malik 2004-02-11, 3:38 pm |
| Hi Linda,
The key error message is "Invalid Procedure Call or Argument". Ignore the
bit about the transport error. That's just a Biztalk "generic" error
message.
This error message may be coming from INSIDE your routine. I'd suggest
adding logging routines to your AIC and looking for where it breaks, or
better yet, running Biztalk in the debugger (there's notes in the .NET
Toolkit documentation on how to do this... it's not difficult, but you have
to have visual studio and biztalk server installed on the same machine).
Hope this helps,
--- Nick
"andy" <anonymous@discussions.microsoft.com> wrote in message
news:e08601c3efe5$d77145e0$a601280a@phx.gbl...[color=blue]
> Hi Linda!
> Doesn't the function has to be a private one.
> Private Function IBTSAppIntegration_ProcessMessage(ByVal
> bstrDocument As String) As String
> (permissions??)
| |
| Jan Eliasen 2004-02-18, 1:35 am |
| On Thu, 12 Feb 2004 04:34:24 GMT, "Nick Malik"
<nickmalik@hotmail.nospam.com> wrote:
>no offense intended Andy, but I respectfully disagree. Jan is right.
Well, thank you! :-) I thought I was loosing my mind there.
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
|
|
|
|
|