[Users] A WSDL file could not be imported

stagirus mamasa at stagirus.com
Fri Jan 25 16:16:41 CET 2013


Christopher:
Thank you for your passionate remarks. It is sounding very religious towards contract-first approach. Having been in the  technology field for 20+ years, there is no right or wrong religion. It all depends on your perspectives, in our case productivity and maintenance objectives.

The tools (CXF) we are using have some minor limitations. I am sure we can resolve it.

>From an (Petals) ESB perspective, your assumption that one should import cleanly packaged WSDLs is pretty accurate.

Thanks

On Jan 25, 2013, at 6:47 AM, "Christophe DENEUX [via Petals Forums]" <ml-node+s974793n4025454h56 at n3.nabble.com<mailto:ml-node+s974793n4025454h56 at n3.nabble.com>> wrote:

Hi stagirus,

I think that you use a bad approach to design your service contract. The approach "bottom/up" that generates service contract from the implementation can be use for proof of concept. I you have service implementations sharing the same model you MUST write this model instead of generating it because each service will not use all the model.
The right approach is to:
  1/ generate a first WSDL from a service implementation
  2/ update the build of the servive to generate its java classes from the previous WSDL
  3/ for other services:
        a/ write their WSDL (inspired of the WSDL of the first service)
        b/ generate Java classes from the WSDLs

So you should get several WSDL importing the same model.
Christophe DENEUX
Linagora
Twitter: @ChrisDENEUX


________________________________
If you reply to this email, your message will be added to the discussion below:
<http://forum.petalslink.com/A-WSDL-file-could-not-be-imported-tp4025421p4025454.html>http://forum.petalslink.com/A-WSDL-file-could-not-be-imported-tp4025421p4025454.html
To unsubscribe from A WSDL file could not be imported, click here<http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4025421&code=bWFtYXNhQHN0YWdpcnVzLmNvbXw0MDI1NDIxfC0yMTQyOTg5Mzkx>.
NAML<http://forum.petalslink.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://forum.petalslink.com/A-WSDL-file-could-not-be-imported-tp4025421p4025457.html
Sent from the Users (get help, provide help) mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20130125/41ec919a/attachment.html>


More information about the Users mailing list