• 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

Apache Axis1.1 with java 1.5 to handle complex data type

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I want to create a webservice client with apache 1.1 and java 1.5 (only this version, wsdl2java is not working since enum is a keyword in java 1.5) that handles the complex return type (User defined objects). I tried using serilization and deserilization but getting an exception

[Fatal Error] :-1:-1: Premature end of file.
[SOAPException: faultCode=SOAP-ENV:Client; msg=Parsing error, response was:
Premature end of file.; targetException=org.xml.sax.SAXParseException: Premature end of file.]
at org.apache.soap.rpc.Call.invoke(Call.java:298)

Could anyone please help me in this. This is an urgent requirement and cannot upgrade the axis version since it is in production.


Thanks in advance
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic