You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David Birch <da...@glintech.com> on 2012/02/08 07:12:22 UTC
Jaxb schema validation for Jaxws hand written classes
Hi,
is there any issue with setting the schemas property of the jaxb
data binding bean manually?
i.e.
....
<jaxws:dataBinding>
<bean class="org.apache.cxf.jaxb.JAXBDataBinding">
<property name="schemas" ref="schemaCol"/>
</bean>
...
where schemaCol is an instance of Collection<DOMSource> .
I have a heap of pre-created, hand-coded jaxb beans & schemas, and want
to use them for both service & client webservice calls, and this was the
only way i successfully got the schemas validating for the clients, i
can't see any i'll effects at present. Will this be overriding anything
otherwise important etc?
FYI - not sure if this was the right path, but i tried to get the
schemas in during the cxf-codegen-plugin so that existing jaxb classes
could be used & schemas referenced, but didn't get any success with this.
thanks
David
*David Birch *| Software Architect (Optio) *
**GLiNTECH | Suite 1, Level 1, 60 York St, Sydney NSW 2000
M +61 414 883 933 | P +61 2 9299 3999 | F +61 2 9299 3111 | W
www.glintech.com
2011 IBM Software Fastest Growth Partner of the year
2011 IBM WebSphere Business Partner of the Year
2010 ITX IBM Software Growth Partner of the Year**
*
*Please consider the environment before printing this e-mail
*
IMPORTANT: This email and any attachments are confidential and may be
privileged in which case neither is intended to be waived. If you have
received this message in error, please notify us and remove it from your
system. It is your responsibility to check any attachments for viruses
and defects before opening or sending them on. For more information
about use, disclosure and access, see our privacy policy at www.glintech.com
On 08/02/12 16:39, users-help@cxf.apache.org wrote:
> Hi! This is the ezmlm program. I'm managing the
> users@cxf.apache.org mailing list.
>
> I'm working for my owner, who can be reached
> at users-owner@cxf.apache.org.
>
> Acknowledgment: I have added the address
>
> david.birch@glintech.com
>
> to the users mailing list.
>
> Welcome to users@cxf.apache.org!
>
> Please save this message so that you know the address you are
> subscribed under, in case you later want to unsubscribe or change your
> subscription address.
>
>
> --- Administrative commands for the users list ---
>
> I can handle administrative requests automatically. Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
>
> To subscribe to the list, send a message to:
> <us...@cxf.apache.org>
>
> To remove your address from the list, send a message to:
> <us...@cxf.apache.org>
>
> Send mail to the following for info and FAQ for this list:
> <us...@cxf.apache.org>
> <us...@cxf.apache.org>
>
> Similar addresses exist for the digest list:
> <us...@cxf.apache.org>
> <us...@cxf.apache.org>
>
> To get messages 123 through 145 (a maximum of 100 per request), mail:
> <us...@cxf.apache.org>
>
> To get an index with subject and author for messages 123-456 , mail:
> <us...@cxf.apache.org>
>
> They are always returned as sets of 100, max 2000 per request,
> so you'll actually get 100-499.
>
> To receive all messages with the same subject as message 12345,
> send a short message to:
> <us...@cxf.apache.org>
>
> The messages should contain one line or word of text to avoid being
> treated as sp@m, but I will ignore their content.
> Only the ADDRESS you send to is important.
>
> You can start a subscription for an alternate address,
> for example "john@host.domain", just add a hyphen and your
> address (with '=' instead of '@') after the command word:
> <us...@cxf.apache.org>
>
> To stop subscription for this address, mail:
> <us...@cxf.apache.org>
>
> In both cases, I'll send a confirmation message to that address. When
> you receive it, simply reply to it to complete your subscription.
>
> If despite following these instructions, you do not get the
> desired results, please contact my owner at
> users-owner@cxf.apache.org. Please be patient, my owner is a
> lot slower than I am ;-)
>
> --- Enclosed is a copy of the request I received.
>
> Return-Path:<da...@glintech.com>
> Received: (qmail 89459 invoked by uid 99); 8 Feb 2012 05:39:45 -0000
> Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
> by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 05:39:45 +0000
> X-ASF-Spam-Status: No, hits=2.2 required=5.0
> tests=HTML_MESSAGE,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_MED,SPF_NEUTRAL
> X-Spam-Check-By: apache.org
> Received-SPF: neutral (nike.apache.org: local policy)
> Received: from [74.125.245.84] (HELO na3sys010aog108.obsmtp.com) (74.125.245.84)
> by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Feb 2012 05:39:36 +0000
> Received: from mail-iy0-f169.google.com ([209.85.210.169]) (using TLSv1) by na3sys010aob108.postini.com ([74.125.244.12]) with SMTP
> ID DSNKTzIKgt8cXM/+GOWy787JzndmDQF5eLUp@postini.com; Tue, 07 Feb 2012 21:39:15 PST
> Received: by mail-iy0-f169.google.com with SMTP id z16so463045iag.14
> for<us...@cxf.apache.org>; Tue, 07 Feb 2012 21:39:14 -0800 (PST)
> Received: by 10.50.153.233 with SMTP id vj9mr12289786igb.16.1328679554796;
> Tue, 07 Feb 2012 21:39:14 -0800 (PST)
> Received: from [10.1.4.104] (mail.glintech.com. [203.206.211.254])
> by mx.google.com with ESMTPS id f26sm749478ibc.9.2012.02.07.21.39.12
> (version=SSLv3 cipher=OTHER);
> Tue, 07 Feb 2012 21:39:14 -0800 (PST)
> Message-ID:<4F...@glintech.com>
> Date: Wed, 08 Feb 2012 16:39:10 +1100
> From: David Birch<da...@glintech.com>
> Organization: Glintech
> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16
> MIME-Version: 1.0
> To:
> users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org
> Subject: Re: confirm subscribe to users@cxf.apache.org
> References:<13...@cxf.apache.org>
> In-Reply-To:<13...@cxf.apache.org>
> Content-Type: multipart/alternative;
> boundary="------------070501090808050201090204"
> X-Virus-Checked: Checked by ClamAV on apache.org
>
> This is a multi-part message in MIME format.
> --------------070501090808050201090204
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
>
> *David Birch *| Software Architect (Optio) *
>
> **GLiNTECH | Suite 1, Level 1, 60 York St, Sydney NSW 2000
> M +61 414 883 933 | P +61 2 9299 3999 | F +61 2 9299 3111 | W
> www.glintech.com
>
> 2011 IBM Software Fastest Growth Partner of the year
> 2011 IBM WebSphere Business Partner of the Year
> 2010 ITX IBM Software Growth Partner of the Year**
>
> *
> *Please consider the environment before printing this e-mail
> *
> IMPORTANT: This email and any attachments are confidential and may be
> privileged in which case neither is intended to be waived. If you have
> received this message in error, please notify us and remove it from your
> system. It is your responsibility to check any attachments for viruses
> and defects before opening or sending them on. For more information
> about use, disclosure and access, see our privacy policy at www.glintech.com
>
>
> On 08/02/12 16:34, users-help@cxf.apache.org wrote:
>> Hi! This is the ezmlm program. I'm managing the
>> users@cxf.apache.org mailing list.
>>
>> I'm working for my owner, who can be reached
>> at users-owner@cxf.apache.org.
>>
>> To confirm that you would like
>>
>> david.birch@glintech.com
>>
>> added to the users mailing list, please send
>> a short reply to this address:
>>
>> users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org
>>
>> Usually, this happens when you just hit the "reply" button.
>> If this does not work, simply copy the address and paste it into
>> the "To:" field of a new message.
>>
>> or click here:
>> mailto:users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org
>>
>> This confirmation serves two purposes. First, it verifies that I am able
>> to get mail through to you. Second, it protects you in case someone
>> forges a subscription request in your name.
>>
>> Some mail programs are broken and cannot handle long addresses. If you
>> cannot reply to this request, instead send a message to
>> <us...@cxf.apache.org> and put the
>> entire address listed above into the "Subject:" line.
>>
>>
>> --- Administrative commands for the users list ---
>>
>> I can handle administrative requests automatically. Please
>> do not send them to the list address! Instead, send
>> your message to the correct command address:
>>
>> To subscribe to the list, send a message to:
>> <us...@cxf.apache.org>
>>
>> To remove your address from the list, send a message to:
>> <us...@cxf.apache.org>
>>
>> Send mail to the following for info and FAQ for this list:
>> <us...@cxf.apache.org>
>> <us...@cxf.apache.org>
>>
>> Similar addresses exist for the digest list:
>> <us...@cxf.apache.org>
>> <us...@cxf.apache.org>
>>
>> To get messages 123 through 145 (a maximum of 100 per request), mail:
>> <us...@cxf.apache.org>
>>
>> To get an index with subject and author for messages 123-456 , mail:
>> <us...@cxf.apache.org>
>>
>> They are always returned as sets of 100, max 2000 per request,
>> so you'll actually get 100-499.
>>
>> To receive all messages with the same subject as message 12345,
>> send a short message to:
>> <us...@cxf.apache.org>
>>
>> The messages should contain one line or word of text to avoid being
>> treated as sp@m, but I will ignore their content.
>> Only the ADDRESS you send to is important.
>>
>> You can start a subscription for an alternate address,
>> for example "john@host.domain", just add a hyphen and your
>> address (with '=' instead of '@') after the command word:
>> <us...@cxf.apache.org>
>>
>> To stop subscription for this address, mail:
>> <us...@cxf.apache.org>
>>
>> In both cases, I'll send a confirmation message to that address. When
>> you receive it, simply reply to it to complete your subscription.
>>
>> If despite following these instructions, you do not get the
>> desired results, please contact my owner at
>> users-owner@cxf.apache.org. Please be patient, my owner is a
>> lot slower than I am ;-)
>>
>> --- Enclosed is a copy of the request I received.
>>
>> Return-Path:<da...@glintech.com>
>> Received: (qmail 83362 invoked by uid 99); 8 Feb 2012 05:34:13 -0000
>> Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
>> by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 05:34:13 +0000
>> X-ASF-Spam-Status: No, hits=2.3 required=10.0
>> tests=ASF_LIST_OPS,HTML_MESSAGE,HTML_TITLE_SUBJ_DIFF,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_MED,SPF_NEUTRAL
>> X-Spam-Check-By: apache.org
>> Received-SPF: neutral (nike.apache.org: local policy)
>> Received: from [74.125.245.94] (HELO na3sys010aog113.obsmtp.com) (74.125.245.94)
>> by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Feb 2012 05:34:04 +0000
>> Received: from mail-iy0-f172.google.com ([209.85.210.172]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP
>> ID DSNKTzIJNisAl+A/Va4S6ei2sjDWapM/USP+@postini.com; Tue, 07 Feb 2012 21:33:43 PST
>> Received: by mail-iy0-f172.google.com with SMTP id f6so527496iag.17
>> for<us...@cxf.apache.org>; Tue, 07 Feb 2012 21:33:42 -0800 (PST)
>> Received: by 10.42.117.69 with SMTP id s5mr3263950icq.0.1328679222353;
>> Tue, 07 Feb 2012 21:33:42 -0800 (PST)
>> Received: from [10.1.4.104] (mail.glintech.com. [203.206.211.254])
>> by mx.google.com with ESMTPS id 5sm723698ibe.8.2012.02.07.21.33.40
>> (version=SSLv3 cipher=OTHER);
>> Tue, 07 Feb 2012 21:33:41 -0800 (PST)
>> Message-ID:<4F...@glintech.com>
>> Date: Wed, 08 Feb 2012 16:33:38 +1100
>> From: David Birch<da...@glintech.com>
>> Organization: Glintech
>> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16
>> MIME-Version: 1.0
>> To: users-subscribe@cxf.apache.org
>> Subject: subscribe
>> Content-Type: multipart/alternative;
>> boundary="------------010209060500020905030500"
>> X-Virus-Checked: Checked by ClamAV on apache.org
>>
>> This is a multi-part message in MIME format.
>> --------------010209060500020905030500
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> Content-Transfer-Encoding: 7bit
>>
>>
> --------------070501090808050201090204
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html; charset=ISO-8859-1"
> http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <br>
> <div class="moz-signature">
> <meta name="Title" content="Full Name | Role ">
> <meta name="Keywords" content="">
> <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1">
> <meta name="ProgId" content="Word.Document">
> <meta name="Generator" content="Microsoft Word 11">
> <meta name="Originator" content="Microsoft Word 11">
> <link rel="File-List"
> href="GLiNTECH%20Signature_files/filelist.xml">
> <title>David Birch | Software Architect (Optio)</title>
> <!--[if gte mso 9]><xml>
> <o:DocumentProperties>
> <o:Template>Normal</o:Template>
> <o:LastAuthor>SP</o:LastAuthor>
> <o:Revision>2</o:Revision>
> <o:TotalTime>1</o:TotalTime>
> <o:Created>2011-04-05T00:03:00Z</o:Created>
> <o:LastSaved>2011-04-05T00:03:00Z</o:LastSaved>
> <o:Pages>1</o:Pages>
> <o:Words>92</o:Words>
> <o:Characters>527</o:Characters>
> <o:Lines>4</o:Lines>
> <o:Paragraphs>1</o:Paragraphs>
> <o:CharactersWithSpaces>647</o:CharactersWithSpaces>
> <o:Version>11.0</o:Version>
> </o:DocumentProperties>
> <o:OfficeDocumentSettings>
> <o:AllowPNG/>
> </o:OfficeDocumentSettings>
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <w:WordDocument>
> <w:Zoom>125</w:Zoom>
> </w:WordDocument>
> </xml><![endif]-->
> <style>
> <!--
> /* Font Definitions */
> @font-face
> {font-family:"Times New Roman";
> panose-1:0 2 2 6 3 5 4 5 2 3;
> mso-font-charset:0;
> mso-generic-font-family:auto;
> mso-font-pitch:variable;
> mso-font-signature:50331648 0 0 0 1 0;}
> @font-face
> {font-family:Verdana;
> panose-1:0 2 11 6 4 3 5 4 4 2;
> mso-font-charset:0;
> mso-generic-font-family:auto;
> mso-font-pitch:variable;
> mso-font-signature:50331648 0 0 0 1 0;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {mso-style-parent:"";
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;}
> table.MsoNormalTable
> {mso-style-parent:"";
> font-size:10.0pt;
> font-family:"Times New Roman";}
> p.font, li.font, div.font
> {mso-style-name:font;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;}
> p.blue, li.blue, div.blue
> {mso-style-name:blue;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;
> color:#425B98;
> font-weight:bold;}
> p.black, li.black, div.black
> {mso-style-name:black;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;
> color:black;}
> p.grey, li.grey, div.grey
> {mso-style-name:grey;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;
> color:#4B4B4B;}
> p.bold, li.bold, div.bold
> {mso-style-name:bold;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;
> font-weight:bold;}
> p.nobold, li.nobold, div.nobold
> {mso-style-name:nobold;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;}
> p.large, li.large, div.large
> {mso-style-name:large;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:12.0pt;
> font-family:Times;}
> p.medium, li.medium, div.medium
> {mso-style-name:medium;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:Times;}
> p.small, li.small, div.small
> {mso-style-name:small;
> margin-right:0cm;
> mso-margin-top-alt:auto;
> mso-margin-bottom-alt:auto;
> margin-left:0cm;
> mso-pagination:widow-orphan;
> font-size:9.0pt;
> font-family:Times;}
> span.font1
> {mso-style-name:font1;}
> span.medium1
> {mso-style-name:medium1;
> font-size:10.0pt;}
> span.bold1
> {mso-style-name:bold1;
> font-weight:bold;}
> span.black1
> {mso-style-name:black1;
> color:black;}
> span.large1
> {mso-style-name:large1;
> font-size:12.0pt;}
> span.blue1
> {mso-style-name:blue1;
> color:#425B98;
> font-weight:bold;}
> span.nobold1
> {mso-style-name:nobold1;
> font-weight:normal;}
> span.small1
> {mso-style-name:small1;
> font-size:9.0pt;}
> span.grey1
> {mso-style-name:grey1;
> color:#4B4B4B;}
> @page Section1
> {size:612.0pt 792.0pt;
> margin:72.0pt 90.0pt 72.0pt 90.0pt;
> mso-header-margin:35.4pt;
> mso-footer-margin:35.4pt;
> mso-paper-source:0;}
> div.Section1
> {page:Section1;}
> -->
> </style><!--[if gte mso 9]><xml>
> <o:shapedefaults v:ext="edit" spidmax="1026"/>
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <o:shapelayout v:ext="edit">
> <o:idmap v:ext="edit" data="1"/>
> </o:shapelayout></xml><![endif]-->
> <div class="Section1">
> <p class="MsoNormal" style="margin: 0cm 0cm 12pt;"><span
> class="large1"><span style="font-family: Verdana; color:
> black;" lang="EN-US"><b>David Birch </b></span></span><span
> class="nobold1"><span style="font-size: 12pt; font-family:
> Verdana; color: rgb(66, 91, 152);" lang="EN-US">|</span></span><span
> class="blue1"><span style="font-size: 12pt; font-family:
> Verdana;" lang="EN-US">
> Software Architect (Optio)</span></span><span
> style="font-family: Verdana; color: black;" lang="EN-US"><b><br>
> <br>
> </b></span><span style="font-family: Verdana;" lang="EN-US"><b>GLiNTECH
> | Suite 1,
> Level 1, 60 York St, Sydney NSW 2000<span style="color:
> black;"><br>
> </span><span style="color: rgb(64, 89, 150);">M</span>
> +61 414 883 933 | <span style="color: rgb(64, 89, 150);">P</span>
> +61 2 9299 3999 | <span style="color: rgb(64, 89, 150);">F</span>
> +61 2 9299 3111 | <span style="color: rgb(64, 89, 150);">W</span>
> <a class="moz-txt-link-abbreviated" href="http://www.glintech.com">www.glintech.com</a><br>
> <br>
> <span style="color: rgb(66, 91, 152);">2011</span> IBM
> Software Fastest Growth Partner of
> the year<br>
> <span style="color: rgb(66, 91, 152);">2011</span> IBM
> WebSphere Business Partner of the
> Year<br>
> <span style="color: rgb(66, 91, 152);">2010</span> ITX IBM
> Software Growth Partner of the
> Year</b></span><span style="font-size: 8pt; font-family:
> Verdana;" lang="EN-US"><b><br>
> <br>
> </b></span><span style="font-size: 8pt; font-family:
> Verdana;" lang="EN-US"><br>
> </span><span style="font-size: 9pt; font-family: Verdana;
> color: rgb(74, 74, 74);" lang="EN-US"><b>Please
> consider the environment before printing this e-mail<br>
> </b></span><span style="font-size: 9pt; font-family:
> Verdana; color: rgb(74, 74, 74);" lang="EN-US"><br>
> IMPORTANT: This email and any attachments are confidential
> and may be
> privileged in which case neither is intended to be waived.
> If you have received
> this message in error, please notify us and remove it from
> your system. It is
> your responsibility to check any attachments for viruses and
> defects before
> opening or sending them on. For more information about use,
> disclosure and
> access, see our privacy policy at<a class="moz-txt-link-abbreviated" href="http://www.glintech.com">www.glintech.com</a></span></p>
> </div>
> </div>
> <br>
> On 08/02/12 16:34,<a class="moz-txt-link-abbreviated" href="mailto:users-help@cxf.apache.org">users-help@cxf.apache.org</a> wrote:
> <blockquote cite="mid:1328679255.83390.ezmlm@cxf.apache.org"
> type="cite">
> <pre wrap="">Hi! This is the ezmlm program. I'm managing the
> <a class="moz-txt-link-abbreviated" href="mailto:users@cxf.apache.org">users@cxf.apache.org</a> mailing list.
>
> I'm working for my owner, who can be reached
> at<a class="moz-txt-link-abbreviated" href="mailto:users-owner@cxf.apache.org">users-owner@cxf.apache.org</a>.
>
> To confirm that you would like
>
> <a class="moz-txt-link-abbreviated" href="mailto:david.birch@glintech.com">david.birch@glintech.com</a>
>
> added to the users mailing list, please send
> a short reply to this address:
>
> <a class="moz-txt-link-abbreviated" href="mailto:users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org">users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org</a>
>
> Usually, this happens when you just hit the "reply" button.
> If this does not work, simply copy the address and paste it into
> the "To:" field of a new message.
>
> or click here:
> <a class="moz-txt-link-freetext" href="mailto:users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org">mailto:users-sc.1328679255.eeeofjgeoabaoahoblih-david.birch=glintech.com@cxf.apache.org</a>
>
> This confirmation serves two purposes. First, it verifies that I am able
> to get mail through to you. Second, it protects you in case someone
> forges a subscription request in your name.
>
> Some mail programs are broken and cannot handle long addresses. If you
> cannot reply to this request, instead send a message to
> <a class="moz-txt-link-rfc2396E" href="mailto:users-request@cxf.apache.org"><users-request@cxf.apache.org></a> and put the
> entire address listed above into the "Subject:" line.
>
>
> --- Administrative commands for the users list ---
>
> I can handle administrative requests automatically. Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
>
> To subscribe to the list, send a message to:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-subscribe@cxf.apache.org"><users-subscribe@cxf.apache.org></a>
>
> To remove your address from the list, send a message to:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-unsubscribe@cxf.apache.org"><users-unsubscribe@cxf.apache.org></a>
>
> Send mail to the following for info and FAQ for this list:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-info@cxf.apache.org"><users-info@cxf.apache.org></a>
> <a class="moz-txt-link-rfc2396E" href="mailto:users-faq@cxf.apache.org"><users-faq@cxf.apache.org></a>
>
> Similar addresses exist for the digest list:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-digest-subscribe@cxf.apache.org"><users-digest-subscribe@cxf.apache.org></a>
> <a class="moz-txt-link-rfc2396E" href="mailto:users-digest-unsubscribe@cxf.apache.org"><users-digest-unsubscribe@cxf.apache.org></a>
>
> To get messages 123 through 145 (a maximum of 100 per request), mail:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-get.123_145@cxf.apache.org"><users-get.123_145@cxf.apache.org></a>
>
> To get an index with subject and author for messages 123-456 , mail:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-index.123_456@cxf.apache.org"><users-index.123_456@cxf.apache.org></a>
>
> They are always returned as sets of 100, max 2000 per request,
> so you'll actually get 100-499.
>
> To receive all messages with the same subject as message 12345,
> send a short message to:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-thread.12345@cxf.apache.org"><users-thread.12345@cxf.apache.org></a>
>
> The messages should contain one line or word of text to avoid being
> treated as sp@m, but I will ignore their content.
> Only the ADDRESS you send to is important.
>
> You can start a subscription for an alternate address,
> for example<a class="moz-txt-link-rfc2396E" href="mailto:john@host.domain">"john@host.domain"</a>, just add a hyphen and your
> address (with '=' instead of '@') after the command word:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-subscribe-john=host.domain@cxf.apache.org"><users-subscribe-john=host.domain@cxf.apache.org></a>
>
> To stop subscription for this address, mail:
> <a class="moz-txt-link-rfc2396E" href="mailto:users-unsubscribe-john=host.domain@cxf.apache.org"><users-unsubscribe-john=host.domain@cxf.apache.org></a>
>
> In both cases, I'll send a confirmation message to that address. When
> you receive it, simply reply to it to complete your subscription.
>
> If despite following these instructions, you do not get the
> desired results, please contact my owner at
> <a class="moz-txt-link-abbreviated" href="mailto:users-owner@cxf.apache.org">users-owner@cxf.apache.org</a>. Please be patient, my owner is a
> lot slower than I am ;-)
>
> --- Enclosed is a copy of the request I received.
>
> Return-Path:<a class="moz-txt-link-rfc2396E" href="mailto:david.birch@glintech.com"><david.birch@glintech.com></a>
> Received: (qmail 83362 invoked by uid 99); 8 Feb 2012 05:34:13 -0000
> Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
> by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 05:34:13 +0000
> X-ASF-Spam-Status: No, hits=2.3 required=10.0
> tests=ASF_LIST_OPS,HTML_MESSAGE,HTML_TITLE_SUBJ_DIFF,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_MED,SPF_NEUTRAL
> X-Spam-Check-By: apache.org
> Received-SPF: neutral (nike.apache.org: local policy)
> Received: from [74.125.245.94] (HELO na3sys010aog113.obsmtp.com) (74.125.245.94)
> by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Feb 2012 05:34:04 +0000
> Received: from mail-iy0-f172.google.com ([209.85.210.172]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP
> ID<a class="moz-txt-link-abbreviated" href="mailto:DSNKTzIJNisAl+A/Va4S6ei2sjDWapM/USP+@postini.com">DSNKTzIJNisAl+A/Va4S6ei2sjDWapM/USP+@postini.com</a>; Tue, 07 Feb 2012 21:33:43 PST
> Received: by mail-iy0-f172.google.com with SMTP id f6so527496iag.17
> for<a class="moz-txt-link-rfc2396E" href="mailto:users-subscribe@cxf.apache.org"><users-subscribe@cxf.apache.org></a>; Tue, 07 Feb 2012 21:33:42 -0800 (PST)
> Received: by 10.42.117.69 with SMTP id s5mr3263950icq.0.1328679222353;
> Tue, 07 Feb 2012 21:33:42 -0800 (PST)
> Received: from [10.1.4.104] (mail.glintech.com. [203.206.211.254])
> by mx.google.com with ESMTPS id 5sm723698ibe.8.2012.02.07.21.33.40
> (version=SSLv3 cipher=OTHER);
> Tue, 07 Feb 2012 21:33:41 -0800 (PST)
> Message-ID:<a class="moz-txt-link-rfc2396E" href="mailto:4F320932.1050008@glintech.com"><4F320932.1050008@glintech.com></a>
> Date: Wed, 08 Feb 2012 16:33:38 +1100
> From: David Birch<a class="moz-txt-link-rfc2396E" href="mailto:david.birch@glintech.com"><david.birch@glintech.com></a>
> Organization: Glintech
> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16
> MIME-Version: 1.0
> To:<a class="moz-txt-link-abbreviated" href="mailto:users-subscribe@cxf.apache.org">users-subscribe@cxf.apache.org</a>
> Subject: subscribe
> Content-Type: multipart/alternative;
> boundary="------------010209060500020905030500"
> X-Virus-Checked: Checked by ClamAV on apache.org
>
> This is a multi-part message in MIME format.
> --------------010209060500020905030500
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
>
> </pre>
> </blockquote>
> </body>
> </html>
>
> --------------070501090808050201090204--
Re: Jaxb schema validation for Jaxws hand written classes
Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday, February 08, 2012 5:12:22 PM David Birch wrote:
> Hi,
> is there any issue with setting the schemas property of the jaxb
> data binding bean manually?
>
> i.e.
> ....
> <jaxws:dataBinding>
> <bean class="org.apache.cxf.jaxb.JAXBDataBinding">
> <property name="schemas" ref="schemaCol"/>
> </bean>
> ...
>
> where schemaCol is an instance of Collection<DOMSource> .
>
> I have a heap of pre-created, hand-coded jaxb beans & schemas, and want
> to use them for both service & client webservice calls, and this was the
> only way i successfully got the schemas validating for the clients, i
> can't see any i'll effects at present. Will this be overriding anything
> otherwise important etc?
Nope. This is a perfectly fine way to handle it.
Dan
> FYI - not sure if this was the right path, but i tried to get the
> schemas in during the cxf-codegen-plugin so that existing jaxb classes
> could be used & schemas referenced, but didn't get any success with this.
>
> thanks
> David
>
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com