D
Drebin
I need to make my web service interface support something so the
soap-request is something like this:
<SSNs>
<SSN />
<SSN />
</SSNs>
about the only way I could figure to do this is like by having that
parameter defined as:
public void Test(SSN[] SSNs)
where SSN is a struct or class. But that has been pretty messy, trying to
get that class to act like a string. because what I REALLY want is to define
it like this:
public void Test(string[] SSNs)
But that changes the soap-request to show up as:
<SSNs>
<string>string</string>
<string>string</string>
</SSNs>
So.. it seems I either need find an attribute to "rename" string.. or create
a class that acts just like string.. but I can't do that, because it's a
sealed class.
ANY ideas???
--
soap-request is something like this:
<SSNs>
<SSN />
<SSN />
</SSNs>
about the only way I could figure to do this is like by having that
parameter defined as:
public void Test(SSN[] SSNs)
where SSN is a struct or class. But that has been pretty messy, trying to
get that class to act like a string. because what I REALLY want is to define
it like this:
public void Test(string[] SSNs)
But that changes the soap-request to show up as:
<SSNs>
<string>string</string>
<string>string</string>
</SSNs>
So.. it seems I either need find an attribute to "rename" string.. or create
a class that acts just like string.. but I can't do that, because it's a
sealed class.
ANY ideas???
--