Hi all!
I have a couple of questions regarding the SOAP serialized from classes
generated by Visual Studio from a wsdl. The SOAP server is written in
Smalltalk using the VisualAge Sst framework. There are some differences in
the SOAP messages constructed from the WSDL in the two products, and I need
help to better understand and control the .NET side
1. soapenc:Array
Whenever an element say "message" has maxoccurs unbounded, .NET uses
soapenc:array to represent the item. e.g:
<soapenc:Array " id="id6" soapenc:arrayType="q7:message[1]">
<Item href="#id9"/>
</soapenc:Array>
where as the server will use normal XML representation of a repeated element
<message....
<message...
<message...
How do I instruct .NET to avoid wrapping these elements in an array?
2. id/#href
The above example also illustrates that EVERY complex child node in the
document, is created as a separate node and connected to the parent node via
href. In our case this is not neccesary since the message is guaranteed to be
a hierarchy and not a graph.
How do I instruct .NET to avoid using href?
Any help would be greatly appreciated. This is all down to my limited
knowledge of .NET, so be gentle with me ;-).
Regards
Martin Skarsaune, Norway