It's not a secret anymore!
The moose likes Web Services and the fly likes wsdl design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl design" Watch "wsdl design" New topic

wsdl design

Ambika Jain
Ranch Hand

Joined: Jan 27, 2005
Posts: 48

I have defined 15 methods in my wsdl and its too long to maintain. So I created a separate .xsd file to add all the types in it and updated the wsdl as :

<xsd:schema xmlns:xsd="" targetNamespace="">
<xsd:import schemaLocation="sch.xsd"/>

But still the remaining message, operation and binding makes the file too huge to go thru easily. Is there a way I have put these stuff in different file and call it from .wsdl. OR any other pattern?


Ambika Jain
Ravi Kishore

Joined: Mar 22, 2005
Posts: 15
Hi Joshi,

one possible solution could be as follows:
1) define the schema in a seperate xsd file
2) import/ include this schema in to the wsdl that defines messages and porttypes
3) import/include the wsdl defined in step-2 in to another wsdl which defines binding and services
I agree. Here's the link:
subject: wsdl design
jQuery in Action, 3rd edition