This content has been marked as final.
Show 5 replies
-
1. Re: JAXBDeserializer unmarshalling
alesj Nov 8, 2006 5:39 AM (in response to alesj)If I remove xmlns='http://localhost:8080/jaxrpc/axis/AccountService' from root tag, it works.
How do I achieve the removal in WS.
Defining WebResult on the method return? -
2. Re: JAXBDeserializer unmarshalling
heiko.braun Nov 8, 2006 5:51 AM (in response to alesj)The XMLRootElement is not name space qualified. Try adding the NS to it:
@XmlRootElement(name = "createAccountReturn", namespace="http://localhost:8080/jaxrpc/axis/AccountService")
-
3. Re: JAXBDeserializer unmarshalling
alesj Nov 8, 2006 6:13 AM (in response to alesj)Nope.
No change - still null values.@XmlRootElement(name = "createAccountReturn", namespace="http://localhost:8081/jaxrpc/axis/AccountService") public class Account implements Serializable { -- value = Account{username='null', password='null', creationDate=null}
-
4. Re: JAXBDeserializer unmarshalling
alesj Nov 8, 2006 6:35 AM (in response to alesj)Can I set that the namespace is ignored?
-
5. Re: JAXBDeserializer unmarshalling
alesj Nov 8, 2006 7:56 AM (in response to alesj)Adding namespace to property solved the problem:
@XmlElement(namespace="http://localhost:8081/jaxrpc/axis/AccountService") public String getUsername() { return username; }