AnsweredAssumed Answered

XOG client - connection error

Question asked by francior on Jul 21, 2016
Latest reply on Mar 27, 2018 by nick_darlington

Hi,

I´m trying to connect to CA PPM using the XOG client tool and I´m not able to get connection. The XOG client I have installed on my local PC and the CA PPM server is on CA cloud (we access it using the URL via web and also the XOG web client). The connectivy parameters and errors, please check below.

 

On red marked text below, the server parameter seems to be redirected to localhost and I´m not able to find where must I change it. Any ideas?. Thanks in advance.

 

Regards.

 

D:\XOG_client_v13.x\bin>xog -sslenabled true

-----------------------------------------------------------

Clarity XML Open Gateway ( version: 13.2.0.472 )

-----------------------------------------------------------

Usage: xog

 

login [user/passwd@host:port] Create new active session.

logout                        Close active session.

call <file>                   Invoke given XOG request.

verbose <on|off>              Turn on verbose error logging.

output <console|path>         Output to console or file.

exit                          Logout and exit the shell.

?                             Display this help information.

 

Examples:

   call xml/cmn_users_read.xml

> login user_name@xxxxx.ondemand.ca.com:443

Password: xxxxx

Login: user_name@xxxxx.ondemand.ca.com:443@127.0.0.1:80

URL: http://127.0.0.1:80/niku/xog

XOG Invoke Failed

java.net.ConnectException: Connection refused: connect

        at java.net.DualStackPlainSocketImpl.connect0(Native Method)

        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

        at java.net.PlainSocketImpl.connect(Unknown Source)

        at java.net.SocksSocketImpl.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at java.net.Socket.connect(Unknown Source)

        at sun.net.NetworkClient.doConnect(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.openServer(Unknown Source)

        at sun.net.www.http.HttpClient.<init>(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.http.HttpClient.New(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

        at com.niku.union.xml.SimpleSOAPMessage.processRequest(SimpleSOAPMessage.java:255)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:86)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:77)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:54)

        at com.niku.xog.client.XOGClient.login(XOGClient.java:443)

        at com.niku.xog.client.XOGClient.login(XOGClient.java:365)

        at com.niku.xog.client.XOGClient.processCmd(XOGClient.java:914)

        at com.niku.xog.client.XOGClient.startShell(XOGClient.java:865)

        at com.niku.xog.client.XOGClient.invokeCommand(XOGClient.java:826)

        at com.niku.xog.client.XOGClient.main(XOGClient.java:121)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.werken.forehead.Forehead.run(Forehead.java:551)

        at com.werken.forehead.Forehead.main(Forehead.java:581)

>

Outcomes