This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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?

 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!