2012-07-17 71 views

回答

2

假定您已經通過添加生成項目添加架構到你的PROC /使用WCF適配器服務的,PROC請求架構應該尋找一個可空PROC領域如下:

<xs:element minOccurs="0" maxOccurs="1" name="MyParam" nillable="true" type="xs:int" /> 

在您的地圖,請使用nil value functoid來繪製地圖,或者如果您使用的是XSLT,那麼您可以像這樣映射:

<ns0:MyProc> 
    <ns0:MyParam> 
    <xsl:attribute name="xsi:nil"> 
     <xsl:value-of select="'true'" /> 
    </xsl:attribute> 
    </ns0:MyParam> 
</ns0:MyProc> 
相關問題