Solicit-response adapter error
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 Framework > Solicit-response adapter error




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

    Solicit-response adapter error  
Jussi Palo


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


 
05-12-04 01:21 AM

Hi,
I'm creating a solicit-response adapter but after calling the SubmitResponse
Message-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.BT
S_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 hav
e a correlation token."

How can I tell if I have passed the correct message as the SolicitMsg and th
at I have configured BTS correctly? My send port is two-way, that I'm sure o
f.

Thanks!






[ Post a follow-up to this message ]



    RE: Solicit-response adapter error  
Jussi Palo


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


 
05-12-04 01:21 AM

I have receive port polling Oracle DB and upon receiving recordsets, I trans
form 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.





[ Post a follow-up to this message ]



    RE: Solicit-response adapter error  
Jussi Palo


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


 
05-12-04 05: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 directl
y using ports with filters.

Error:
"Uncaught exception terminated service OracleDB_Harness.OracleDB_Orchestrati
on(83e679a9-a0d2-fb8d-b469-5c7d79b04c97), instance 43dbeb35-fd39-408e-8977-9
db82e86c694

Received unexpected message type '' does not match expected type 'http://Ora
cleDB_Harness.SQLResponse#Items'.

Exception type: UnexpectedMessageTypeException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Mic
rosoft.XLANGs.Core.Context)
Help Link:
Additional error information:"

Any ideas on this, please?





[ Post a follow-up to this message ]



    Re: Solicit-response adapter error  
Jussi Palo


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


 
05-12-04 05: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!
>







[ Post a follow-up to this message ]



    Re: Solicit-response adapter error  
Adam Tompkins


Report This Message To A Moderator Edit/Delete Message


 
05-21-04 01:37 AM

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?







[ Post a follow-up to this message ]



    RE: Solicit-response adapter error  
Kartik Paramasivam


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


 
06-26-04 03:52 PM


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






[ Post a follow-up to this message ]



    Re: Solicit-response adapter error  
craigj@cyberconnex.com


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


 
12-28-04 10: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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:19 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