Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A1E6A200BC0 for ; Tue, 15 Nov 2016 18:06:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A0899160B03; Tue, 15 Nov 2016 17:06:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9B55F160AF2 for ; Tue, 15 Nov 2016 18:06:29 +0100 (CET) Received: (qmail 95738 invoked by uid 500); 15 Nov 2016 17:06:28 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 95721 invoked by uid 99); 15 Nov 2016 17:06:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 17:06:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 01AF41A0414 for ; Tue, 15 Nov 2016 17:06:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wA-mbcXNhsGk for ; Tue, 15 Nov 2016 17:06:24 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B0DE45F202 for ; Tue, 15 Nov 2016 17:06:23 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id a197so179783086wmd.0 for ; Tue, 15 Nov 2016 09:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lCtj9xBU604YrO275jhrOaU909b5UXjCN1VINfC6vmU=; b=fZc8gh2h5mkceHDoFAki9g8FQba5KFLju2+Z4HFKBpJ5UPiRpjq3thMDdtdnJOgLR2 6VU29atCLrPBrl08R9oJHaRfUJ9QpBt3LXex/aZOMDgXj/+zUT9kOqTB6XvF/0J7Jkp6 8PbTafwEUddkw/yPGtD1ZA6PeCAr9Q/LarxLhUIn2Z7WFZBH+TzSJBCKHpi5sJ8vxOsG HLNkyNGRWbafNnRhnKgJlNLSwkVPPyrJNvpLRN61LxlaqrOsc3bwB4AEtoplcYXbmC3C jgoNjX9CbuTXpbEVe5Fzcu7g2ychMkGZQcE1/7Q80xWfo3G+PmBux9QQ6pGqM6x1NpO7 gvSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lCtj9xBU604YrO275jhrOaU909b5UXjCN1VINfC6vmU=; b=aRKpVZ2dS/0ooYqtS9CPkcEkqPOa0Yh7JLcCWhl+EkpjrOa+v9FRRa6s+s+zLlOzpc pDIeWLz8l5HqAdUtlC5Yvkl/N7DA9ImPyZkb2Q6nulqsGV0AnOdNT+cv2kNpeQAGgZ/5 e/fRRI+ectl4kxlnLwMuH5+ZSRSIo24b9GUeGl1KB6QJO2DeM8to3MWYw0Z5dYxY7CNM quTuADijtU5MRCNtsSlRF1uJiKGGTq3xvZ0bo8hqwoHT46fSvsqExlzxRox2FYzquWK0 zxi7ubwVsJAk2Rm04QQrbkbUD8Ld1cATUNxSOB6PeYfqD6PlA1dhbE2nCCMHuj6TOjZ7 hFJg== X-Gm-Message-State: ABUngvdDpp2f9X8gV7KMz0RFn4CVV7fmb5hWlEHtIChP1tv7eFbqtKMmQBb3WyvON94PJQlv6/YmuQv4AtlCZg== X-Received: by 10.28.87.84 with SMTP id l81mr5282732wmb.48.1479229583027; Tue, 15 Nov 2016 09:06:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.158.68 with HTTP; Tue, 15 Nov 2016 09:06:02 -0800 (PST) In-Reply-To: <97aacbede46549659f22e8e2d2e3fdf1@EXC01-Arezzo.diennea.lan> References: <3f14d979dfbd4c25879a80d1d65c773b@EXC01-Arezzo.diennea.lan> <9598cbe4bae04039912223ebd25546c9@EXC01-Arezzo.diennea.lan> <97aacbede46549659f22e8e2d2e3fdf1@EXC01-Arezzo.diennea.lan> From: Romain Manni-Bucau Date: Tue, 15 Nov 2016 18:06:02 +0100 Message-ID: Subject: Re: Tomee java 8 WSDL client Unmarshalling Error To: "users@tomee.apache.org" Content-Type: multipart/alternative; boundary=001a11444cc4d67666054159f910 archived-at: Tue, 15 Nov 2016 17:06:30 -0000 --001a11444cc4d67666054159f910 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Then I guess you need to do the effort to reproduce it in a smaller project= . Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn | JavaEE Factory 2016-11-15 18:00 GMT+01:00 Piercarlo Alberto Beghetto - Diennea < piercarlo.beghetto@diennea.com>: > 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=C3=AC 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 | Blog < > https://blog-rmannibucau.rhcloud.com> | Old Blog < > http://rmannibucau.wordpress.com> | Github > | LinkedIn | 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=C3=AC 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=C3=AC 15 novembre 2016 16:57 > > > A: users@tomee.apache.org > > > Oggetto: Re: Tomee java 8 WSDL client Unmarshalling Error > > > > > > *********/wsapi?wsdl > > > > > > what happens if you use the deployed wsdl of tomee 7? > > > > > > > > > Romain Manni-Bucau > > > @rmannibucau | Blog < > > > https://blog-rmannibucau.rhcloud.com> | Old Blog < > > > http://rmannibucau.wordpress.com> | Github > > > > > > | LinkedIn | 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: > > > > > > > > org.jvnet.jax-ws-commons > > > > jaxws-maven-plugin > > > > 2.3 > > > > > > > > And the generated maven excecution is: > > > > > > > > > > > > wsimport > > > > > > > > > > > > > > > > *********/wsapi. > > > wsdl > > > > > > > > ********* > > > > *********/wsapi? > > > > wsdl > > > > ${project.build. > > > > directory}/jaxws/stale/wsapi.stale > > > > > > > > wsimport-generate-wsapi > > > > generate-sources > > > > > > > > > > > > To compile in java 8 I need to add: > > > > > > > > > > > > -Djavax.xml.accessExternalSchema=3Dall > > > vmArg> > > > > > > > > > > > > > > > > > > > > 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=C3=AC 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 | Blog < > > > > https://blog-rmannibucau.rhcloud.com> | Old Blog < > > > > http://rmannibucau.wordpress.com> | Github > > > > > > > > | LinkedIn | 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] > > > > > [Linkedin] > > > > > [Twitter] [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 sende= r > immediately and destroy this email. Any unauthorized, direct or indirect, > disclosure, copying, storage, distribution or other use is strictly > forbidden. > --001a11444cc4d67666054159f910--