Originally posted by maha laxmi:
you mean while generating client stubs(WSDL2Java) only we can use our own xsd not while creating WSDL (Java2WSDL)
Correct. You can include your own XML Schema definitions in a WSDL that you have written yourself by using the mechanisms described in the article that I provided a link to in the earlier post.
Web services Programming Tips and Tricks: WSDL file imports
http://www-128.ibm.com/developerworks/xml/library/ws-tip-imports.html Then you can use WSDL2Java to generate the client
and server stubs.
Originally posted by Rahul Bhattacharjee:
If he is asking about creating a xsd for WSDL..then how is this going to help..there is no need for that..is there is any need for creating a new xsd each time you make a new service.
It is my understanding that maha laxmi wants to use some pre-defined XML data type definitions from an existing XML Schema file for the web service operation parameters,
not redefine the schema for WSDL.