File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes DSML Exposed using WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "DSML Exposed using WSDL" Watch "DSML Exposed using WSDL" New topic
Author

DSML Exposed using WSDL

Jogi Poonawala
Ranch Hand

Joined: May 19, 2003
Posts: 33
Hi All

I am facing a typical problem. I want to expose my directory information to my clients using soap web services. And I have to use DSML which is industry standard for accessing directory information using XML.
http://www.oasis-open.org/committees/dsml/docs/DSMLv2.doc

My problem is I need to convert this DSML schema into a WSDL which clients can use to access the directory service.

I tried with Capescience schema to wsdl converter but it generates 2000+ lines of wsdl for RPC style webservice which when fed to wsdl2java converter generates thousands of classes which is little difficult to manage.

Can you suggest me a better way of doing this. I am thinking of going for Document style webservice which will accept a DSML document as argument, process it and give back a DSML document to clients. Will it be the right approach ?

Any inputs /comments on this will be greatly appreciated. If anybody having previous experince with DSML can share the experience with me that will be great.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Jogi Poonawala:
I am thinking of going for Document style webservice which will accept a DSML document as argument, process it and give back a DSML document to clients. Will it be the right approach ?

I would probably go that way myself. Whether it's the right approach or not, depends on whether the document-style web services interface is OK for your customer.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DSML Exposed using WSDL