Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty Continuations for SOAP Services

Hi Sounak,

Firstly Jetty Continuations are deprecated.  They have been replaced by the standard servlet 3.1 Async API  (see startAsync() on the request object).   So you should use that API rather than continuations - they are functionally equivalent.

It is definitely possible to do async SOAP, but it very much depends on the SOAP framework as to how it will work - also it will depend on what is the async task you are waiting for.     Give us some more details and we may be able to say more.

cheers


On 14 July 2017 at 10:37, Sounak <sounak.maji18@xxxxxxxxx> wrote:
Hi,
I have been trying to use Continuations for a SOAP Service in Jetty server
8.x.But it always props up an error message in the process:
"<faultcode>soap:Server</faultcode>   <faultstring>Fault occurred while
processing.</faultstring>".

This is the code I have used for Continuations:
String key =
"org.apache.cxf.transport.http_jetty.continuations.JettyContinuationProvider";

JettyContinuationProvider contProvider =
(JettyContinuationProvider)context.get(key);

Continuation continuation = (Continuation) contProvider.getContinuation();

Can you please tell me the correct way to implement Continuations for SOAP
services?

Thanks,
Sounak



--
View this message in context: http://jetty.4.x6.nabble.com/Jetty-Continuations-for-SOAP-Services-tp4966805.html
Sent from the Jetty User mailing list archive at Nabble.com.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--

Back to the top