Salesforce

Using SSL parameters to make a secure WebServices call fails with error 301

« Go Back

Information

 
TitleUsing SSL parameters to make a secure WebServices call fails with error 301
URL Name000057783
Article Number000192487
EnvironmentProduct: OpenEdge
Version: 11.4, 11.5
OS: All supported platforms
Other: WebServices
Question/Problem Description
Using SSL parameters to make a secure WebServices call fails with error 301.

Attempting to use the following parameters in the CONNECT statement:

-SSLAuth
-SSLKeyFile
-SSLKeyPwd

Error suggests that the SSL parameters are not recognized.

Parameters match the description from both the Online Help and documentation.
 
Steps to Reproduce
Clarifying Information
Example of the syntax:

hWebService:CONNECT("-WSDL 'C:\Temp\myWsvc.wsdl' "  +
                    "-SSLAuth ssl " +
                    "-SSLKeyFile C:\Temp\myCert.p12 " +
                    "-SSLKeyPwd *********** " +
                    "-Port T " +
                    "-ssl "  ).
Error Message** Could not recognize argument: -SSLAuth. (301)
Defect NumberDefect PSC00326723
Enhancement Number
Cause
This is a documentation bug. The SSL parameters are documented with the incorrect casing.
Resolution
Use the parameters with the following casing to avoid the error:

-sslAuth
-sslKeyFile

-sslKeyPwd

For example:


hWebService:CONNECT("-WSDL 'C:\Temp\myWsvc.wsdl' "  +
                    "-sslAuth ssl " +
                    "-sslKeyFile C:\Temp\myCert.p12 " +
                    "-sslKeyPwd *********** " +
                    "-Port T " +
                    "-ssl "  ).
 
Workaround
Notes
Keyword Phrase
Last Modified Date8/27/2015 7:44 AM

Powered by