Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 16048 invoked from network); 11 Jan 2008 14:46:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2008 14:46:31 -0000 Received: (qmail 73718 invoked by uid 500); 11 Jan 2008 14:46:11 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 73688 invoked by uid 500); 11 Jan 2008 14:46:11 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 73677 invoked by uid 99); 11 Jan 2008 14:46:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 06:46:11 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of henry698@hotmail.com designates 65.55.175.147 as permitted sender) Received: from [65.55.175.147] (HELO blu139-omc1-s7.blu139.hotmail.com) (65.55.175.147) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 14:45:44 +0000 Received: from BLU122-W33 ([65.55.162.181]) by blu139-omc1-s7.blu139.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 11 Jan 2008 06:45:48 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_f215d0f5-5964-4f6b-bc28-09d5d30b31aa_" X-Originating-IP: [78.155.132.178] From: Henry Duc de Cagade de Branlou To: CC: Anne Thomas Manes Subject: RE: [axis2] empty xmlns Date: Fri, 11 Jan 2008 14:45:49 +0000 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jan 2008 14:45:48.0750 (UTC) FILETIME=[A7B7E6E0:01C85460] X-Virus-Checked: Checked by ClamAV on apache.org --_f215d0f5-5964-4f6b-bc28-09d5d30b31aa_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I thought it was fixed but I still have a question please. =20 compteAncre should be in the same namespace as CodeOrganisme (http://datamo= del.wsdocument.dao.acces.ancre.acoss.fr/1.0 et not http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0" ) =20 In the previous example, is the top level element that you are refering fi= ndByArrayResponse? =20 thx =20 > Date: Thu, 10 Jan 2008 15:31:32 -0500> From: atmanes@gmail.com> To: henry= 698@hotmail.com> Subject: Re: [axis2] empty xmlns> > The top level element = defines a default namespace, so all unqualified> child elements are in the = default namespace.> It is semantically correct. The CodeOrganisme element i= s in a> different namespace, therefore it reassigns the default namespace.>= > Anne> > ps -- I assume that Angel asked you about RPC style because the>= accessor elements for parameter types in an RPC style message are> suppose= d to be unqualified.> > On Jan 10, 2008 11:31 AM, Henry Duc de Cagade de Br= anlou> wrote:> >> > Hi,> >> > By adding elementFormD= efault=3D"qualified" into my wsdl file, I eventually> > get the empty names= pace disappear (see compteAncre attribute) :> >> >> > > > > xmlns:soapenv=3D"http://schem= as.xmlsoap.org/soap/envelope/">> > > > = > xmlns=3D"http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0">> > > > > xmlns=3D"http://datamodel.wsdocument.dao.acce= s.ancre.acoss.fr/1.0">980> >> > I expected the namespace to= be filled with value though...> >> > Do you think it is correct this way?>= >> > Thx> >> >> >> >> >> >> > ________________________________> > > Date: = Thu, 10 Jan 2008 08:09:54 -0500> > > From: atmanes@gmail.com> > > To: henry= 698@hotmail.com> >> >> > > Subject: Re: [axis2] empty xmlns> > >> > > You a= lso need it in the inline schema in your WSDL file.> > >> > > Anne> > >> > = > On Jan 10, 2008 4:04 AM, Henry Duc de Cagade de Branlou> > > wrote:> > > >> > > > Hello,> > > >> > > > Thanks for you reply.>= > > >> > > > I already have an elementFormDefault=3D"qualified" defined at= the> > beginning> > > > of my xsd file.> > > >> > > > But it still doesn't= work.> > > >> > > > Should this attribute be put somewhere else in my xsd = file ?> > > >> > > > Thx> > > >> > > >> > > > _____________________________= ___> > > > > Date: Wed, 9 Jan 2008 12:13:22 -0500> > > > > From: atmanes@gm= ail.com> > > > > To: axis-user@ws.apache.org> > > > > Subject: Re: [axis2] = empty xmlns> > > >> > > >> > > > >> > > > > According to your schema, the c= ompteAncre element must be unqualified,> > > > > therefore the generated re= sponse is correct. If you want the> > > > > compteAncre element to be quali= fied, then add this attribute to the> > > > > http://findby.wsdocument.dao.= acces.ancre.acoss.fr/1.0 schema:> > > > >> > > > > elementFormDefault=3D"qu= alified"> > > > >> > > > > Anne> > > > >> > > > > On Jan 7, 2008 3:45 AM, H= enry Duc de Cagade de Branlou> > > > > wrote:> > > >= > >> > > > > >> > > > > > Hi,> > > > > >> > > > > >> > > > > > I have crea= ted an axis2 web service (release 1.2). I used the top> > bottom> > > > > >= approach with xmlbeans (used the axis2 generator tool).> > > > > > The pro= blem I have is that I have an empty xmlns tag (related to> > > > compteAncr= e> > > > > > tag) in my soap web service response :> > > > > > > > > > > > > > > xmlns:so= apenv=3D"http://schemas.xmlsoap.org/soap/envelope/">> > > > > > > > > > > > > > > > > xmlns=3D"http://findby.wsdocument= .dao.acces.ancre.acoss.fr/1.0">> > > > > > > > > > = > > > > > > >> > > >> > xmlns=3D"http://datamodel.wsdocumen= t.dao.acces.ancre.acoss.fr/1.0">390> > > > > > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> > > > > > = xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0"> > > > >= > xsi:nil=3D"true"/>> > > > > > > > > > > xmlns:xsi= =3D"http://www.w3.org/2001/XMLSchema-instance"> > > > > > xmlns=3D"http://d= atamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0"> > > > > > xsi:nil=3D"tru= e"/>> > > > > > > > > > >> > > >> > xmlns=3D"http://d= atamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">60767> > > > > > > > > > >> > > >> > xmlns=3D"http://dat= amodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">390000000040109656> > > > > > > > > > >> > > >> > xmlns=3D"http://da= tamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">1> > > > > > <= SousCategorie xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> > > = > > > xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0"> >= > > > > xsi:nil=3D"true"/>> > > > > > > > > > >> > > >> > xmlns= =3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">3>= > > > > > > > > > >> > > >> > xmlns=3D"http://datamodel.wsdoc= ument.dao.acces.ancre.acoss.fr/1.0">9514> > > > > > > > > > >> > > >> > xmlns=3D"http://datamodel.wsdocument.dao.acces.anc= re.acoss.fr/1.0">2000-01-15+01:00> > > > > >> > > > > >> > >= > > > I don't understand why. Attached are my wsdl, xsd files and soap> > = > > response.> > > > > > I also tried release 1.3 of axis2 but it didn't he= lp.> > > > > > Help will be greatly appreciated.> > > > > >> > > > > > Than= k you in advance.> > > > > >> > > > > > ________________________________> >= > > > > Express yourself instantly with MSN Messenger! MSN Messenger> > > = > > >> > > > > > ________________________________> > > > > > Express yourse= lf instantly with MSN Messenger! MSN Messenger> > > > > >> > > > > >> > ---= ------------------------------------------------------------------> > > > >= > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org> > > > > > F= or additional commands, e-mail: axis-user-help@ws.apache.org> > > > > >> > = > > >> > > > > ------------------------------------------------------------= ---------> > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.= org> > > > > For additional commands, e-mail: axis-user-help@ws.apache.org>= > > > >> > > >> > > > ________________________________> > > > Express your= self instantly with MSN Messenger! MSN Messenger> >> > ____________________= ____________> > Express yourself instantly with MSN Messenger! MSN Messenge= r Express yourself instantly with MSN Messenger! MSN Messenger=20 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= --_f215d0f5-5964-4f6b-bc28-09d5d30b31aa_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I thought it was fixed but I still have a questio= n please.
 
compteAncre should be in the same namespace as CodeOrganisme (http://datamodel.ws= document.dao.acces.ancre.acoss.fr/1.0
et not http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0" )
 
In the previous example, is the top level element that you are refering&nbs= p; findByArrayResponse?
 
thx




 

> Date: Thu, 10 Jan 2008 15:31:32 -0500
> From: atmanes@gmail.com<= BR>> To: henry698@hotmail.com
> Subject: Re: [axis2] empty xmlns>
> The top level element defines a default namespace, so all u= nqualified
> child elements are in the default namespace.
> It = is semantically correct. The CodeOrganisme element is in a
> differen= t namespace, therefore it reassigns the default namespace.
>
>= Anne
>
> ps -- I assume that Angel asked you about RPC style = because the
> accessor elements for parameter types in an RPC style m= essage are
> supposed to be unqualified.
>
> On Jan 10, = 2008 11:31 AM, Henry Duc de Cagade de Branlou
> <henry698@hotmail.= com> wrote:
> >
> > Hi,
> >
> > By a= dding elementFormDefault=3D"qualified" into my wsdl file, I eventually
&= gt; > get the empty namespace disappear (see compteAncre attribute) :> >
> >
> > <?xml version=3D"1.0" encoding=3D"U= TF-8"?>
> > <soapenv:Envelope
> > xmlns:soapenv=3D"= http://schemas.xmlsoap.org/soap/envelope/">
> > <soapenv:Bod= y>
> > <findByArrayResponse
> > xmlns=3D"http://fin= dby.wsdocument.dao.acces.ancre.acoss.fr/1.0">
> > <compteAnc= re>
> > <CodeOrganisme
> > xmlns=3D"http://datamode= l.wsdocument.dao.acces.ancre.acoss.fr/1.0">980</CodeOrganisme>
= > >
> > I expected the namespace to be filled with value tho= ugh...
> >
> > Do you think it is correct this way?
&g= t; >
> > Thx
> >
> >
> >
> >= ;
> >
> >
> > ________________________________> > > Date: Thu, 10 Jan 2008 08:09:54 -0500
> > > Fr= om: atmanes@gmail.com
> > > To: henry698@hotmail.com
> &g= t;
> >
> > > Subject: Re: [axis2] empty xmlns
> = > >
> > > You also need it in the inline schema in your W= SDL file.
> > >
> > > Anne
> > >
>= ; > > On Jan 10, 2008 4:04 AM, Henry Duc de Cagade de Branlou
>= > > <henry698@hotmail.com> wrote:
> > > >
&g= t; > > > Hello,
> > > >
> > > > Than= ks for you reply.
> > > >
> > > > I already h= ave an elementFormDefault=3D"qualified" defined at the
> > beginni= ng
> > > > of my xsd file.
> > > >
> &g= t; > > But it still doesn't work.
> > > >
> >= > > Should this attribute be put somewhere else in my xsd file ?
= > > > >
> > > > Thx
> > > >
&g= t; > > >
> > > > ________________________________> > > > > Date: Wed, 9 Jan 2008 12:13:22 -0500
> >= ; > > > From: atmanes@gmail.com
> > > > > To: ax= is-user@ws.apache.org
> > > > > Subject: Re: [axis2] empt= y xmlns
> > > >
> > > >
> > > >= ; >
> > > > > According to your schema, the compteAncr= e element must be unqualified,
> > > > > therefore the ge= nerated response is correct. If you want the
> > > > > co= mpteAncre element to be qualified, then add this attribute to the
> &= gt; > > > http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 sc= hema:
> > > > >
> > > > > elementFormDe= fault=3D"qualified"
> > > > >
> > > > >= Anne
> > > > >
> > > > > On Jan 7, 200= 8 3:45 AM, Henry Duc de Cagade de Branlou
> > > > > <h= enry698@hotmail.com> wrote:
> > > > > >
> >= ; > > > >
> > > > > > Hi,
> > >= ; > > >
> > > > > >
> > > > &g= t; > I have created an axis2 web service (release 1.2). I used the top> > bottom
> > > > > > approach with xmlbeans = (used the axis2 generator tool).
> > > > > > The probl= em I have is that I have an empty xmlns tag (related to
> > > &= gt; compteAncre
> > > > > > tag) in my soap web servic= e response :
> > > > > > <?xml version=3D"1.0" enco= ding=3D"UTF-8"?>
> > > > > > <soapenv:Envelope> > > > xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/enve= lope/">
> > > > > > <soapenv:Body>
> &g= t; > > > > <findByResponse
> > > > > > = xmlns=3D"http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0">
>= > > > > > <compteAncre xmlns=3D"">
> > > = > > > <CodeOrganisme
> > > > > >
> &= gt; > >
> > xmlns=3D"http://datamodel.wsdocument.dao.acces.a= ncre.acoss.fr/1.0">390</CodeOrganisme>
> > > > >= > <CodeExoneration
> > xmlns:xsi=3D"http://www.w3.org/2001/= XMLSchema-instance"
> > > > > > xmlns=3D"http://datamo= del.wsdocument.dao.acces.ancre.acoss.fr/1.0"
> > > > > &g= t; xsi:nil=3D"true"/>
> > > > > > <OrigineExoner= ation
> > > > > > xmlns:xsi=3D"http://www.w3.org/2001/= XMLSchema-instance"
> > > > > > xmlns=3D"http://datamo= del.wsdocument.dao.acces.ancre.acoss.fr/1.0"
> > > > > &g= t; xsi:nil=3D"true"/>
> > > > > > <NumeroInterne= Compte
> > > > > >
> > > >
> >= xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">6076= 7</NumeroInterneCompte>
> > > > > > <NumeroEx= terneCompte
> > > > > >
> > > >
>= > xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">= ;390000000040109656</NumeroExterneCompte>
> > > > >= > <Categorie
> > > > > >
> > > >=
> > xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr= /1.0">1</Categorie>
> > > > > > <SousCateg= orie xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
> > &= gt; > > > xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.aco= ss.fr/1.0"
> > > > > > xsi:nil=3D"true"/>
> &= gt; > > > > <EtatCpte
> > > > > >
&g= t; > > >
> > xmlns=3D"http://datamodel.wsdocument.dao.acc= es.ancre.acoss.fr/1.0">3</EtatCpte>
> > > > > &g= t; <NoPersonne
> > > > > >
> > > >> > xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1= .0">9514</NoPersonne>
> > > > > > <DateEta= tCpte
> > > > > >
> > > >
> > = xmlns=3D"http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0">2000-= 01-15+01:00</DateEtatCpte>
> > > > > >
> &= gt; > > > >
> > > > > > I don't understand= why. Attached are my wsdl, xsd files and soap
> > > > respo= nse.
> > > > > > I also tried release 1.3 of axis2 but= it didn't help.
> > > > > > Help will be greatly appr= eciated.
> > > > > >
> > > > > > = Thank you in advance.
> > > > > >
> > > &g= t; > > ________________________________
> > > > > &= gt; Express yourself instantly with MSN Messenger! MSN Messenger
> &g= t; > > > >
> > > > > > ___________________= _____________
> > > > > > Express yourself instantly w= ith MSN Messenger! MSN Messenger
> > > > > >
> &= gt; > > > >
> > --------------------------------------= -------------------------------
> > > > > > To unsubsc= ribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > &g= t; > For additional commands, e-mail: axis-user-help@ws.apache.org
&g= t; > > > > >
> > > > >
> > > &= gt; > ------------------------------------------------------------------= ---
> > > > > To unsubscribe, e-mail: axis-user-unsubscri= be@ws.apache.org
> > > > > For additional commands, e-mai= l: axis-user-help@ws.apache.org
> > > > >
> > &g= t; >
> > > > ________________________________
> >= ; > > Express yourself instantly with MSN Messenger! MSN Messenger> >
> > ________________________________
> > Expre= ss yourself instantly with MSN Messenger! MSN Messenger


Express yourself instantly with MSN Messenger! MSN Messenger


Express yourself instantly with MSN Messenger! MSN Messenger = --_f215d0f5-5964-4f6b-bc28-09d5d30b31aa_--