biztalker
2004-07-09 20:01:03 UTC
question wrt to the response from Allen (posted below):
1) if i use a request-response http receive adapter, then response sends back a 200 success code, and on the other hand, for a one-way http receive adapter, the adapter sends back a 202 success code. is this correct?
2) using the request-response http receive adapter, is it possible to send other content in the response in addition to the 200 success code?
Original question and response from Allen follow:
-----------------------------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
indicating that the request was accepted.
BizTalk Server. If the HTTP receive location is in a request-response port,
the adapter returns success code 200 along with the response message. "
be gr8.
1) if i use a request-response http receive adapter, then response sends back a 200 success code, and on the other hand, for a one-way http receive adapter, the adapter sends back a 202 success code. is this correct?
2) using the request-response http receive adapter, is it possible to send other content in the response in addition to the 200 success code?
Original question and response from Allen follow:
-----------------------------------------------------------------------------------------------
Correlation token is XML string in form of
<BizTalkHttpReceive><CorrelationToken>xxx-GUID-xxx</Correlation
Token></BizTalkHttpReceive>. The GUID can link your future request to the
original message.
Sample usage: If you scenario is a long-running process that immediate
response is not possible, Then you can set it up to return a correlation
token GUID. In you scenario that the user with this GUID, they can query
the result or progress at a later time.
202 is One-way either with no body or XML string containing correlation
token
200 is Request-Response where a response message is being returned.
- Allen Zhang (MSFT)<BizTalkHttpReceive><CorrelationToken>xxx-GUID-xxx</Correlation
Token></BizTalkHttpReceive>. The GUID can link your future request to the
original message.
Sample usage: If you scenario is a long-running process that immediate
response is not possible, Then you can set it up to return a correlation
token GUID. In you scenario that the user with this GUID, they can query
the result or progress at a later time.
202 is One-way either with no body or XML string containing correlation
token
200 is Request-Response where a response message is being returned.
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
hey all
from the help doc
"4. After the message has been read and successfully submitted to the
server, the HTTP receive adapter sends an HTTP code 202 back to the clientfrom the help doc
"4. After the message has been read and successfully submitted to the
indicating that the request was accepted.
Optionally, the HTTP receive adapter can send a message correlation token
on the HTTP response. This correlation token represents the message withinBizTalk Server. If the HTTP receive location is in a request-response port,
the adapter returns success code 200 along with the response message. "
my question: i get confused by the term 'correlation token'...dunno what
it means/represents, so if anyone could shed some light on this, that wouldbe gr8.
secondly, under what situations does the http adapter send back code 202,
and when does it send back code 200?thanks