Issue Details (XML | Word | Printable)

Key: GLASSFISH-4063
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Bhakti Mehta
Reporter: sauvage
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

@Oneway web service operation has text/html response content-type

Created: 02/Feb/08 05:28 AM   Updated: 06/Jan/11 10:26 AM
Component/s: web_services
Affects Version/s: 9.1peur1
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All
URL: http://forum.java.sun.com/thread.jspa?threadID=5257748


Issuezilla Id: 4,063
Tags:
Participants: Bhakti Mehta, harpreet, jitu, sanandal and sauvage


 Description  « Hide

Hi,

It seems a web service operation annotated with @Oneway returns HTTP 202 with
empty content.
But the response content-type is text/html. That is a problem for some clients
(e.g. Perl SOAP::Lite).

And the HTTP response code should be 204.

Regards,

Laurent.



Bhakti Mehta added a comment - 07/Feb/08 10:15 AM

Looking into it


jitu added a comment - 07/Feb/08 03:56 PM

See Basic Profile 1.1's section's 4.7.9 section.

http://www.ws-i.org/Profiles/BasicProfile-1.1.html

So we cannot do much about response code, but probably not send content-type.


harpreet added a comment - 09/Apr/08 02:28 PM

Based on input from Bhakti, assigning issue to next release


sanandal added a comment - 11/Jan/09 07:01 AM

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."