axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <josef.stadelm...@axa-winterthur.ch>
Subject AW: @OneWay interpretation and HTTP binding
Date Tue, 07 Aug 2012 11:41:13 GMT
100% clear, thanks

 

Von: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com] 
Gesendet: Dienstag, 31. Juli 2012 14:21
An: java-user@axis.apache.org
Betreff: RE: @OneWay interpretation and HTTP binding

 

Hello Josef,

 

I already know that. My goal is not to test the behavior of Web Service
stack.

For example, I have tested the following behavior stacks against
@OneWay: 

-          Metro/Glassfish

-          CXF 

-          Weblogic

 

Sorry I haven't enough time to test Axis 2 right now but I promise I
will do so ;-)

And I have seen some differences L 

 

So, my goal is to see whether or not, a Web Service stack is compliant
to the spec or not. This is why I want to know if it is mandatory or not
(this is the question), for a Web Service stack, per spec,  that "a
oneway method returns the thread of control to the calling application
prior to executing the actual business method"

 

Is it clear enough this time ?

 

Best Regards.

 

From: Stadelmann Josef [mailto:josef.stadelmann@axa-winterthur.ch] 
Sent: mardi 31 juillet 2012 13:38
To: java-user@axis.apache.org
Subject: AW: @OneWay interpretation and HTTP binding

 

Guess you can find that easy. 

Write a sleep(8*3600*1000) statement into your one way service method.

If you get back the thread-of-control at the client after 8 hours only

then you know the thread does not return up on delivery of the request 

but after the method has executed, but this time just without any result


because it is a one way service.

Josef

 

Von: COURTAULT Francois [mailto:Francois.COURTAULT@gemalto.com] 
Gesendet: Montag, 30. Juli 2012 17:56
An: java-user@axis.apache.org
Betreff: @OneWay interpretation and HTTP binding

 

Hello guys,

 

I have read the JSR 181 spec and the @OneWay is not clear for me.

Just want to have your interpretation....

 

In the spec, it is said that: "Indicates that the given web method has
only an input message and no output. Typically,

a oneway method returns the thread of control to the calling application
prior to executing

the actual business method"

 

What typically means ? Does it mean MUST-SHALL, SHOULD or MAY according
to you ?

 

Still about the OneWay what is the HTTP binding for this annotation ? I
have seen that some implementation returns a 202. 

Is it a standard HTTP status code  value for OneWay ?

 

Best Regards.


Mime
View raw message