You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org> on 2007/03/14 15:15:09 UTC

[jira] Updated: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter writer) has a bug in serializing.

     [ https://issues.apache.org/jira/browse/WSCOMMONS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saminda Wishwajith Abeyruwan updated WSCOMMONS-178:
---------------------------------------------------

    Attachment: diff.txt

> Policy.serialize(XMLStreamWriter writer) has a bug in serializing.
> ------------------------------------------------------------------
>
>                 Key: WSCOMMONS-178
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-178
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: Policy
>         Environment: Any
>            Reporter: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>         Attachments: diff.txt
>
>
> public void serialize(XMLStreamWriter writer) throws XMLStreamException, does not serialize the policy object properly when different Stax implementations are used. I've tried to use Policy with Axis2 in Weblogic environment and it did not serialize the policy object, where as stax-api and wstx-asl serialize it properly. When i dig thorough, this misbehavior due to different implementations of stax. Thus, in order to cope with both environments, I've modified the serialize logic and attached the patch herewith. Please review it and apply it. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org