ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with the bar file deployment - SOAPRequest node

Post new topic  Reply to topic Goto page Previous  1, 2
 Problem with the bar file deployment - SOAPRequest node « View previous topic :: View next topic » 
Author Message
mgk
PostPosted: Fri May 15, 2015 11:16 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Quote:
I believe the correct return code for one way would be 204


The correct code for one way is normally 202.

Kind regards.
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun May 17, 2015 5:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

@mgk do you mean to say the broker does not support a 204?
I do understand that from a performance point of view 202 is what you should be striving for...
However:
from http://www.w3.org/Protocols/rfc2616/rfc2616.txt
Quote:
Status-Code =
"100" ; Section 10.1.1: Continue
| "101" ; Section 10.1.2: Switching Protocols
| "200" ; Section 10.2.1: OK
| "201" ; Section 10.2.2: Created
| "202" ; Section 10.2.3: Accepted
| "203" ; Section 10.2.4: Non-Authoritative Information
| "204" ; Section 10.2.5: No Content
| "205" ; Section 10.2.6: Reset Content
| "206" ; Section 10.2.7: Partial Content


So that would be 202 if sending the response immediately (before processing) and 204 if sending the response after processing (success no reply)?
Quote:
10.2.3 202 Accepted

The request has been accepted for processing, but the processing has
not been completed
. The request might or might not eventually be
acted upon, as it might be disallowed when processing actually takes
place. There is no facility for re-sending a status code from an
asynchronous operation such as this.
.....
10.2.5 204 No Content

The server has fulfilled the request but does not need to return an
entity-body, and might want to return updated metainformation. The
response MAY include new or updated metainformation in the form of
entity-headers, which if present SHOULD be associated with the
requested variant.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Gama
PostPosted: Sun May 17, 2015 11:40 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hi.

fjb_saper wrote:
Tell them that their setup is not right. A one way operation should not return a return code of 200. Look it up in the http protocol. I believe the correct return code for one way would be 204 (success but no data returned)


Yes a one way shouldn't return a 200, would be a 202.

I tould that to our client but...........

Many thanks to all.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon May 18, 2015 4:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Gama wrote:
I tould that to our client but...........

Many thanks to all.


Point them to the spec and ask them what external clients are going to think...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem with the bar file deployment - SOAPRequest node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.