Forum Discussion

shiva_kakarla's avatar
shiva_kakarla
Contributor
16 years ago

JSON RPC interchange format sample Project

Hi Ole,

I see that 2.5 pro support JSON data interchange format. I am trying to use SOAPUI tool to test a service with JSON RPC. I would like to add tests that send JSON format data and recieve in my soapui project. I am able to recieve data in a REST response and then viewed in XML/JSON formats. How do I send JSON data in a REST request. I am not getting good example for this.

Thanks
Shiva

3 Replies

  • I am able to send and recieve over HTTP. Is there a way to send and recieve on TCP/IP.
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    no, currently only http is supported. Exactly how would TCP/IP work?

    Something like

    1) Open socket to specified ip/port
    2) Write request body
    3) Read response
    4) Close socket

    ?

    regards,

    /Ole
    eviware.com
  • RPC call over TCP/IP instead of HTTP. Basically hooking to some stubs which are generated using based on IDL. Could be java stubs.

    Thanks
    Shiva