14 Commits
Author SHA1 Message Date
Atsushi Eno d38b8f4eb5 Empty XmlReader message caused failure on buffereed copy. 2011-04-18 17:20:22 +09:00
Atsushi Eno 0f2d03bddd Almost eliminate wrong use of Constants.WsaNamespace.
They should be addressing-version-aware.
2011-02-18 16:10:11 +09:00
Atsushi Eno e482c4db5e 2010-07-09 Atsushi Enomoto <[email protected]>
* Message.cs, MessageBufferImpl.cs, MessageImpl.cs: preserve and
	  output attributes prefixes, to copy Body/@wsu:Id to successfully
	  verify the xmldsig.


svn path=/trunk/mcs/; revision=160142
2010-07-09 16:19:19 +00:00
Atsushi Eno 25d38015d6 2010-07-09 Atsushi Enomoto <[email protected]>
* MessageImpl.cs : When XmlReaderMessage was writing its contents,
	  it was dropping body attributes, including wsu:Id for WS-Security.


svn path=/trunk/mcs/; revision=160105
2010-07-09 07:35:11 +00:00
Atsushi Eno 2cb30316fb 2010-07-02 Atsushi Enomoto <[email protected]>
* Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
	  XML attributes on s:Body are handled appropriately, not limited to
	  wsu:Id. Added several required overrides to Message and
	  MessageBuffer implementation classes.
	* SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
	  specific case but still fallback.


svn path=/trunk/mcs/; revision=159800
2010-07-01 22:55:20 +00:00
Atsushi Eno a2320571aa 2010-05-14 Atsushi Enomoto <[email protected]>
* MessageImpl.cs : do not use maxBufferSize for initialSize argument
          for MessageHeaders. Fix OutOfMemoryException for certain usage.


svn path=/trunk/mcs/; revision=157363
2010-05-14 14:21:24 +00:00
Atsushi Eno 8056b10c0e 2010-03-29 Atsushi Enomoto <[email protected]>
* XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
	  fix BodyWriter buffering that dropped in-scope namespaces and thus
	  caused problem on resolving QNames.

	* MessageFaultTest.cs : enable previous test.


svn path=/trunk/mcs/; revision=154354
2010-03-29 07:43:14 +00:00
Atsushi Eno 570c1d9c76 2010-03-26 Atsushi Enomoto <[email protected]>
* MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().

	* MessageBufferTest.cs : add test for copy of IsFault value.


svn path=/trunk/mcs/; revision=154250
2010-03-26 08:10:09 +00:00
Atsushi Eno b2e1fea729 2009-08-18 Atsushi Enomoto <[email protected]>
* Message.cs, MessageImpl.cs, BodyWriter.cs :
	  Implement BodyWriter.OnCreateBufferedCopy() and use it.


svn path=/trunk/mcs/; revision=140124
2009-08-18 03:47:21 +00:00
Atsushi Eno a18fbb9d9d 2009-05-13 Atsushi Enomoto <[email protected]>
* MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
	  actually eliminate DOM-based implementation too in 2.0.

	* Makefile : remove xlinq dependency.


svn path=/trunk/mcs/; revision=134052
2009-05-13 11:53:36 +00:00
Atsushi Eno dedaecf9c5 2009-03-05 Atsushi Enomoto <[email protected]>
* MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
          handle headers in SL2. Slightly changed 3.0 code too.

        * Makefile : added /r:System.Xml.Linq in 2.1 too.


svn path=/trunk/mcs/; revision=128670
2009-03-05 09:33:52 +00:00
Atsushi Eno 86d031f8a5 2009-02-27 Atsushi Enomoto <[email protected]>
* Message.cs : (in CreateBufferedCopy) do not pass the entire
          message as BodyWriter.
          (in GetReaderAtBodyContents) just write body contents.
        * MessageImpl.cs : do not try to read body at ctor (fixed tons
          of test failures).
          Add some state check in GetReaderAtBodyContents().
        * XmlReaderBodyWriter.cs : avoid possible extra xmldecl onto output.


svn path=/trunk/mcs/; revision=128186
2009-02-27 09:05:12 +00:00
Jb Evain 031fa07cc1 2008-09-12 Astushi Enomoto <[email protected]>
Jb Evain  <[email protected]>

	* Makefile: support net_2_1_raw compilation profile.
	* net_2_1_raw_System.ServiceModel.dll.sources

	* *.cs: SL2 compilation support.


svn path=/trunk/mcs/; revision=112857
2008-09-12 11:21:41 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00