Commit Graph
22 Commits
Author SHA1 Message Date
Alexander Köplinger c4692001a9 [bcl] Fix method parameter names to match .NET
The names were fixed only for the subset of methods that are included in netstandard,
and in cases where netstandard differs from Desktop .NET we match with .NET.
2016-08-26 17:49:03 +02:00
Atsushi Eno d2cdee078d [WCF] XmlReader from GetReaderAtBodyContents() should not be missing xmlns-es.
The namespace declarations existed when the entire Message is read but not
in the partial body contents. They caused regressions when we use
serialization stack from referencesource.

It is possible that more namespaces may be requied, but we will be importing
System.ServiceModel later on and then the issue will go away.
So far we don't want regression as long as they show up in our NUnit tests.
2015-04-24 14:36:58 +09:00
Atsushi Eno b40dd06602 [WCF] fix mobile builds. Mono.Xml.XPath is gone. 2015-03-02 11:36:42 +08:00
Atsushi Eno 3001bd0d94 [WCF] for certain kind of Messages, do now write BodyContents twice. 2015-02-21 03:28:07 +08:00
Zoltan Varga c1b4366932 [bcl] Remove NET_4_5 defines from class libs. 2015-01-13 16:34:23 -05:00
Martin Baulig 1ae87e9ee9 [WCF]: Add stubs for some missing .NET 4.0/4.5 APIs. 2013-09-02 21:52:13 +02:00
Atsushi Eno 509f45a0ae finally implement Message.ToString() as in expected form.
Regressions on this method has caused several unpredictable errors,
so I avoided this for somewhat long time...
2011-06-14 18:43:29 +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 ba9b744df1 2010-07-09 Atsushi Enomoto <[email protected]>
* MessageHeader.cs : to clone raw xml completely, avoid using 
	  ReadOuterXml() and text reader but use XmlNodeReader instaed.
	* Message.cs : avoid extraneous xmlns:u attribute.


svn path=/trunk/mcs/; revision=160120
2010-07-09 11:33:07 +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 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 4947b938d6 2010-03-26 Atsushi Enomoto <[email protected]>
* Message.cs : fix explanation on CreateMessage() overloads.


svn path=/trunk/mcs/; revision=154280
2010-03-26 14:47:28 +00:00
Atsushi Eno a97f90e673 2010-02-10 Atsushi Enomoto <[email protected]>
* MessageHeader.cs, Message.cs : use dictionary string whenever
	  applicable. The binary output on #577139 is getting closer (no
	  idea if it is really about binary output though).


svn path=/trunk/mcs/; revision=151194
2010-02-10 07:38:23 +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 9f127bdcf5 2009-08-17 Atsushi Enomoto <[email protected]>
* Message.cs : state is set only after WriteBodyContents().

	* MessageTest.cs : added test for State.


svn path=/trunk/mcs/; revision=140045
2009-08-17 09:41:16 +00:00
Atsushi Eno c4295157ad 2009-05-28 Atsushi Enomoto <[email protected]>
* MessageBufferImpl.cs : it did not copy headers.
	* Message.cs : remove 2_1 conditional implementation for buffered
	  copy and hence remove bogus code.


svn path=/trunk/mcs/; revision=134929
2009-05-28 06:56:48 +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
Atsushi Eno 61727cd7c2 2009-02-18 Atsushi Enomoto <[email protected]>
* Message.cs : do not forget to flush.
        * HttpRequestChannel.cs : give more exact error info.


svn path=/trunk/mcs/; revision=127251
2009-02-18 08:12:36 +00:00
Atsushi Eno 19918597cf 2009-02-18 Atsushi Enomoto <[email protected]>
* Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
          make buffered copy in ML2 really buffered.


svn path=/trunk/mcs/; revision=127248
2009-02-18 07:22:44 +00:00
Atsushi Eno 7a7a4c4cb3 2009-02-12 Atsushi Enomoto <[email protected]>
* Message.cs : if there is no header item to write, do not write
	  SOAP header element.


svn path=/trunk/mcs/; revision=126705
2009-02-12 11:31:26 +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