Hi Benjamin,

as far as I remember, there is no possibility to use https with 
WOHTTPConnection.


we use apaches httpclient library instead.  The necessary jars are included in 
ERJars...



> Am 30.09.2015 um 13:48 schrieb Benjamin Steiner <[email protected]>:
> 
> Hi List
> 
> At the moment, our application is sending a POST request with 
> WOHTTPConnection. Now our customer wants us to send it via HTTPS.
> Is there a possibility to do that with WOHTTPConnection or are there any 
> other ways to do it?
> 
> Thanks,
> Beni
> 
> Application application = (Application)Application.application();
> WORequest request = new WORequest("POST", application.mondPath(), "HTTP/1.0", 
> null, xml, null);
> request.setHeader( authHeaderContent, "Authorization" );
> request.setHeader( application.mondHost(), "host" );
> request.setHeader( "Java/1.6", "user-agent" );
> request.setHeader( "text/xml", "content-type" );
> WOHTTPConnection connection = new WOHTTPConnection(application.mondHost(), 
> application.mondPort());
> connection.sendRequest( request );
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/bock%40salient.de
> 
> This email sent to [email protected]


Mit freundlichem Gruß,

René Bock
Software Engineering

--
salient doremus

salient GmbH
Kontorhaus -  Lindleystraße 12
60314 Frankfurt Main

Fon +49 (0)69 - 650096 -0, Durchwahl: - 18, Fax: -70

http://www.salient.de
http://www.doremus.com
http://www.openforms.de

Geschäftsführer: Peter Biler, Alexander Gerling, Lars Ohlerich
Amtsgericht Frankfurt Main, HRB 48693

// Neuer Schwung auf allen Endgeräten für den Automobilclub von Deutschland: 
http://www.avd.de/

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to