Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SOAP streams over and HTTPS connection



At 11:27 +0530 26/3/08, Dan Ribe wrote:
- Does Mac provides a way to send SOAP streams over an HTTPS connection?

The WebServicesCore framework will let you do that. To do HTTPS, just pass an "https" URL to WSMethodInvocationCreate.


<http://developer.apple.com/documentation/Networking/Conceptual/UsingWebservices/1_intro_folder/chapter_1_section_1.html>

Be aware that WebServicesCore has not had a lot of love since it was originally introduced in Mac OS X 10.2. We've fixed the odd bug here and there (for example, in 10.5 we fixed <rdar://problem/4785251> "Can't set HTTPS proxy"), but there are plenty of bugs outstanding )-: Also, the design is rather limiting, for example...

- Can that connection be verified with a standard server certificate?

I believe that the connection will be verified with the certs built in to Mac OS X. If you want anything more complex, you might need to look beyond WebServicesCore. One of the fundamental limitations of its design is that it doesn't give you access to the underlying transport stream. So, for example, there's no way you could set up a particular certificate on the connection.


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.