Yes, there's a SOAPCreateSecureRequest that works.  Or at least the person
who wrote the code below claims it works.  I can't help you with specifics,
as someone else wrote it. This was written for UniVerse.  (I started on
these SOAP calls for some QualComm webservices last week, and haven't had
much luck with my code yet!)

URL = "https://truck-pc.net/WebServices/v1.1.7/DriverTechService.asmx?/WSDL";
SOAPAction = "https://truck-pc.net/WebServices/v1.1.7/GetReport";

* CREATE SECURITY CONTEXT
       RCODE = createSecurityContext(ctx, "")
       IF RCODE=0 THEN
          CRT 'createSecurityContext OK'
       END ELSE
          STOP 'ERROR - createSecurityContext -> ':RCODE
       END
 * Add authentication rule
       RETURN = addAuthenticationRule(ctx, 2, "VerificationStrength",
"generous")
       RETURN = addAuthenticationRule(ctx, 2, "PeerName", "truck-pc.net")
 * CREATE SOAP REQUEST HANDLE
       RCODE=SOAPCreateSecureRequest(URL,SOAPAction,SoapReq,ctx)
       IF RCODE=0 THEN
          CRT 'SOAPCreateSecureRequest OK'
       END ELSE
          STOP 'ERROR - SOAPCreateSecureRequest -> ':RCODE
       END

- Janet
Mission Petroleum Carriers
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Larry Hiscock
Sent: Tuesday, September 16, 2008 2:14 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SOAP over HTTPS

Has anyone implemented the UniData SOAP functions over an HTTPS URL?  The
CALLHTTP stuff, on which the SOAP stuff is built, has an option for creating
a secure request, but the soapcreaterequest function doesn't seem to have
the equivalent.

Is there such a beast, or do I need to revert to the lower level callhttp
protocols?

FWIW, I'm on UniData 6.1, and writing a webservice CONSUMER ...

TIA

Larry Hiscock
Western Computer Services
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to