axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "takanori (JIRA)" <>
Subject [jira] Created: (AXIS2-3364) RESTFul serivce problem when parameters are short
Date Sat, 24 Nov 2007 07:53:44 GMT
RESTFul serivce problem when parameters are short

                 Key: AXIS2-3364
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.3
            Reporter: takanori

If I develop a RESTFul web service, there is a case that service paramters are not correctly

The service class is :
public class RESTfulEcho {

   public EchoDto echo(Integer id, String message) {
       EchoDto dto = new EchoDto();
       return dto;

I've tried to call the service like this :

The parameter "id" is not explicitly set.

Then the service parameters are :

 id      ---> 123
 message ---> null

When the parameters are explicitly set,
the service works correctly.

But, I hope that when the parameters is not explicitly set,
the parameter is set null or throw a exception.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message