Re: WSMethodInvocation - proxies
Re: WSMethodInvocation - proxies
- Subject: Re: WSMethodInvocation - proxies
- From: Quinn <email@hidden>
- Date: Tue, 9 Jan 2007 13:51:46 -0800
At 12:08 -0800 9/1/07, John (Andy) Klepack wrote:
I assumed that web core would pick up my system's proxy configurations
but that does not appear to be the case.
That's correct. This is the subject of an existing bug report
<rdar://problem/4065752>.
Do I need to set the SOCKS proxy, or do I need to set the HTTP proxy?
Well, it depends on your proxy setup. Both a SOCKS and an HTTP proxy
can be used to proxy WebServices. SOCKS is a generic proxy that will
can be used for any TCP (or UDP, in some versions) connection. The
HTTP proxy works for HTTP only. As WebServices runs over HTTP which
runs over TCP, either form of proxy can work, so it's more a question
of what your local environment requires.
However, I believe that our web services implementation only supports
HTTP proxy. You set this by calling the
WSMethodInvocationSetProperty to set the kWSHTTPProxy property.
You can get the proxy settings using the SystemConfiguration
framework routine SCDynamicStoreCopyProxies.
btw This assumes you're using HTTP, not HTTPS. Currently there's no
way to set a proxy for HTTPS <rdar://problem/4785251>.
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:
This email sent to email@hidden