Hello All,

I am trying implement JDM (JSR-73) Webservices using AXIS 1.3 and have
some questions. When i deploy the war containing the webservice and try
to view the wsdl using the ?wsdl feature of AXIS, i get an error saying
"Bean attribute is of type java.lang.String, which is not a simple
type", even though the service is successfully deployed.

Also, the schema contains a complex inheritance hierarchy of types
which is correctly converted to appropriate java types by using WSDL2Java.
Now if a webservice expects a type A as a request parameter and I pass
in a type B which is a subtype of type A, the default serializer
org.apache.axis.encoding.ser.BeanSerializerFactory serializes it to type A
which is not the intented. How can i work around this?

Any help will be appreciated.

-Max.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to