• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

SOAP , Axis and non nillable elements

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i have to create classes from

an old rpc/encoded webservice.

Unfortunately ApacheCFX and Axis2 do not support those old type anymore, so from what I have seen I am forced to use Axis 1.x to generate java classes.

This works fine for the first moment, but later on when using those classes in my client requests I get errors like


Caused by: java.io.IOException: java.io.IOException: Non nillable element 'byProductSeries' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'byNumberOrName' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'category' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'extraKeys' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'applRangeID' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'category' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'setUnits' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'prodCls' is null.
Caused by: java.io.IOException: java.io.IOException: Non nillable element 'searchFor' is null.



Other code generation tools (e.g. for Delphi-Code) seem to have switches with which one can set defaults , if elements can be null or not, but Axis seems to have not.

Does anyone have an idea what I can do now?

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!