2009-09-17 3 views

Répondre

4

WSDL a un appel de section <wsdl:types> que vous pouvez utiliser pour votre schéma XML:

<?xml version="1.0" encoding="utf-8"?> 
<wsdl:definitions 
    .... 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> 
    <wsdl:types> 
    <xsd:schema targetNamespace="......"> 
      [here you can either import an XSD from a external file, 
      or add your XML schema directly] 
    </xsd:schema> 
</wsdl:types> 

Il y a au moins trois extensions WCF que je connais qui le fera pour vous:

Marc

+0

merci pour les liens. – frameworkninja