Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need xsd for java.util.Vector

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,


I have 2 questions :


1. Can anyone give me a xsd file for the java class that is an input to a POJO that need to be exposed as web service that need to be exposed as Document/Literal style web service using Apache AXIS. Basically I want to generate an xsd schema for this java class and include that in a WSDL that need to be given to .NET so that they can consume my service.




2. Do we have tools that generate xsd schemas for such java classes. Did anyone use one ?


I know that for achieving Web Service interropability it is better to avoid language specific collections but still I am interested if anyone can answer to my 1st question.


Thanks & Regards,
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Vector is not really *supported* with web services, bacause it is related to some specific language options.

So in XML, it will probably become a xsd:anyType or a complexe type with a sequence of anyTypes.

For your needs, I believe the only fully interoperable type is java.lang.Array
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic