I Will Remember Before I Forget
Thursday, 5 December 2013
Check if port is listening from Linux command line
netstat -an | grep 8018 | grep LISTEN
The response will be either bla bla bla LISTEN or nothing at all if we are not listening on the port.
How to get a salesforce session ID.
Login to SF using the credentials you have.
in another tab open
https://workbench.developerforce.com
In the
Environment:
drop-down choose Sandbox.
Hit the "
Login with Salesforce
" button.
Go to Info->Session Information.
Go to Connection-> Session Id:
..........
PROFIT
Send the soap request to a web service from Linux command line.
wget --post-file=spainsf.xml --header="Content-Type: text/xml; charset=utf-8" --header="SOAPAction: \"
http://tempuri.org/IMigrateAccounts/BroadCastChanges\
""
https://salesforce.com/services/Soap/class/ServiceName -O ./response.xml
where
spainsf.xml
file that contains the soap request.
https://salesforce.com/services/Soap/class/ServiceName
the service endpoint.
response.xml
the file where the responce is written.
Wednesday, 4 December 2013
Monitor the traffic coming to a port in Linux.
sudo tcpdump port 8018 -vv
Newer Posts
Older Posts
Home
Subscribe to:
Comments (Atom)