Hi Expert's,
I am trying to consume Virsa Complience GRC 10 web service "Risk Analysis without request number" in an .Net application.
When I am providing wsdl file as web reference in .Net pplication. It is creating proxy file but not creating proper reference.cs file (which is created automatically when we give wsdl web reference.
I doubt the error should be in WSDL file (attached with this thread in xml format).
When I am opening wsdl file in .Net environment, it showing me two two warning
1. Type 'urn:sap-com:document:sap:rfc:function:char1' is not declared.
<xsd:element name="SimulationRiskOnly" type="n0:char1" minOccurs="0"/>
However it is define there
<xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<xsd:simpleType name="char1">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1"/>
</xsd:restriction>
2. The element 'portType' in namespace 'http:....' has invalid child element 'Policy' in namespace
<wsdl:portType name="GRAC_RISK_ANALYSIS_WOUT_NO_WS">
<wsp:Policy>
<wsp:PolicyReference URI="#IF_IF_GRAC_RISK_ANALYSIS_WOUT_NO_WS"/>
</wsp:Policy>
Thanks
Raseed Abdul