The contract is defined by wsdl and schema, not by java. The way you should examine this, is:
1) look at the wsdl to see what schema type is used for the return 2) look at jaxrpc-mapping to see waht java type this maps to If that is the base type, then only the SOAP representation of the base type will be put on the wire and the client will get the base type regardless of whether you returned the sub type from your endpoint. If wsdl, schema and mapping use the sub type instead of the basetype, we have a bug need to create a jira issue for it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882097#3882097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882097 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
