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,

Fabrício.

Reply via email to