on 01-31-2007 3:39 PM
Hi,All,
Could anybody tell me how to use TCPGateway? I have downloaded it and run it on my desktop. I configured it according to doc in index.html. But when I click "Add", nothing happened and I got error says "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException". Thanks in advance!
yang
Please refere to this blog...
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
I have used the tcp gateway without any problem.....The Listen port is the port on the tcpgateway machine...Target host and port are the destination system's actual url/port...
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,Deepu,
Thanks for the response. I am using Soap sender adapter. the tcpgateway is runing on my own machine. I am trying to send a soap message from my own machine to XI through soap sender adapter. I don't know what listenning port should be? Also, if my XI machine is 148.97.19.17, and port is 51500, then are the target URL and port # those? Thanks.
yang
Hi Yang -
On TCPGateway, listening port should be any free port on your local machine (e.g. use <i>netstat</i> command within cmd window to view).
Then for Target Hostname put in the XI machine (i.e. 148.97.19.17) and for Target Port, 51500.
From the client that you send from, for the port, you should specify the listening port you put in for TCPGateway. Just replace the port in your local client. The rest of the URL should remain the same.
Regards,
Jin
Ok, so after you add the port, a tab is added on TCPGateway labeled "Port 50000". And in the middle window within this tab, you see "Waiting for Connection...", correct.
Given this, from your client, for Host and Port, you're specifying your hostname/IP of your local machine and port 50000 (failed to mention that hostname should be adjusted as well to your local machine in your client).
This is the way the tool works. Given the above, if you still don't see anything after sending from your client, you have a problem with your client. Try a different client to isolate that your current client is the problem.
Regards,
Jin
Yes. I got an error says "
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.sap.aii.axis.utils.TCPGateway$5.valueChanged(TCPGateway.java:1161
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unk
nown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
Source)
at javax.swing.JTable.checkLeadAnchor(Unknown Source)
at javax.swing.JTable.tableRowsInserted(Unknown Source)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source)
at javax.swing.table.AbstractTableModel.fireTableRowsInserted(Unknown So
urce)
at javax.swing.table.DefaultTableModel.insertRow(Unknown Source)
at javax.swing.table.DefaultTableModel.addRow(Unknown Source)
at javax.swing.table.DefaultTableModel.addRow(Unknown Source)
at com.sap.aii.axis.utils.TCPGateway$Listener.<init>(TCPGateway.java:120
5)
at com.sap.aii.axis.utils.TCPGateway$3.actionPerformed(TCPGateway.java:3
59)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Thanks for looking at it!
yang
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.