[jboss-user] [JBossWS] - Re: JBoss WS Not returning response

siddharth_god do-not-reply at jboss.com
Wed May 28 01:28:57 EDT 2008


i am running with jdl 1.5.12. New information about this issue:

When i declare a simple method like this:


  | 
  | public String echo(String name) {
  |     return "Hello " + name;
  | }
  | 

I get proper response. Only when my methods have complex beans like this:

  | public String echo(UserData date) {
  |     return "Hello " + data.getName();
  | }
  | 
  | @XmlAccessorType(XmlAccessType.FIELD)
  | UserData {
  | 
  |   @XmlElement(name = "name", required = true)
  |   String name;
  | 
  |   public String getName() {
  |       return name;
  |   }
  | 
  |    public setName(String name) {
  |        this.name = name;
  |    }
  | 
  | }
  | 

I am getting that exception in all these complex beans cases. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153832#4153832

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153832



More information about the jboss-user mailing list