cancel
Showing results for 
Search instead for 
Did you mean: 

Use of JAXB in NWDS

Former Member
0 Kudos

Hi Experts,

We are facing problems with the use of JAXB 2.0 in NWDS 2004, with JDK 1.5.

Actually we had to do XML parsing, along with validation, w.r.t.

a large and complicated schema definition, so we chose JAXB,

which would be faster.

For working with JAXB, we installed the Java WSDP 2.0, and were

successful in creating the Java classes from the given schema definition.

But, when we imported the generated classes in a Java DC, syntax errors

are shown on the annotations generated by the JAXB Binder / compiler.

Hence, the Java Project cannot be compiled.

Also, if the java project is compiled at the command prompt,ie. using javac,

it gets successfully compiled and executed. That means, we are able to fetch

the Objects (of the JAXB generated Java classes) created by unmarshalling

(parsing in JAXB terms) the XML.

We have included all the required JAR files for use of JAXB.

Please give some guidelines, for the use of JAXB 2.0 generated Java Classes

in NWDS.

For reference, <a href="http://www.oreillynet.com/cs/user/view/cs_msg/81043">JAXB 2.0</a> and <a href="http://java.sun.com/developer/technicalArticles/WebServices/jaxb/#binsch">Using JAXB</a>

Regards,

Alka.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Following links may help you.

1 . https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30b14637-8cb3-2910-438d-9ebed614...

2 . /people/sap.user72/blog/2005/12/14/is-web-dynpro-using-ajax

Regards

Abhijith YS

Answers (1)

Answers (1)

Former Member
0 Kudos

Used JAXB 1.4 Version instead.