RE: [axis2] empty xmlns

2008-01-11 Thread Henry Duc de Cagade de Branlou
Thank you very much for your useful help and great expertise! ;)

 Date: Thu, 10 Jan 2008 15:31:32 -0500 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] 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 is 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 supposed to be 
 unqualified.  On Jan 10, 2008 11:31 AM, Henry Duc de Cagade de Branlou 
 [EMAIL PROTECTED] wrote:   Hi,   By adding 
 elementFormDefault=qualified into my wsdl file, I eventually  get the 
 empty namespace disappear (see compteAncre attribute) :?xml 
 version=1.0 encoding=UTF-8?  soapenv:Envelope  
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;  soapenv:Body 
  findByArrayResponse  
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 compteAncre  CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;980/CodeOrganisme
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: [EMAIL PROTECTED]   To: [EMAIL PROTECTED] Subject: 
 Re: [axis2] empty xmlns You also need it in the inline schema in 
 your WSDL file. Anne On Jan 10, 2008 4:04 AM, Henry Duc 
 de Cagade de Branlou   [EMAIL PROTECTED] wrote:   Hello,  
  Thanks for you reply.   I already have an 
 elementFormDefault=qualified defined at the  beginningof 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: [EMAIL PROTECTED] To: 
 axis-user@ws.apache.org Subject: Re: [axis2] empty xmlns  
  According to your schema, the compteAncre element must be 
 unqualified, therefore the generated response is correct. If you 
 want the compteAncre element to be qualified, then add this 
 attribute to the 
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:
  elementFormDefault=qualified Anne On 
 Jan 7, 2008 3:45 AM, Henry Duc de Cagade de Branlou [EMAIL 
 PROTECTED] wrote:Hi,  
   I have created an axis2 web service (release 1.2). I used the 
 top  bottom  approach with xmlbeans (used the axis2 generator 
 tool).  The problem I have is that I have an empty xmlns tag 
 (related tocompteAncre  tag) in my soap web service 
 response :  ?xml version=1.0 encoding=UTF-8?  
 soapenv:Envelope
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;  
 soapenv:Body  findByResponse  
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 compteAncre xmlns=  CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
   CodeExoneration  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  OrigineExoneration  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  NumeroInterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
   NumeroExterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
   Categorie  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
   SousCategorie 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  EtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
   NoPersonne  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
   DateEtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte
 I don't understand why. Attached are my 
 wsdl, xsd files and soapresponse.  I also tried release 1.3 
 of axis2 but it didn't help.  Help will be greatly appreciated.  
  Thank you in advance.   
   Express yourself instantly with 
 MSN Messenger! MSN Messenger   
   Express yourself instantly with 
 MSN Messenger! MSN Messenger
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [axis2] empty xmlns

2008-01-11 Thread Henry Duc de Cagade de Branlou
I thought it was fixed but I still have a question please.
 
compteAncre should be in the same namespace as CodeOrganisme 
(http://datamodel.wsdocument.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  
findByArrayResponse?
 
thx
 





 Date: Thu, 10 Jan 2008 15:31:32 -0500 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] 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 is 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 supposed to be 
 unqualified.  On Jan 10, 2008 11:31 AM, Henry Duc de Cagade de Branlou 
 [EMAIL PROTECTED] wrote:   Hi,   By adding 
 elementFormDefault=qualified into my wsdl file, I eventually  get the 
 empty namespace disappear (see compteAncre attribute) :?xml 
 version=1.0 encoding=UTF-8?  soapenv:Envelope  
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;  soapenv:Body 
  findByArrayResponse  
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 compteAncre  CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;980/CodeOrganisme
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: [EMAIL PROTECTED]   To: [EMAIL PROTECTED] Subject: 
 Re: [axis2] empty xmlns You also need it in the inline schema in 
 your WSDL file. Anne On Jan 10, 2008 4:04 AM, Henry Duc 
 de Cagade de Branlou   [EMAIL PROTECTED] wrote:   Hello,  
  Thanks for you reply.   I already have an 
 elementFormDefault=qualified defined at the  beginningof 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: [EMAIL PROTECTED] To: 
 axis-user@ws.apache.org Subject: Re: [axis2] empty xmlns  
  According to your schema, the compteAncre element must be 
 unqualified, therefore the generated response is correct. If you 
 want the compteAncre element to be qualified, then add this 
 attribute to the 
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:
  elementFormDefault=qualified Anne On 
 Jan 7, 2008 3:45 AM, Henry Duc de Cagade de Branlou [EMAIL 
 PROTECTED] wrote:Hi,  
   I have created an axis2 web service (release 1.2). I used the 
 top  bottom  approach with xmlbeans (used the axis2 generator 
 tool).  The problem I have is that I have an empty xmlns tag 
 (related tocompteAncre  tag) in my soap web service 
 response :  ?xml version=1.0 encoding=UTF-8?  
 soapenv:Envelope
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;  
 soapenv:Body  findByResponse  
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 compteAncre xmlns=  CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
   CodeExoneration  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  OrigineExoneration  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  NumeroInterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
   NumeroExterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
   Categorie  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
   SousCategorie 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  EtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
   NoPersonne  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
   DateEtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte
 I don't understand why. Attached are my 
 wsdl, xsd files and soapresponse.  I also tried release 1.3 
 of axis2 but it didn't help.  Help will be greatly appreciated.  
  Thank you in advance.   
   Express yourself instantly

Re: [axis2] empty xmlns

2008-01-11 Thread Anne Thomas Manes
Henry,

If you want the compteAncre element to be in the datamodel
namespace, then you must define it (the element) in the datamodel
schema. Currently, you define the complexType in the
datamodelschema, but you define the element in the inline schema in
the WSDL. Therefore compteAncre and CodeOrganisme are in different
namespaces.

You can fix this by defining the compteAncre element in the
datamodel schema and using the ref attribute in the
findByResponseType and findByArrayResponseType rather than defining
the compteAncre elements as local elements.

You probably want to do the same for the Orga, noUrList, and
Contrat elements.

Anne


On Jan 11, 2008 9:45 AM, Henry Duc de Cagade de Branlou
[EMAIL PROTECTED] wrote:

 I thought it was fixed but I still have a question please.

  compteAncre should be in the same namespace as CodeOrganisme
 (http://datamodel.wsdocument.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
 findByArrayResponse?

  thx








  
   Date: Thu, 10 Jan 2008 15:31:32 -0500
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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 is 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
  supposed to be unqualified.
 
  On Jan 10, 2008 11:31 AM, Henry Duc de Cagade de Branlou
  [EMAIL PROTECTED] wrote:
  
   Hi,
  
   By adding elementFormDefault=qualified into my wsdl file, I eventually
   get the empty namespace disappear (see compteAncre attribute) :
  
  
   ?xml version=1.0 encoding=UTF-8?
   soapenv:Envelope
   xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   soapenv:Body
   findByArrayResponse
   xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
   compteAncre
   CodeOrganisme
  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;980/CodeOrganisme
  
   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: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
  
  
Subject: Re: [axis2] empty xmlns
   
You also need it in the inline schema in your WSDL file.
   
Anne
   
On Jan 10, 2008 4:04 AM, Henry Duc de Cagade de Branlou
[EMAIL PROTECTED] wrote:

 Hello,

 Thanks for you reply.

 I already have an elementFormDefault=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: [EMAIL PROTECTED]
  To: axis-user@ws.apache.org
  Subject: Re: [axis2] empty xmlns


 
  According to your schema, the compteAncre element must be
 unqualified,
  therefore the generated response is correct. If you want the
  compteAncre element to be qualified, then add this attribute to
 the
  http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:
 
  elementFormDefault=qualified
 
  Anne
 
  On Jan 7, 2008 3:45 AM, Henry Duc de Cagade de Branlou
  [EMAIL PROTECTED] wrote:
  
  
   Hi,
  
  
   I have created an axis2 web service (release 1.2). I used the
 top
   bottom
   approach with xmlbeans (used the axis2 generator tool).
   The problem I have is that I have an empty xmlns tag (related to
 compteAncre
   tag) in my soap web service response :
   ?xml version=1.0 encoding=UTF-8?
   soapenv:Envelope
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   soapenv:Body
   findByResponse
   xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
   compteAncre xmlns=
   CodeOrganisme
  

  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
   CodeExoneration
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
   xsi:nil=true/
   OrigineExoneration
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
   xsi:nil=true/
   NumeroInterneCompte
  

  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
   NumeroExterneCompte
  

  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656

RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou

Hello,
 
Thanks for you reply.
 
I already have  an elementFormDefault=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: [EMAIL PROTECTED] To: 
 axis-user@ws.apache.org Subject: Re: [axis2] empty xmlns  According to 
 your schema, the compteAncre element must be unqualified, therefore the 
 generated response is correct. If you want the compteAncre element to be 
 qualified, then add this attribute to the 
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:  
 elementFormDefault=qualified  Anne  On Jan 7, 2008 3:45 AM, Henry Duc 
 de Cagade de Branlou [EMAIL PROTECTED] wrote:Hi,I have 
 created an axis2 web service (release 1.2). I used the top bottom  approach 
 with xmlbeans (used the axis2 generator tool).  The problem I have is that 
 I have an empty xmlns tag (related to compteAncre  tag) in my soap web 
 service response :  ?xml version=1.0 encoding=UTF-8?  
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
  soapenv:Body  findByResponse  
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 compteAncre xmlns=  CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
   CodeExoneration xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  OrigineExoneration  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  NumeroInterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
   NumeroExterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
   Categorie  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
   SousCategorie xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;  
 xsi:nil=true/  EtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
   NoPersonne  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
   DateEtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte
 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 help.  Help 
 will be greatly appreciated.   Thank you in advance.   
   Express yourself instantly with MSN 
 Messenger! MSN Messenger     Express 
 yourself instantly with MSN Messenger! MSN Messenger   
 -  To 
 unsubscribe, e-mail: [EMAIL PROTECTED]  For additional commands, e-mail: 
 [EMAIL PROTECTED]   
 - To 
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
 [EMAIL PROTECTED] 
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Re: [axis2] empty xmlns

2008-01-10 Thread Angel Cholchev


Hello,
is the operation you are invoking RPC?

Greetings, Angel


Henry Duc de Cagade de Branlou wrote:

Hello,
 
Thanks for you reply.
 
I already have  an elementFormDefault=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: [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Subject: Re: [axis2] empty xmlns

 According to your schema, the compteAncre element must be unqualified,
 therefore the generated response is correct. If you want the
 compteAncre element to be qualified, then add this attribute to the
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:

 elementFormDefault=qualified

 Anne

 On Jan 7, 2008 3:45 AM, Henry Duc de Cagade de Branlou
 [EMAIL PROTECTED] wrote:
 
 
  Hi,
 
 
  I have created an axis2 web service (release 1.2). I used the top 
bottom

  approach with xmlbeans (used the axis2 generator tool).
  The problem I have is that I have an empty xmlns tag (related to 
compteAncre

  tag) in my soap web service response :
  ?xml version=1.0 encoding=UTF-8?
  soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

  soapenv:Body
  findByResponse
  xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
  compteAncre xmlns=
  CodeOrganisme
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme

  CodeExoneration xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
  xsi:nil=true/
  OrigineExoneration
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
  xsi:nil=true/
  NumeroInterneCompte
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte

  NumeroExterneCompte
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte

  Categorie
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie

  SousCategorie xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
  xsi:nil=true/
  EtatCpte
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte

  NoPersonne
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne

  DateEtatCpte
  
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte

 
 
  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 help.
  Help will be greatly appreciated.
 
  Thank you in advance.
 
  
  Express yourself instantly with MSN Messenger! MSN Messenger
 
  
  Express yourself instantly with MSN Messenger! MSN Messenger
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



Express yourself instantly with MSN Messenger! MSN Messenger 
http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/



No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 10:55 PM
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou
Hi,
 
No, the operation is Document/Literal...
 
Why?



 Date: Thu, 10 Jan 2008 11:13:58 +0200 From: [EMAIL PROTECTED] To: 
 axis-user@ws.apache.org Subject: Re: [axis2] empty xmlns   Hello, is the 
 operation you are invoking RPC?  Greetings, Angel   Henry Duc de Cagade 
 de Branlou wrote:  Hello,Thanks for you reply.I already 
 have an elementFormDefault=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: [EMAIL PROTECTED]   To: 
 axis-user@ws.apache.org   Subject: Re: [axis2] empty xmlns 
 According to your schema, the compteAncre element must be unqualified,   
 therefore the generated response is correct. If you want the   compteAncre 
 element to be qualified, then add this attribute to the   
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema: 
 elementFormDefault=qualified Anne On Jan 7, 2008 3:45 
 AM, Henry Duc de Cagade de Branlou   [EMAIL PROTECTED] wrote: 
  Hi,  I have created an axis2 web service 
 (release 1.2). I used the top   bottomapproach with xmlbeans (used 
 the axis2 generator tool).The problem I have is that I have an empty 
 xmlns tag (related to   compteAncretag) in my soap web service 
 response :?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope   
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 soapenv:BodyfindByResponse
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 compteAncre xmlns=CodeOrganisme  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
 CodeExoneration 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/OrigineExoneration
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/NumeroInterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
 NumeroExterneCompte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
 Categorie  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
 SousCategorie xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/EtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
 NoPersonne  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
 DateEtatCpte  
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte
   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 
 help.Help will be greatly appreciated.   Thank you in 
 advance.   Express 
 yourself instantly with MSN Messenger! MSN Messenger   
 Express yourself instantly with MSN 
 Messenger! MSN Messenger   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, 
 e-mail: [EMAIL PROTECTED]
 -   To 
 unsubscribe, e-mail: [EMAIL PROTECTED]   For additional commands, e-mail: 
 [EMAIL PROTECTED] 
   
 Express yourself instantly with MSN Messenger! MSN Messenger   
 http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/  
   
  No virus found in this incoming message.  Checked by AVG Free Edition.  
  Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 1/6/2008 
 10:55 PM 
 - To 
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
 [EMAIL PROTECTED] 
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou

Hi,
 
By adding elementFormDefault=qualified into my wsdl file, I eventually get 
the empty namespace disappear (see compteAncre attribute) :
 
?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
soapenv:Body
findByArrayResponse 
xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
compteAncre
CodeOrganisme 
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;980/CodeOrganisme
 
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: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] Subject: Re: [axis2] empty xmlns  You also need it in the 
 inline schema in your WSDL file.  Anne  On Jan 10, 2008 4:04 AM, Henry 
 Duc de Cagade de Branlou [EMAIL PROTECTED] wrote:   Hello,   
 Thanks for you reply.   I already have an elementFormDefault=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: [EMAIL PROTECTED]   To: axis-user@ws.apache.org   
 Subject: Re: [axis2] empty xmlns   According to your schema, 
 the compteAncre element must be unqualified,   therefore the generated 
 response is correct. If you want the   compteAncre element to be 
 qualified, then add this attribute to the   
 http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema: 
 elementFormDefault=qualified Anne On Jan 7, 2008 3:45 
 AM, Henry Duc de Cagade de Branlou   [EMAIL PROTECTED] wrote: 
  Hi,  I have created an axis2 web service 
 (release 1.2). I used the top bottomapproach with xmlbeans (used the 
 axis2 generator tool).The problem I have is that I have an empty 
 xmlns tag (related to  compteAncretag) in my soap web service 
 response :?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope  
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 soapenv:BodyfindByResponse
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 compteAncre xmlns=CodeOrganisme 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
 CodeExoneration 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/OrigineExoneration
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/NumeroInterneCompte 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
 NumeroExterneCompte 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
 Categorie 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
 SousCategorie xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/EtatCpte 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
 NoPersonne 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
 DateEtatCpte 
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte
   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 
 help.Help will be greatly appreciated.   Thank you in 
 advance.   Express 
 yourself instantly with MSN Messenger! MSN Messenger   
 Express yourself instantly with MSN 
 Messenger! MSN Messenger   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, 
 e-mail: [EMAIL PROTECTED]
 -   To 
 unsubscribe, e-mail: [EMAIL PROTECTED]   For additional commands, e-mail: 
 [EMAIL PROTECTED]   Express 
 yourself instantly with MSN Messenger! MSN Messenger
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Re: [axis2] empty xmlns

2008-01-09 Thread Anne Thomas Manes
According to your schema, the compteAncre element must be unqualified,
therefore the generated response is correct. If you want the
compteAncre element to be qualified, then add this attribute to the
http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0 schema:

   elementFormDefault=qualified

Anne

On Jan 7, 2008 3:45 AM, Henry Duc de Cagade de Branlou
[EMAIL PROTECTED] wrote:


  Hi,


 I have created an axis2 web service (release 1.2). I used the top bottom
 approach with xmlbeans (used the axis2 generator tool).
 The problem I have is that I have an empty xmlns tag (related to compteAncre
 tag) in my soap web service response :
 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
  soapenv:Body
   findByResponse
 xmlns=http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0;
compteAncre xmlns=
 CodeOrganisme
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;390/CodeOrganisme
 CodeExoneration xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/
 OrigineExoneration
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/
 NumeroInterneCompte
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;60767/NumeroInterneCompte
 NumeroExterneCompte
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3940109656/NumeroExterneCompte
 Categorie
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;1/Categorie
 SousCategorie xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;
 xsi:nil=true/
 EtatCpte
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;3/EtatCpte
 NoPersonne
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;9514/NoPersonne
 DateEtatCpte
 xmlns=http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0;2000-01-15+01:00/DateEtatCpte


 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 help.
 Help will be greatly appreciated.

 Thank you in advance.

  
  Express yourself instantly with MSN Messenger! MSN Messenger

 
 Express yourself instantly with MSN Messenger! MSN Messenger

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]