Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DSML Exposed using WSDL

 
Jogi Poonawala
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic