Hello!

I've got a class hierarchy that reads like this:

Folder
 |
 +- FileDescriptor
     |
     +- BinaryFileData


For my webservice i'd like FileDescriptor and BinaryFileData to be converted 
on-the-fly
to a single transfer object. Is it possible to solve this with a type adapter?

I already tried to implement it with an adapter but the WSDL that is generated
still utilizes the original types.

I thought placing a package-info.java (with @XmlJavaTypeAdapter Annotation) in
the package containing my web service implementation would do the trick but it
doesn't.

Can someone provide help?

Best regards,

Fabian

Reply via email to