views:

142

answers:

0

Hello StackOverflow!

This is my first post, so apologies if I don't include all the right information!

I have a question regarding the different ways inheritance are represented between WCF and SUDS (Python). I have a C++/CLI WCF server (.NET 3.5 SP1) and I'm trying to communicate with it. I've used a C# (WCF also) client and it work fine, but there are problems when using a SUDS client (Python 2.6.4, SUDS 0.3.8). It's mostly fine, but for inherited types, and the difference seems to be in the way the two represent inheritance in the SOAP XML. When I look at the messages that the server logs, I get results similar to the following:

C# Client:

<ns:DerivedType>
...
</ns:DerivedType>

Python Client:

<ns:BaseType xsi:type="ns:DerivedType">
...
</ns:BaseType>

Is it possible to change the WCF server to accept the Python style? Or to change the Python SUDS client to send the WCF style? Which one is correct?

Thanks for any help! :-)

-Paul.