@XMLValue in the subclass
up vote
0
down vote
favorite
I writing a Webservice, and already generated the data classes from a HUGE wsdl (HL7 v3). (with CXF's wsdl2java command)
All element are derived from an ANY (ANYType) with restrictions.
This ANY contains only one xmlAttribute.
At the n-th descendant class (ST), i'd like to read the value (as string) of the node:
<ST ...>value</ST>
I already try the @XMLValue, but because its a subclass not allowed to use.
I don't have any clue...
Thanx
java jaxb xml-binding
add a comment |
up vote
0
down vote
favorite
I writing a Webservice, and already generated the data classes from a HUGE wsdl (HL7 v3). (with CXF's wsdl2java command)
All element are derived from an ANY (ANYType) with restrictions.
This ANY contains only one xmlAttribute.
At the n-th descendant class (ST), i'd like to read the value (as string) of the node:
<ST ...>value</ST>
I already try the @XMLValue, but because its a subclass not allowed to use.
I don't have any clue...
Thanx
java jaxb xml-binding
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I writing a Webservice, and already generated the data classes from a HUGE wsdl (HL7 v3). (with CXF's wsdl2java command)
All element are derived from an ANY (ANYType) with restrictions.
This ANY contains only one xmlAttribute.
At the n-th descendant class (ST), i'd like to read the value (as string) of the node:
<ST ...>value</ST>
I already try the @XMLValue, but because its a subclass not allowed to use.
I don't have any clue...
Thanx
java jaxb xml-binding
I writing a Webservice, and already generated the data classes from a HUGE wsdl (HL7 v3). (with CXF's wsdl2java command)
All element are derived from an ANY (ANYType) with restrictions.
This ANY contains only one xmlAttribute.
At the n-th descendant class (ST), i'd like to read the value (as string) of the node:
<ST ...>value</ST>
I already try the @XMLValue, but because its a subclass not allowed to use.
I don't have any clue...
Thanx
java jaxb xml-binding
java jaxb xml-binding
asked 19 hours ago
Csaba Toth
12
12
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237525%2fxmlvalue-in-the-subclass%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password