isXOPPackage() is returning an incorrect value
----------------------------------------------
Key: JBWS-2089
URL:
http://jira.jboss.com/jira/browse/JBWS-2089
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-2.0.3
Reporter: David Boeren
I am trying to pass an mtom/xop attachment on a webservice call, but the attachment is not
being correctly received. When I step through the JbossWS code, it gets to the
org.jboss.ws.extensions.xop.jaxws.AttachmentUnmarshallerImpl class. When the
isXOPPackage() method is called, the return value is false, so the
getAttachmentAsDataHandler() method never gets called. If I force the isXOPPackage() to
return true, then getAttachmentAsDataHandler() is called, and I can see the attachment
data in the web method. So, it looks as if there is a bug in isXOPPackage() which is
preventing it from recognizing the attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira