my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: xsd:anyType Mapping to java type.
 
Similar Threads
SOAPFaultException on anyType
JAX-RPC vs JAX-WS some differences
difference between web services clients results in one error(AXIS) in one success(JAXWS)
Axis: return null problem
RPC mapping file