Hi Jitu ,
When I use a Xmime type as "text/plain" instead of "image/jpeg" or
"text/xml"
I am able to see that the generated artifacts, has getter/setter with
arguments as "String" instead of " Image or Source" respectively.
But when we create an JAXB object using this,it(text/plain) is not able to
call the AttachmentMarshaller.
Is it that AttachementMarshaller will not be called for String(text/plain)
, or in other words,
Do we use AttachmentMarshaller only for the files(.xml,.jpeg,.gif) and not
for Strings ?
Please find attached the wsdl file and the Wrapper class that creates a
jaxb object for the artifacts and tries to marshal the same.
(See attached file: EnableJAXBTextPlain.wsdl)(See attached file:
xmlmime.xsd)
(See attached file: JAXBTest.java)(See attached file:
AttachmentMarshallerTestImpl.java)
Thanks and Regards,
Jayashree