-
1. Re: Upgrading to 4.2.2 changed published WSDL
asoldano Mar 21, 2008 12:54 PM (in response to gtwebdev)Which versions of jbossws are involved? the default ones coming with the AS? Could you provide further details about the exception you're getting?
-
2. Re: Upgrading to 4.2.2 changed published WSDL
gtwebdev Apr 14, 2008 9:38 AM (in response to gtwebdev)We are using the default jbossws version that comes with AS 4.2.2. The exceptions differ depending on the client consuming the services and the method being called. Most of the exceptions are related to NullPointerExceptions due to the differences in the published WSDLs. Some Web methods may not produce errors, but don't produce results due to the schema changes as well.
Most of the WSDL changes have to do with differences in Namespaces produced by JBOSS. I've tried included package-info that explicitly defines the XmlSchema to closely match the published WSDL, but so far it seems that the only thing I can do for the client apps that consume the services is to re-create the proxies so they have the new definitions. -
3. Re: Upgrading to 4.2.2 changed published WSDL
oskar.carlstedt Apr 15, 2008 2:13 AM (in response to gtwebdev)Hello!
Sorry to say, but this may be a hard working lesson to never go for the "code first" approach when creating web services which contracts shall be persistent over time and over different application servers. So a tip for future development, write your wsdl and included schemas by hand and then generate code from that (that's what we call "contract first").
Ok, now the good thing. You can always save your old published wsdl file and generate code from that. It will work for you.
Kind regards
/Oskar