| Author |
Two Question [JAXB and JAX-WS]
|
Khaled Mahmoud
Ranch Hand
Joined: Jul 15, 2006
Posts: 360
|
|
Hi,
I got two questions, one about JAXB and one about JAX-WS .
The first one which is about JAXB. When unmarshelling objects using the [unmarshaller] that is obtained from the JAXB context, there is an option to do validation, that is if the data correspond to the constraint declared in the XML schema.
The question is, how does the JAXB API know to wich XML Shcema file (xsd) to look. Let's say we have three XSD file, and more over there might be DTD files as well.
The second Question : Is there any comprehensive simple tutorial, set of articles covering JAX-WS inluding Communication models, Dispatches ... etc
Thanks in advance.
|
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
The following code snippet shows how perform validation when using JAXB to unmarshall XML data:
Best wishes!
|
 |
 |
|
|
subject: Two Question [JAXB and JAX-WS]
|
|
|