I'm evaluating your soapui product and I trying to test a simple web service.  I'm evaluating with a very simple interface:

public Term[] getTopTerms(Category[] categories);

The Category and Term data structures are the following:

public class Category implements Serializable {
  private String categoryId;
  private String displayName;
  private String shortName;
  private String detailedKeywords;
  private String regularKeywords;
  private Category[] subCategories;

  public Category() {
  }
...
}

public class Term implements Serializable {
  private String value;
  private Integer precedence;

  public Term() {
  }
...
}


When I run my webservice  via my Java server and client, everything works fine.  When I try and run my web service with soapui, I get the following error message:

<soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>Unmarshalling Error : Current state not START_ELEMENT or END_ELEMENT</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

The schema I'm using to test the webservice with soapui is the following:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.hw.demo/ ">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getTopTerms>
         <!--Zero or more repetitions:-->
         <arg0>
            <categoryId>10001</categoryId>
            <detailedKeywords>seasonal,gifts,presents</detailedKeywords>
            <displayName>Seasonal Gifts</displayName>
            <regularKeywords>gifts,presents</regularKeywords>
            <shortName>SeasGifts</shortName>
            <subCategories/>
         </arg0>
      </ser:getTopTerms>
   </soapenv:Body>
</soapenv:Envelope>

Any ideas why I'm getting this exception?

Thanks,
Hycel