Thanks Dan,

I made the change but noticed the following:

When I make the single change from
  
  Service serviceModel = new ObjectServiceFactory().create(TaxonAPI.class);
To
  
  Service serviceModel = new
XmlBeansServiceFactory().create(TaxonAPI.class);

It stops making valid requests and issues an empty body:
<?xml version='1.0' encoding='UTF-8'?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soap:Body
/></soap:Envelope>

Whereas the ObjectServiceFactory issues:
<?xml version='1.0' encoding='UTF-8'?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soap:Body><GetRootTCo
ncepts xmlns="http://taxonapi.gbif.org"; /></soap:Body></soap:Envelope>

It's doc/lit/wrapped and this is for a method taking no args.  A method
taking args does receive the <in0
xmlns="http://taxonapi.gbif.org";><string>1</string></in0> but it's not in
the wrapped "method name" tag, so returns error.

Does this mean the XmlBeansServiceFactory doesn't like the wrapped?

Thanks

Tim

Reply via email to