Hi,I'm evaluating Xfire 1.2.6 with JAXB 2.0 bindings, following 
thedocumentation's guidelines to build a web service in a schema-first 
development(jaxb2 example using Maven and services.xml).The schema is provided 
from an external organisation as well as the client soI am to develop the 
server side and business logic.All went well but looking at the ws response I 
noticed a duplication of the XML root node. Here is an example:Request:<?xml 
version="1.0" encoding="UTF-8" ?> <getUser xmlns="http://www.notset.com/test";>  
  <schemaVer version="0.0.1"/>    <userLogin>        <userID>jack</userID>    
</userLogin></getUser>Response:<?xml version="1.0" encoding="UTF-8" ?> 
<ns1:getUserResponse xmlns:ns1="http://www.notset.com/test";>  <getUserResponse 
xmlns="http://www.notset.com/test";>    <schemaVer version="0.0.1" /> -   
<accList>      <access>Any</access>     </accList>  
</getUserResponse></ns1:getUserResponse>As you can see the root element is 
doubled, the first occurrence with a namespaceprefix using ns1 with both 
elements referring to the same namespace. Does anyone saw this before? Thanks 
for any help,Tom
_________________________________________________________________
Sai cosa รจ successo oggi?
http://notizie.msn.it

Reply via email to