SDL1014 : recursively defined types are not supported

I've got a web service that was written in C# that I am trying to access from a native C++ DLL (built under 2003) that is using Managed Extensions and when trying to build the DLL I am getting the following error:

error SDL1014 : recursively defined types are not supported, with
[
namespace = "http://tempuri.org/"
name = "PID"
]

While I understand what the gripe is, as one of the types defined by the Web Service and handed down in the WSDL of it is potentially recursive... I do not understand why though C++ is crying bloody murder over this when C# and VB.NET are just fine with it.

A quickGoogle orMSN search reveals virtually nothing on this issue and at present I am stumped.

Anyone have any ideas how short of recoding my data structure to not be recursive or recode the DLL to not be C++ based (which it’s got to be as it will be used by a VC6 application and we’ve had a bugger of a time getting C# dll’s to be accessible from there)?

[1294 byte] By [BrendanGrant] at [2007-12-24]

.NET Development

Site Classified