I want to send a xml message to a URL like tcp://localhost:6060/services/test
What are the available tools for this?
I want to send a xml message to a URL like tcp://localhost:6060/services/test
What are the available tools for this?
I'd probaly look at nc
or wget
Also you could try googling "send xml to web service" which will get you these to as the first two hits:
https://stackoverflow.com/questions/4454918/how-to-send-xml-messages-to-web-services https://stackoverflow.com/questions/4454918/how-to-send-xml-messages-to-web-services
The URL has nothing to do with TCP so you have to have something listening on TCP port 6060 that will correctly interpret the data it is sent.
You could use something like nc to send the data
The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP. It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6
You will though need to know what to send in the format that the listener is expecting ...