WebServices and HTTPS-Proxy
WebServices and HTTPS-Proxy
- Subject: WebServices and HTTPS-Proxy
- From: Thomas Rasch <email@hidden>
- Date: Wed, 3 Mar 2004 21:24:29 +0100
I'm trying to use XML-RPC with https-proxies. According to the
documentation, making your own CFHTTPMessageRef and setting the proxy
information there should be the way to go. The following is my code:
CFHTTPMessageRef messageRef = CFHTTPMessageCreateRequest(
kCFAllocatorDefault, CFSTR("POST"), (CFURLRef)rpcUrl, kCFHTTPVersion1_1
);
CFReadStreamRef readStreamRef = CFReadStreamCreateForHTTPRequest(
kCFAllocatorDefault, messageRef );
CFDictionaryRef proxyDict = SCDynamicStoreCopyProxies( NULL );
if ( proxyDict != NULL ) {
CFReadStreamSetProperty( readStreamRef,
kCFStreamPropertyHTTPProxy, proxyDict );
}
WSMethodInvocationSetProperty( rpcRefInfo, kWSHTTPMessage,
messageRef );
Yet, if I try to compile this, the linker says "ld: Undefined symbols:
_kWSHTTPMessage".
Can anyone help me with this? What should the value of "kWSHTTPMessage"
be?
Thanks,
Thomas
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.