automatic generation of WSDL , XSD files and JAX-WS annotat

General discussions about code engineering

Moderator: Moderators

automatic generation of WSDL , XSD files and JAX-WS annotat

Postby Robert.Suzic » Mon Oct 10, 2011 3:33 am

Hi,

Does Magic Draw supports:
- automatic generation of WSDL and XSD files
- as well as Java skeleton files (with JAX-WS annotations) from SoaML UML diagrams.
Robert.Suzic
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Tue Sep 13, 2011 8:19 am

Re: automatic generation of WSDL , XSD files and JAX-WS annotat

Postby TomasJkn » Tue Oct 11, 2011 5:35 am

Hello Robert,

Regarding Java skeletons with JAX-WS implementation:
Unfortunately there is nothing of that kind in the current MagicDraw.

Regarding automatic generation of WSDL and XSD files:
That depends on the meaning of the word "automatic"; see below.
MagicDraw has generation/reverse engineering to/from XSD and WSDL.
However, to be able to generate XSD/WSLD you need to have a specially-stereotyped UML model.
Simple, platform independent UML model will not help.

Now, to get such a model you need to:
- either create it from scratch - using XML Schema and/or WSDL diagrams
- or reverse engineer it from existing schema (so you can do reverse - edit - generate)
- or take existing UML model and apply UML-to-XSD transformation. Please note that this transformation is only a helper. It does a lot of stereotyping work (plus primitive type re-mapping), but not everything. Expect that some manual post-transformation editing/sanitizing would be necessary.

Whether this counts as "automatic" I am not sure - this depends on the workflow you intend to use.
In my book it does not (well, we could call it 50pct automatic :)).

Sincerely
--
Tomas juknevicius
Tomas Juknevicius
Senior Systems Analyst
No Magic Europe
TomasJkn
Customer Support
Customer Support
 
Posts: 63
Posts Rating:6
Joined: Mon May 10, 2010 9:24 am


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests