Topic Options
Rate This Topic
#115040 - 04/14/05 06:28 AM WebServices
George Offline
Just Signed Up

Registered: 10/27/04
Posts: 2
Hello! Does anybody know, if the use of WebServices is possible with Proxy-Servers? I can't access any WebServices existing in the Internet even the Remedy examples.
Any help is highly appreciated.

Top
#115041 - 06/13/05 08:53 PM Re: WebServices [Re: kat]
Anonymous
Unregistered


I found this on the forum
*********************************************
Due to popular demand (I think)...here are some notes on how to set up Remedy to consume through a proxy/firewall (when using authentication!). ***If you do not use authentication, see KB10775 (Thanks Sue!)***

Please be advised, I am not 100% knowledgeable about some technical aspects of proxy or firewalls...and unfortunately, we haven't been 100% successful in consuming from outside, but we can "see" the published web services...so if someone wants to take the torch and carry on...I'd be most greatful!

1. Obtain the "web services proxy patch" from Remedy. It is basically a single modified file (websvc51.jar).

2. You need to copy this file to your Mid-Tier server (version 5.1.2). ***WARNING*** I do NOT know if the changes in this file are incorporated in newer versions (i.e. "Super Patch" 1267 and Patch 1282). If you are on an earlier version and trying to do this, it should work.

3. You also need to copy this file to your local Admin Tool directory.

4. Make the following modifications:

On the LOCAL computer where your Admin tool is installed, make the following Registry entry:

HKEYLOCALMACHINE/Software/Remedy/AR System Administrator/5.1

Add New Value

Name: JVMOptions
Data Type: REGSZ
String: -Dhttp.proxySet=true -Dhttp.proxyHost=**proxy server** -Dhttp.proxyPort=**proxy port** -Darsystem.authUser=**NT Authentication, if any** -Darsystem.authPass=**password**

On the ARS Server, edit ar.cfg to include the following lines (make changes as appropriate):

ARF-Java-VM-Options: -Dhttp.proxySet=true
ARF-Java-VM-Options: -Dhttp.proxyHost=**proxy server name**
ARF-Java-VM-Options: -Dhttp.proxyPort=**proxy server port** (Usually 8080)
ARF-Java-VM-Options: -Darsystem.authUser=**domain/user** (If using NT authentication)
ARF-Java-VM-Options: -Darsystem.authPass=**password**

If your Proxy is not secured with authentication, leave the last two lines out.

From here, you should be able to (with the Admin tool) "see" an external web service ( www.xmethods.com) and start to consume.

We have some current problems with being able to be successful in the operation (we can do the "consume" but when actually invoking the WS, it dies)...but it looks like some strict rules with our firewall that we need to hash out.



Notes:

When making the initial "consume" of a web service...your Admin tool client does the actual consume...that's why you need the websvc51.jar file and the Java VM options in the registry. Once you save to the server, the server takes over the consumption of the service (unless you need to edit it, etc.)

Hope this helps and you can use it (or change/add to it!)

Thanks!
J.T.
Freightliner LLC
This posting was submitted via the Web interface
******************************************************

I have been able to load wsdl files into filters, but when submitting an entry in the user tool, im getting

ARERR [9130] An exception occurred from the WebService class : ; nested exception is:
java.net.ConnectException: Connection refused: connect

Hope this helps

Top