[
http://issues.apache.org/jira/browse/AXIS-1518?page=comments#action_58904 ]
Jongjin Choi commented on AXIS-1518:
------------------------------------
This is a patch for xml declaration.
A short description is :
- mixing SOAPPart approach and SerializationContext and SAXOutputter approach.
SOAPPart : determine xml decl is needed (using currently added
currentEncoding)
SerializaitonContext and SAXOutputer : output xml decl
- JAX-RPC view : When there is a MessageContext, xml decl is always emitted.
(This is necessary. Isn't it?)
- SAAJ view : When there is no MessageContext, xml decl is emitted according
to
SOAPMessage.WRITE_XML_DECLARATION property
- Additional Fix : SOAPMessage.CHARACTER_SET_ENCODING property works now.
I'd like Ias and/or Glen to review and apply this patch. all-tests passed.
> XML Declaration missing
> -----------------------
>
> Key: AXIS-1518
> URL: http://issues.apache.org/jira/browse/AXIS-1518
> Project: Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: current (nightly)
> Environment: Nightly 2004-08-18 (ws-axis_20040818043750.tar.gz)
> Reporter: Oliver Adler
> Assignee: Ias
> Priority: Blocker
> Attachments: TestMessageProperty.java, patch-2004-09-07-02.txt, src.patch,
> test.patch
>
> The serialized SOAP Message misses the XML Declaration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira