请问,在JBuilder9中wsdl文件是不是不能包含<fault>标记?
如下所示:
<portType name='IpService'>
<operation name='setCallback'>
<input message='osa:IpService_setCallback' />
<output message='osa:IpService_setCallbackResponse' />
<!--
<fault name='TpCommonExceptions' message='osa:TpCommonExceptions' />
<fault name='P_INVALID_INTERFACE_TYPE' message='osa:P_INVALID_INTERFA
CE_TYPE' />
-->
</operation>
<operation name='setCallbackWithSessionID'>
<input message='osa:IpService_setCallbackWithSessionID' />
<output message='osa:IpService_setCallbackWithSessionIDResponse' />
<!--
<fault name='TpCommonExceptions' message='osa:TpCommonExceptions' />
<fault name='P_INVALID_SESSION_ID' message='osa:P_INVALID_SESSION_ID'
/>
<fault name='P_INVALID_INTERFACE_TYPE' message='osa:P_INVALID_INTERFA
CE_TYPE' />
-->
</operation>
</portType>
<binding name='IpServiceBinding' type='osa:IpService'>
<soap:binding style='rpc' transport='
http://schemas.xmlsoap.org/soap/http' />
<operation name='setCallback'>
<soap:operation soapAction='
http://www.csapi.org/osa/IpService#setCallback' />
<input message='osa:IpService_setCallback'>
<soap:body
encodingStyle='
http://schemas/xmlsoap.org/soap/encoding/' namespace = '
http://www.csapi.org/osa/wsdl' use='encoded' />
</input>
<output message='osa:IpService_setCallbackResponse'>
<soap:body
encodingStyle='
http://schemas/xmlsoap.org/soap/encoding/' namespace = '
http://www.csapi.org/osa/wsdl' use='encoded' />
</output>
<!--
<fault name='TpCommonExceptions' message='osa:TpCommonExceptions'>
<soap:fault
name='TpCommonExceptions'
encodingStyle='
http://schemas/xmlsoap.org/soap/encoding/' namespace = '
http://www.csapi.org/osa/wsdl' use='encoded' />
</fault>
<fault name='P_INVALID_INTERFACE_TYPE' message='osa:P_INVALID_INTERFA
CE_TYPE'>
<soap:fault
name='P_INVALID_INTERFACE_TYPE'
encodingStyle='
http://schemas/xmlsoap.org/soap/encoding/' namespace = '
http://www.csapi.org/osa/wsdl' use='encoded' />
</fault>
-->
</operation>
。
。
。
。
。
。
--
FROM 211.96.102.121