aspose 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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: xsd:anyType Mapping to java type.
 
Similar Threads
RPC mapping file
difference between web services clients results in one error(AXIS) in one success(JAXWS)
Axis: return null problem
JAX-RPC vs JAX-WS some differences
SOAPFaultException on anyType