OMElement remove empty spaces

2008-04-24 Thread Luis Costa
Hi there,

 

I'm Using org.apache.axiom.om.OMElement, 

OMElement.detach() instruction is creating empty spaces in final OMElement

 

// remove all the top level children

OMElement yyy = find_xxx();

for (Iterator it= yyy.getChildElements(); it.hasNext(); ) {

  OMElement child = (OMElement) it.next();

// is here where the empty spaces are being added

  child.detach();

}

 

// add the top level children

for (int i=0; i







 

 



 













 

 

Question:

Is there a way to remove those empty spaces?

 

 

 

 

Thank you for your attention and best regards,

 

Luís Costa

Software Developer

 

[EMAIL PROTECTED]  

 

www.alert-online.pt  

 

 

ALERT Life Sciences Computing, S.A.

Edifício Lake Towers - pisos 7, 8 e 9

Rua Daciano Baptista Marques, n.º 245

4400-617 Vila Nova de Gaia

Portugal

Tel.: +351 22 832 89 80

Fax.: +351 22 832 89 82

[EMAIL PROTECTED]  

 

This e-mail is privileged, confidential and contains private information. Any 
reading, retention, distribution or copying of this communication by any person 
other than its intended recipient is prohibited.

 

 



Internationalization Unicode

2008-03-27 Thread Luis Costa
 

Hi all

 

I'm developing a web service, I use axis2 code generator to generate server 
side code from wsdl and I have already the web service working.

Although I have some doubts about how handle with deferent characters (Chinese 
for example)

Question:

Do axis 2 do any kind of treatment (Unicode) of those characters?

What is advisable and what are the currently available solutions to deal with 
these situations?

 

 

 

Thank you for your attention and best regards,

 

Luís Costa

Software Developer

 

[EMAIL PROTECTED]  

 

www.alert-online.pt  

 

 

ALERT Life Sciences Computing, S.A.

Edifício Lake Towers - pisos 7, 8 e 9

Rua Daciano Baptista Marques, n.º 245

4400-617 Vila Nova de Gaia

Portugal

Tel.: +351 22 832 89 80

Fax.: +351 22 832 89 82

[EMAIL PROTECTED]  

 

This e-mail is privileged, confidential and contains private information. Any 
reading, retention, distribution or copying of this communication by any person 
other than its intended recipient is prohibited.

 

 



Internationalization

2008-03-25 Thread Luis Costa
 

Being Web internationalization a major issue, 

Does axis2 do any kind of treatment to the different characters encoding (for 
example the use of Unicode)? Once the character set and character encoding is 
potentially different for each language.

 

 

 

Thank you for your attention and best regards,

 

Luís Costa

Software Developer

 

[EMAIL PROTECTED]  

 

www.alert-online.pt  

 

 

ALERT Life Sciences Computing, S.A.

Edifício Lake Towers - pisos 7, 8 e 9

Rua Daciano Baptista Marques, n.º 245, Bloco D

4400-617 Vila Nova de Gaia

Portugal

Tel.: +351 22 832 89 80/1

Fax.: +351 22 832 89 82

[EMAIL PROTECTED]  

 

This e-mail is privileged, confidential and contains private information. Any 
reading, retention, distribution or copying of this communication by any person 
other than its intended recipient is prohibited.