Last modified by Artur on 2025/08/19 10:43

From version 6.2
edited by Helena
on 2025/05/21 22:02
Change comment: There is no comment for this version
To version 6.3
edited by Helena
on 2025/05/21 22:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2226,6 +2226,8 @@
2226 2226  
2227 2227  The difference between the two is that for the first method, **SubmitXml**, the XmlSerializer will expect an element named **input** to be an immediate child of the **SubmitXml** element in the SOAP body. The second method, **SubmitXmlAny**, will not care what the name of the child of the **SubmitXmlAny** element is. It will plug whatever XML is included into the input parameter. The message style from ASP.NET Help for the two methods is shown below. First we look at the message for the method without the **XmlAnyElement** attribute.
2228 2228  
2229 +[[image:1747854163928-581.png]]
2230 +
2229 2229  Now we look at the message for the method that uses the **XmlAnyElement** attribute.
2230 2230  
2231 2231  The method decorated with the **XmlAnyElement** attribute has one fewer wrapping elements. Only an element with the name of the method wraps what is passed to the **input** parameter.
1747854163928-581.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +29.8 KB
Content