|
Home > Archive > BizTalk Server Framework > December 2004 > Solicit-response adapter error
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 |
Solicit-response adapter error
|
|
| Jussi Palo 2004-05-11, 8:21 pm |
| Hi,
I'm creating a solicit-response adapter but after calling the SubmitResponseMessage-method I get the following error: "The message does not have a valid correlation token."
In documentation it says, "You may encounter this error (BTTransportProxy.BTS_E_EPM_NULL_CORRELATION_TOKEN Field) if you passed the wrong message as the SolicitMsg, or if the message came in on a one-way port but you configured Biztalk Server, using BizTa
lk Explorer, to send it to a two-way port. Hence the SolicitMsg does not have a correlation token."
How can I tell if I have passed the correct message as the SolicitMsg and that I have configured BTS correctly? My send port is two-way, that I'm sure of.
Thanks!
| |
| Jussi Palo 2004-05-11, 8:21 pm |
| I have receive port polling Oracle DB and upon receiving recordsets, I transform recordset into XML and "pass" it directly to send port (which actually filters every message from my receive port).
Could this error occur because I haven't set any destination to the response message I get from the solicit-response procedure?
Thanks for your answers.
| |
| Jussi Palo 2004-05-12, 12:08 pm |
| If I create an orchestration using this port, the orchestration gives me an error (below) indicating (I think) the same error I'm receiving when directly using ports with filters.
Error:
"Uncaught exception terminated service OracleDB_Harness.OracleDB_Orchestration(83e679a9-a0d2-fb8d-b469-5c7d79b04c97), instance 43dbeb35-fd39-408e-8977-9db82e86c694
Received unexpected message type '' does not match expected type 'http://OracleDB_Harness.SQLResponse#Items'.
Exception type: UnexpectedMessageTypeException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Microsoft.XLANGs.Core.Context)
Help Link:
Additional error information:"
Any ideas on this, please?
| |
| Jussi Palo 2004-05-12, 12:08 pm |
| Specific error messages in event log are:
Unhandled exception caught, exception details:
TietoEnator.DigitalInnovations.BizTalk.Adapters.OracleDB.OracleDBException:
The OracleDB Adapter encounted an error transmitting a batch of
messages. ---> System.Runtime.InteropServices.COMException (0xC0C01662):
Exception from HRESULT: 0xC0C01662.
at
Microsoft.BizTalk.TransportProxy.Interop.IBTTransportBatch.SubmitResponseMes
sage(IBaseMessage solicitMsgSent, IBaseMessage responseMsgToSubmit)
at
Microsoft.Samples.BizTalk.Adapters.BaseAdapter.Batch.SubmitResponseMessage(I
BaseMessage solicitDocSent, IBaseMessage responseDocToSubmit, Object
userData) in D:\Program Files\Microsoft BizTalk Server
2004\SDK\Samples\Adapters\Common\BaseAda
pter\v1.0.1\batch.cs:line 494
at
Microsoft.Samples.BizTalk.Adapters.BaseAdapter.StandardTransmitBatchHandler.
SubmitResponseMessage(IBaseMessage solicitMsgSent, IBaseMessage
responseMsgToSubmit, Object userData) in D:\Program Files\Microsoft BizTalk
Server
2004\SDK\Samples\Adapters\Common\BaseAda
pter\v1.0.1\StandardTransmitBatchHan
dler.cs:line 137
at
TietoEnator.DigitalInnovations.BizTalk.Adapters.OracleDB.OracleDBWorkItem.Pr
ocessWorkItem() in d:\visual studio projects\file
adapter\runtime\oracledb\oracledbworkite
m.cs:line 87
--- End of inner exception stack trace ---
at
TietoEnator.DigitalInnovations.BizTalk.Adapters.OracleDB.OracleDBWorkItem.Pr
ocessWorkItem() in d:\visual studio projects\file
adapter\runtime\oracledb\oracledbworkite
m.cs:line 134
at
Microsoft.Samples.BizTalk.Adapters.BaseAdapter.ThreadPool.WorkerThreadThunk(
Object state) in D:\Program Files\Microsoft BizTalk Server
2004\SDK\Samples\Adapters\Common\BaseAda
pter\v1.0.1\ThreadPool.cs:line 62.
and
The adapter "OracleDB" raised an error message. Details "The message does
not have a valid correlation token. ".
"Jussi Palo" <anonymous@discussions.microsoft.com> wrote in message
news:2CFAA99B-6A31-4C95-BF9D-371BF96D16D7@microsoft.com...
> Hi,
> I'm creating a solicit-response adapter but after calling the
SubmitResponseMessage-method I get the following error: "The message does
not have a valid correlation token."
>
> In documentation it says, "You may encounter this error
(BTTransportProxy.BTS_E_EPM_NULL_CORRELATION_TOKEN Field) if you passed the
wrong message as the SolicitMsg, or if the message came in on a one-way port
but you configured Biztalk Server, using BizTalk Explorer, to send it to a
two-way port. Hence the SolicitMsg does not have a correlation token."
>
> How can I tell if I have passed the correct message as the SolicitMsg and
that I have configured BTS correctly? My send port is two-way, that I'm sure
of.
>
> Thanks!
>
| |
| Adam Tompkins 2004-05-20, 8:37 pm |
| Assuming that you're building the message in the adapter, this looks like a
problem matching the namespace information in the message to the defined
schema. Generate an instance of your schema and compare it to the message
that's coming out of your adapter, ensure that the root namespace is
identical.
You should be able to get the message from the adapter using a passthrough
pipeline and dumping it to disk. If you use passthrough BTS won't try to
validate against a schema.
- Adam
"Jussi Palo" <anonymous@discussions.microsoft.com> wrote in message
news:EA0F5BE1-E072-428C-BDC5-64FF7A2ABDCD@microsoft.com...
> If I create an orchestration using this port, the orchestration gives me
an error (below) indicating (I think) the same error I'm receiving when
directly using ports with filters.
>
> Error:
> "Uncaught exception terminated service
OracleDB_Harness.OracleDB_Orchestration(83e679a9-a0d2-fb8d-b469-5c7d79b04c97
), instance 43dbeb35-fd39-408e-8977-9db82e86c694
>
> Received unexpected message type '' does not match expected type
'http://OracleDB_Harness.SQLResponse#Items'.
>
> Exception type: UnexpectedMessageTypeException
> Source: Microsoft.XLANGs.BizTalk.Engine
> Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32,
Microsoft.XLANGs.Core.Context)
> Help Link:
> Additional error information:"
>
> Any ideas on this, please?
| |
| Kartik Paramasivam 2004-06-26, 10:52 am |
|
This issue typically happens when you are doing a 1 way send through a 2
way (solicit response send port).
Looks like you are sending a message from a orchestration schedule to your
2 way (solicit response) send port.
However looks like the port in your schedule is marked to be 1 way.
Basically when your send adapter submits a response, there is nothing to
co-relate the response with. Because the original sender of the message
(orchestration schedule or pure messaging using filters) has not asked for
a response.
there is a hotfix available if you want to enable this scenario.
http://support.microsoft.com/defaul...7&Product=bizt2
002
| |
| craigj@cyberconnex.com 2004-12-28, 5:49 pm |
| Kartik - I am having this same problem. I wanted to goto the link you
provided, but I don't believe it is all there. Can you repost it?
Thanks,
Craig
Kartik Paramasivam wrote:
> This issue typically happens when you are doing a 1 way send through
a 2
> way (solicit response send port).
>
> Looks like you are sending a message from a orchestration schedule
to your
> 2 way (solicit response) send port.
> However looks like the port in your schedule is marked to be 1 way.
>
> Basically when your send adapter submits a response, there is
nothing to
> co-relate the response with. Because the original sender of the
message
> (orchestration schedule or pure messaging using filters) has not
asked for
> a response.
>
> there is a hotfix available if you want to enable this scenario.
>
http://support.microsoft.com/defaul...7&Product=bizt2
> 002
|
|
|
|
|