No hints?

- Jens

Jens M. schrieb:
Hello all,

I have a java-service e.g.

public class MyWebService {
    public String searchUser(String firstName, String lastName) {
        ...
    }
}

How can I define, which parameters are mandatory and which are optional?
It seems, that all parameters are mandatory by default.
I deploy this service in a servlet with

...
MyWebService myService = new MyWebService();
Service s = factory.create(myService, myService.getSimpleName(),
"mynamespace", null);
xfire.getServiceRegistry().register(s);
...

Thanks for help
Jens


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to