svcPSD_AMIS
The following operations are supported. For a formal definition, please review the Service Description.
-
GetDataByCommodity
MessageName="getDatabyCommodity"
Input Parameters:
ByVal strCommodityCode As String - single commodity code of commodity codes
Output:
(DataSet) Statistics data for all countries, all attributes and all years from 2000 forward for a given commodity.
On Error:
Returns a single-row DataSet with the Error description. -
GetDataByCommodity
MessageName="getDatabyCommodityPerYear"
Input Parameters:
ByVal strCommodityCode As String - single commodity code of commodity codes
ByVal strYear As String - 4 digit year
Output:
(DataSet) Statistics data for all countries, all attributes for a given year, and commodity.
On Error:
Returns a single-row DataSet with the Error description. -
GetWorldDataByCommodity
MessageName="getWorldDatabyCommodity"
Input Parameters:
ByVal strCommodityCode As String - single commodity code of commodity codes
Output:
(DataSet) Statistics data for world, all attributes and all years from 2000 forward for a given commodity.
On Error:
Returns a single-row DataSet with the Error description. -
GetWorldDataByCommodity
MessageName="getWorldDatabyCommodityPerYear"
Input Parameters:
ByVal strCommodityCode As String - single commodity code of commodity codes
ByVal strYear As String - 4 digit year
Output:
(DataSet) Statistics data for world, all attributes for a given year, and commodity.
On Error:
Returns a single-row DataSet with the Error description.
This web service does not conform to WS-I Basic Profile v1.1.
Please examine each of the normative statement violations below. Follow the recommendations to remedy it, or add setting to the <webServices> config section to turn off BP 1.1 conformance warnings for the entire vroot.
To turn off BP 1.1 conformance warnings for the entire vroot remove the 'BP1.1' value from the <conformanceWarnings> section of the configuration file of your application:
<configuration>
<system.web>
<webServices>
<conformanceWarnings>
<remove name='BasicProfile1_1'/>
</conformanceWarnings>
</webServices>
</system.web>
</configuration>
R2304: Operation name overloading in a wsdl:portType is disallowed by the Profile. A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes. Note that this requirement applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.
- Operation 'GetDataByCommodity' on portType 'svcPSD_AMISSoap' from namespace 'http://www.fas.usda.gov/wsfaspsd/'.
- Operation 'GetWorldDataByCommodity' on portType 'svcPSD_AMISSoap' from namespace 'http://www.fas.usda.gov/wsfaspsd/'.
Recommendation: To make service conformant please make sure that all web methods belonging to the same binding have unique names.
For more details on Basic Profile Version 1.1, see the Basic Profile Specification.