http adapter: 200 success code vs. 202 success code
From: biztalker (biztalker_at_discussions.microsoft.com)
Date: 07/09/04
- Next message: Tatyana Yakushev [MSFT]: "RE: Biztalk output xml file"
- Previous message: Tatyana Yakushev [MSFT]: "RE: ESP_SRV using all memory when validation EDI instance"
- Next in thread: Cristian Salvan [MSFT]: "RE: http adapter: 200 success code vs. 202 success code"
- Reply: Cristian Salvan [MSFT]: "RE: http adapter: 200 success code vs. 202 success code"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 9 Jul 2004 10:53:01 -0700
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:
-----------------------------------------------------------------------------------------------
>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)
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> hey all
>
> from the help doc
(ms-help://BTS_2004/Operations/htm/ebiz_ops_adapt_file_wkmm.htm):
>
> "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 client
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 within
BizTalk 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 would
be gr8.
> secondly, under what situations does the http adapter send back code 202,
and when does it send back code 200?
>
> thanks
>
- Next message: Tatyana Yakushev [MSFT]: "RE: Biztalk output xml file"
- Previous message: Tatyana Yakushev [MSFT]: "RE: ESP_SRV using all memory when validation EDI instance"
- Next in thread: Cristian Salvan [MSFT]: "RE: http adapter: 200 success code vs. 202 success code"
- Reply: Cristian Salvan [MSFT]: "RE: http adapter: 200 success code vs. 202 success code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|