• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Vimal Kumarg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!