WSMethodInvocation - proxies
WSMethodInvocation - proxies
- Subject: WSMethodInvocation - proxies
- From: "John (Andy) Klepack" <email@hidden>
- Date: Tue, 9 Jan 2007 12:08:02 -0800
I'm writing a client to interact with a SOAP webservice. The client
code I have written works fine in two situations:
1: When the service is hosted on a server inside the corporate network
I am able to access it from my work machine.
2: When the service is hosted on a server outside the corporate
network I am able to access it from my home machine which is not
behind any sort of firewall etc. I am NOT able to access the service
from my work machine.
What I want is to have the service hosted on an outside machine but
accessible by both client machines.
I assumed that web core would pick up my system's proxy configurations
but that does not appear to be the case. I'm infering this from the
results seen above. What I assume I need to do is set a proxy for my
invocation to use if the client is running inside the corporate
network.
Do I need to set the SOCKS proxy, or do I need to set the HTTP proxy?
I have a proxy for each for my work system, although they are the
same.
How do I go about setting that proxy for the WSMethodInvocation?
If it's any help, here is the result of invoking the method when it fails:
"/FaultCode" = -65794;
"/FaultExtra" = {domain = 12; error = 7; msg = "Stream Error"; };
"/FaultString" = "/CFStreamFault";
"/kWSResultIsFault" = 1;
Thanks for any help.
_______________________________________________
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