What is a Web Service One Way invocation?

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

JBoss recipe of the day

@Oneway 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.

 @WebMethod
 @Oneway
 public void ping()
 {
 log.info("ping");
 feedback = "ok";
 }

This Web service expose the method ping as web service and returns the thread of execution before executing the method.

Related articles available on mastertheboss.com

JBoss web services

JAX-WS simplifies the development model for a web service endpoin

Asynchronous web services with JBoss WS

Developing rigorous and responsive web service client application

How to change the default Web Service deployment Port ?

JBoss recipe of the day

Using Axis Web Services with JBoss

Still not ready for JBoss WS ? if you don't have a JDK 1.5 compli

Invoking JBoss Web Services with Flex

Flex® is a free, open source framework for building highly in

How do I know the WSDL URL of my Web Service ?

Ok supposing you have just deployed your Web Service application

Follow us on Twitter