Hi,
how can I generate serializers/deserializers for a class returning org.w3c.dom.Element type of object.
I'm using wstk's wsdlgen tool to generate serializers/deserializers,
but it gives the following error:
>> Transforming WSDL to NASSL ..
>> Generating Schema to Java bindings ..
Deleted file D:\SchoolMates\com\studentfileservice\www\StudentFile\Element.java
Created file D:\SchoolMates\com\studentfileservice\www\StudentFile\Element.java
Compiled file D:\SchoolMates\com\studentfileservice\www\StudentFile\Element.java
>> Generating serializers / deserializers ..
Deleted file D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerial
izer.java
Created file D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerial
izer.java
D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerializer.java:44:
Incompatible type for method. Explicit cast needed to convert com.studentfilese
rvice.www.StudentFile.Element to org.w3c.dom.Element.
Element tempEl = DOMUtils.getFirstChildElement(root);
^
D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerializer.java:63:
Incompatible type for method. Explicit cast needed to convert com.studentfilese
rvice.www.StudentFile.Element to org.w3c.dom.Node.
tempEl,
^
D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerializer.java:66:
Method getTagName() not found in class com.studentfileservice.www.StudentFile.E
lement.
String tagName = tempEl.getTagName();
^
D:\SchoolMates\com\studentfileservice\www\StudentFile\ElementSerializer.java:70:
Incompatible type for method. Explicit cast needed to convert com.studentfilese
rvice.www.StudentFile.Element to org.w3c.dom.Element.
tempEl = DOMUtils.getNextSiblingElement(tempEl);
^
4 errors
>> Generating deployment descriptor ..
Deleted file D:\SchoolMates\DeploymentDescriptor.xml
Created file D:\SchoolMates\DeploymentDescriptor.xml
Done.
Where do I need to make changes..??
-anjali
___________________NOTICE____________________________
This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of NIIT shall be understood to be neither given nor endorsed by NIIT When addressed to NIIT clients, any information contained in this e-mail is subject to the terms and conditions in the governing client contract.
