Error 438 Object doesnt support the property or method when using eConnect SOAP sample.


TechKnowledge Content


Question:

An error '438 Object doesn't support the property or method' is returned when trying to use the eConnect Soap Client. The SOAP SDK has been installed and the soap:address location in the eConnectSoapSample.wsdl file was edited to reflect the computer name and virtual directory created. What else can be done to resolve this problem?

Answer:

Verify that the settings in the Connection Path are correct. The provider should be set equal to SQLOLEDB.1 and the data source the machine name where sql server is installed. If it still fails, recreate the .wsdl and .wsml files by following the steps below:
 
1. Make a backup of the existing eConnectSoapSample.wsdl and eConnectSoapSample.wsml files. They will be located in the Program Files\Microsoft Great Plains\eConnect\eConnect Samples\SOAP\eConnect SoapSamples\Service\Isapivb folder.
2. Navigate to Start > Programs > Microsoft SOAP Toolkit > WSDL Generator.
3. Click Next on the Welcome screen.
4. Name the WSDL file eConnectSoapSample and click the Select COM Object button to browse to the eConnect.dll. The default path for the .dll is Program Files\Microsoft Great Plains\eConnect\COM. Click Next.
5. In the Select the Service window, mark the checkbox next to both ExecProcXML and ExecStoredProcedure. Click Next.
6. On the SOAP Listener information window, set the URI to the servername and virtual directory where IIS is loaded. Click Next
7. Finally Specify the location for the new .wsdl and .wsml files. Browse to Program Files\Microsoft Great Plains\eConnect\eConnect Samples\SOAP\eConnect SoapSamples\Service\Isapivb. Click next to complete the process, you cannot click the Back button after this window. Click Yes to replace the existing.
8. On the Finished window, click Finish.
9. Run the eConnect Soap Client using the new .wsdl and .wsml files.


This article was TechKnowledge Document ID: 26743
Keywords:  
kbnosurvey  kbarchive  kbMBSPartner  kbMBSMigrate  BemisKB856904