Re: web service package connection failure
- To: mathgroup at smc.vnet.net
- Subject: [mg60104] Re: [mg60092] web service package connection failure
- From: "Daryl Shanley" <Daryl.Shanley at newcastle.ac.uk>
- Date: Fri, 2 Sep 2005 06:37:39 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I found a solution to this in the J/Link section of the help browser (section 1.2.16). I just needed to replace proxy.mycompany.com with my university proxy details in: Needs["JLink`"] and SetInternetProxy["proxy.mycompany.com", 8080]. And then all the web service stuff works fine. Hope the info may help others that get caught out, Daryl >-----Original Message----- >From: Daryl Shanley [mailto:Daryl.Shanley at newcastle.ac.uk] To: mathgroup at smc.vnet.net >Sent: 02 September 2005 09:33 >Subject: [mg60104] [mg60092] web service package connection failure > > >I am unable to use the web services package in Mathematica >5.2. I can access the wsdl files from the examples provided in >the help browser and I get a list of the available services >returned, that's fine. But when I try to use a service (e.g. >getRate["US", "England"] or >GoogleSearch["Mathematica"]) I get the following message: > >InvokeServiceOperation::native: An error occurred: >java.net.SocketException: Network is unreachable: connect >InvokeServiceOperation::rspns: Invoke Failed. Response is >$Failed or Null. > >I work at a UK university and I suspect the problem may be >something to do with needing to provide proxy settings but I >don't know how to do this. Any advice welcome, Daryl > >