• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAXWS client generating incorrect request

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've a wsimport generated class from a WSDL as follows:

I'm pasting the schema from the comments in the generated class.


Obviously as you can see from the above schema, the element name is Errors and it will contain sub elements of type of ArrayOfErrorDetail which is nothing but a List<ErrorDetail>. The ErrorDetail is POJO which has a errorCode, errorType and errorMessage.

SOAPUI generates the request as :




while the JAXWS client generates the request as:



I'm creating the ArrayOfErrorDetail object as follows in my code:



And the ArrayOfErrorDetail object is this way:



What am I doing wrong? Please help.
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic