Skip to content

Instantly share code, notes, and snippets.

@Arlus
Created January 14, 2021 08:07
Show Gist options
  • Save Arlus/cc38f239c643e1a16f955ef6b383ab1f to your computer and use it in GitHub Desktop.
Save Arlus/cc38f239c643e1a16f955ef6b383ab1f to your computer and use it in GitHub Desktop.
Example Remote Procedure Call(RPC)
import rpyc
conn = rpyc.classic.connect("localhost")
conn.execute("print('Hello from Tutorialspoint')")
Example SOAP
SOAP used XML to encode a message and HTTP as a transport.
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle=
"http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:GetLastTradePrice xmlns:m="Some-URI">
<symbol>DIS</symbol>
</m:GetLastTradePrice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment