Skip to Content
0
Former Member
Nov 20, 2003 at 03:28 PM

URGENT: Problem returning Comlex Types from Web Services

34 Views

Hi,

I have a web service generated out of an Ejb using the WebService wizard in the Netweaver Developer Studio. This WebService returns a complex type: ABC which is well defined as a seriazable class in the EJB Project itself.

Now this complex type ABC consists of the following

1. String str

2. int x

3. DEF def (note that DEF is again a complex type and is Serializable)

4. XYZ[] xyzlist (nore that XYZ is again a complex type and is Serializable)

After the Web Service is published using a Successful Deployment of the ear file

we try to test it using the web based test interface

http://localhost:50000/ABCService/Config

We then give in the input parameters to the Web Service for the SOAP Request.

When we get the SOAP Response, we do see the str and x i.e. 1 and 2 above.

But the complex types DEF and XYZ[] are not even mentioned and looks like the webservice completely ignores them.

pls advise if anyone has faced this problem. This is a very basic issue and would hinder a lot of Web Services development.

.V