This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes Creating a WSDL using an XSD - how ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Creating a WSDL using an XSD - how ?" Watch "Creating a WSDL using an XSD - how ?" New topic
Author

Creating a WSDL using an XSD - how ?

Wolfgang Obi
Ranch Hand

Joined: Dec 05, 2005
Posts: 134
Hello,

I have a Schema file and i am trying to use it to create a wsdl file,...afterwards i would like to create a client to call up the webservice....

i know there are a number of tools available for this, but can someone tell me how exactly this is done?

what exactly are the steps for creating a web service based on an xsd schema file ?... i would like to understand the steps being gone through....

thanks

-W.O.
Taariq San
Ranch Hand

Joined: Nov 20, 2007
Posts: 189
In the WSDL you'll import the XSD, and you'll define a message based on an element in the XSD. Or you can define the element in the WSDL using types in the XSD, as long as you define the element.

That's the short story. When you scratch your head a lot over namespaces and crap like that you'll know the long story.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1126
Hi Wolfgang,

The following might help -

I'm trying to create a WSDL file using one or more XSD schema files.

Down the page he says -

I think I managed to partially answer my own question. WSDL does support the import command, but there appears to be a known problem with importing XML schemas that include other XML schemas,...


Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Wolfgang Obi
Ranch Hand

Joined: Dec 05, 2005
Posts: 134
hey Taariq and Dan,..

thanks for the help!

W.O.
 
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: Creating a WSDL using an XSD - how ?
 
Similar Threads
Struggling with use of my Webservice from PHP client.
create Webservices using xsd
create wsdl in eclipse editor
Axis2 JIBX Cannot unwrap element Error
create tables from xsd