This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes xsd:anyType Mapping to java type. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "xsd:anyType Mapping to java type." Watch "xsd:anyType Mapping to java type." New topic
Author

xsd:anyType Mapping to java type.

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi ,

if we mention xsd:any in wsdl, it must create SOAPElement in java interface.

But, when i tried creating the classes using wsimport tool in java6, it creates Object type for any and anyType field.

http://www.ibm.com/developerworks/xml/library/ws-tip-xsdcaution/index.html

Is there any difference in mapping between JAX-RPC1.1 and JAX-WS2.0

Thanks In Advance,
Bennet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsd:anyType Mapping to java type.
 
It's not a secret anymore!