tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piercarlo Alberto Beghetto - Diennea <piercarlo.beghe...@diennea.com>
Subject R: Tomee java 8 WSDL client Unmarshalling Error
Date Tue, 15 Nov 2016 17:00:40 GMT
It is the same.
There are several new methods, but the issue is related to new fields in old classes.

Piercarlo Alberto Beghetto
Analyst Developer @ Diennea - MagNews
Tel.: (+39) 0546 066100 - Int. 967
Viale G.Marconi 30/14 - 48018 Faenza (RA)

-----Messaggio originale-----
Da: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
Inviato: martedì 15 novembre 2016 17:50
A: users@tomee.apache.org
Oggetto: Re: Tomee java 8 WSDL client Unmarshalling Error

Are you sure it is the same webservices? Differences are way more important than just wrappers


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog <https://blog-rmannibucau.rhcloud.com>
| Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau>
| LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com>

2016-11-15 17:44 GMT+01:00 Piercarlo Alberto Beghetto - Diennea <
piercarlo.beghetto@diennea.com>:

> Here are the WSDL:
>
> old version:
> https://gaia.andinazionale.it/webservices/GaiaCloudWS?wsdl
> new version: https://gaiacloud-test.mag-news.it/webservices/
> GaiaCloudWS?wsdl
>
> I'm working on the project to share.
>
> Thanks
>
> Piercarlo Alberto Beghetto
> Analyst Developer @ Diennea - MagNews
> Tel.: (+39) 0546 066100 - Int. 967
> Viale G.Marconi 30/14 - 48018 Faenza (RA)
>
> -----Messaggio originale-----
> Da: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> Inviato: martedì 15 novembre 2016 17:24
> A: users@tomee.apache.org
> Oggetto: Re: Tomee java 8 WSDL client Unmarshalling Error
>
> 2016-11-15 17:21 GMT+01:00 Piercarlo Alberto Beghetto - Diennea <
> piercarlo.beghetto@diennea.com>:
>
> > Webservice deployed on TomEE 7.0.2, client application deployed on
> > TomEE 7.0.2, same error.
> >
> >
> The point was not about deployment but generating a client with TomEE
> 7.0.2 wsdl.
>
> Also I would probably recommand you to share a project on github
> reproducing it to let us investigate cause with the exception you
> shared and the wsdl you (didnt) share we can't guess much.
>
>
> > Piercarlo Alberto Beghetto
> > Analyst Developer @ Diennea - MagNews
> > Tel.: (+39) 0546 066100 - Int. 967
> > Viale G.Marconi 30/14 - 48018 Faenza (RA)
> >
> > -----Messaggio originale-----
> > Da: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> > Inviato: martedì 15 novembre 2016 16:57
> > A: users@tomee.apache.org
> > Oggetto: Re: Tomee java 8 WSDL client Unmarshalling Error
> >
> > <wsdlLocation>*********/wsapi?wsdl</wsdlLocation>
> >
> > what happens if you use the deployed wsdl of tomee 7?
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog <
> > https://blog-rmannibucau.rhcloud.com> | Old Blog <
> > http://rmannibucau.wordpress.com> | Github
> > <https://github.com/rmannibucau>
> > | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE
> > | Factory <
> > https://javaeefactory-rmannibucau.rhcloud.com>
> >
> > 2016-11-15 16:55 GMT+01:00 Piercarlo Alberto Beghetto - Diennea <
> > piercarlo.beghetto@diennea.com>:
> >
> > > I generate the client via WSDL.
> > > It is a JAX-WS webservice
> > >
> > > The maven plugin is:
> > >
> > > <groupId>org.jvnet.jax-ws-commons</groupId>
> > >                 <artifactId>jaxws-maven-plugin</artifactId>
> > >                 <version>2.3</version>
> > >
> > > And the generated maven excecution is:
> > >                     <execution>
> > >                         <goals>
> > >                             <goal>wsimport</goal>
> > >                         </goals>
> > >                         <configuration>
> > >                             <wsdlFiles>
> > >                                 <wsdlFile>*********/wsapi.
> > wsdl</wsdlFile>
> > >                             </wsdlFiles>
> > >                             <packageName>*********</packageName>
> > >                             <wsdlLocation>*********/wsapi?
> > > wsdl</wsdlLocation>
> > >                             <staleFile>${project.build.
> > > directory}/jaxws/stale/wsapi.stale</staleFile>
> > >                         </configuration>
> > >                         <id>wsimport-generate-wsapi</id>
> > >                         <phase>generate-sources</phase>
> > >                     </execution>
> > >
> > > To compile in java 8 I need to add:
> > > <vmArgs>
> > >
> > > <vmArg>-Djavax.xml.accessExternalSchema=all</
> > > vmArg>
> > >                     </vmArgs>
> > >
> > >
> > >
> > > Piercarlo Alberto Beghetto
> > > Analyst Developer @ Diennea - MagNews
> > > Tel.: (+39) 0546 066100 - Int. 967 Viale G.Marconi 30/14 - 48018
> > > Faenza (RA) -----Messaggio
> > > originale-----
> > > Da: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> > > Inviato: martedì 15 novembre 2016 16:42
> > > A: users@tomee.apache.org
> > > Oggetto: Re: Tomee java 8 WSDL client Unmarshalling Error
> > >
> > > Hi
> > >
> > > it depends how you build your client (injected, manually created
> > > from the wsdl etc...). Also depends which kind of webservice it is
> > > and the configuration you use.
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog <
> > > https://blog-rmannibucau.rhcloud.com> | Old Blog <
> > > http://rmannibucau.wordpress.com> | Github
> > > <https://github.com/rmannibucau>
> > > | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE
> > > | Factory <
> > > https://javaeefactory-rmannibucau.rhcloud.com>
> > >
> > > 2016-11-15 16:22 GMT+01:00 Piercarlo Alberto Beghetto - Diennea <
> > > piercarlo.beghetto@diennea.com>:
> > >
> > > > Hi!
> > > >
> > > > I got a strange issue. It doesn't happen on Tomcat (java 7 or 8)
> > > > applications.
> > > > I tested on TomEE 1.7.4 and 7.0.2 with java 8.
> > > > In previous version (< 1.6) of TomEE seems ok.
> > > >
> > > > When a WSDL of a webservice, i connect to, changes in a
> > > > ComplexType (for example a field is added to a class mapped in
> > > > the WSDL), the client can't start properly throwing an
> > > >      org.apache.cxf.interceptor.Fault: Unmarshalling Error: ...
> > > >
> > > > Have you found any fix to manage the WSDL changes or to ignore
> > > > the WSDL check at client start?
> > > >
> > > > Thanks
> > > > ;-)
> > > >
> > > > Piercarlo Alberto Beghetto
> > > > Analyst Developer @ Diennea - MagNews
> > > > Tel.: (+39) 0546 066100 - Int. 967 Viale G.Marconi 30/14 - 48018
> > > > Faenza (RA)
> > > >
> > > > [Magnews.it]<http://www.magnews.it/it>
> > > > [Linkedin]<http://www.linkedin.com/company/diennea---magnews>
> > > >  [Twitter] <http://twitter.com/DienneaMagNews>      [Facebook] <
> > > > http://www.facebook.com/pages/MagNews/197617841797>
> [Newsletter]
> > <
> > > > http://www.magnews.it/it/iscriviti-alla-newsletter>
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > Iscriviti alla nostra newsletter per rimanere aggiornato su
> > > > digital ed email marketing! http://www.magnews.it/newsletter/
> > > >
> > > > The information in this email is confidential and may be legally
> > > > privileged. If you are not the intended recipient please notify
> > > > the sender immediately and destroy this email. Any unauthorized,
> > > > direct or indirect, disclosure, copying, storage, distribution
> > > > or other use is strictly forbidden.
> > > >
> > >
> > > ________________________________
> > >
> > > Iscriviti alla nostra newsletter per rimanere aggiornato su
> > > digital ed email marketing! http://www.magnews.it/newsletter/
> > >
> > > The information in this email is confidential and may be legally
> > > privileged. If you are not the intended recipient please notify
> > > the sender immediately and destroy this email. Any unauthorized,
> > > direct or indirect, disclosure, copying, storage, distribution or
> > > other use is strictly forbidden.
> > >
> >
> > ________________________________
> >
> > Iscriviti alla nostra newsletter per rimanere aggiornato su digital
> > ed email marketing! http://www.magnews.it/newsletter/
> >
> > The information in this email is confidential and may be legally
> > privileged. If you are not the intended recipient please notify the
> > sender immediately and destroy this email. Any unauthorized, direct
> > or indirect, disclosure, copying, storage, distribution or other use
> > is strictly forbidden.
> >
>
> ________________________________
>
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed
> email marketing! http://www.magnews.it/newsletter/
>
> The information in this email is confidential and may be legally
> privileged. If you are not the intended recipient please notify the
> sender immediately and destroy this email. Any unauthorized, direct or
> indirect, disclosure, copying, storage, distribution or other use is
> strictly forbidden.
>

________________________________

Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing! http://www.magnews.it/newsletter/

The information in this email is confidential and may be legally privileged. If you are not
the intended recipient please notify the sender immediately and destroy this email. Any unauthorized,
direct or indirect, disclosure, copying, storage, distribution or other use is strictly forbidden.
Mime
View raw message