Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to specify the element in the xsd?

 
Sam Ruben
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an method in which I need to pass parameters value some like this in the publish methods.



Instead of passing it as three parameters, I am trying to pass it as object storing these three parameters in the object record.

eg:



so that in publish method , I can get this



I am trying to create an xsd for these parameters. Kindly guide me how to do it. for me/events I can create an element in the xsd as

and refer it in an object



Kindly guide me, how to specify the element type for FacebookType.class in xsd so that I can give it as input in the wsdl operation publish record?

how to specify the element type for the function call in the publish method Parameter.with("name", "Party"))? Is it possible to define it as element in the xsd or need to do some other tricks?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic