GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes how to specify the element in the xsd? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to specify the element in the xsd?" Watch "how to specify the element in the xsd?" New topic
Author

how to specify the element in the xsd?

Sam Ruben
Greenhorn

Joined: Feb 07, 2012
Posts: 9
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to specify the element in the xsd?