File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
Similar Threads
Axis: return null problem
RPC mapping file
difference between web services clients results in one error(AXIS) in one success(JAXWS)
JAX-RPC vs JAX-WS some differences
SOAPFaultException on anyType