Is there a way to inject external XML Schema types into the WSDL generated
from a SoapService? In "classic" asmx, we could do this, but it involved
using Soap Reflection Hooks and quite a bit of work.
What I would like to do is somehow bind an XmlElement type to an element
declaration in an external schema. Given a function like:
[return: SchemaType(QName, [schemaLocation])]
public XmlElement foo();
The WSDL generator would inject the schema definition -- either inline or as
an import. Anyway, I know that an attribute like this doesn't exist. Is
there a reasonable WSE workwround? Thanks,
- Erik
Dilip Krishnan - 01 Feb 2005 20:03 GMT
Hello Erik J.,
You could create a SoapService derived service and override the GetDescription
method.. However that would mean moving away from the asmx model.
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Is there a way to inject external XML Schema types into the WSDL
> generated from a SoapService? In "classic" asmx, we could do this,
[quoted text clipped - 10 lines]
>
> - Erik