axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrício <>
Subject Getting a complex type from web services
Date Sat, 27 Aug 2005 19:33:33 GMT
Hello all,

I created a web service that uses a bean. My intention is that the web
service returns an instance of this bean. When I saw the WSDL I noticed that
a complex type was created to represents the bean that I want to return. All
ok until here.

After that I created a client to call the web service. But I'm always
receiving the error:

javax.xml.soap.SOAPException: org.xml.sax.SAXParseException: Premature end
of file.

The same client calling web services that return simple types works fine.

Any ideas?

Thanks in advance,


View raw message