Forum Discussion

pleuraXeraphim's avatar
pleuraXeraphim
Occasional Contributor
16 years ago

Make a call to a Servlet over AMF

How do I use soapUI to connect over AMF to a Sevlet?

I can connect to a service registered on the backend server over AMF fine.
But I'm not sure how to go about making a call to a Servlet. Is there any samply code on that sort of thing floating about ?

Cheers Dave

2 Replies

  • pleuraXeraphim's avatar
    pleuraXeraphim
    Occasional Contributor
    Just to outline a little bit more:

    For the Services I set my Endpoint as follows:

    https://127.0.0.1:4272/product/messagebroker/amf

    and then the AMF call is authenticationService.isUserAuthenticated

    authenticationService is a registered service and that works fine.
    However I now want to send a call to the Servlet on the same Server.

    But it doesnt find the servlet as it is not registered the same way as authenticationService is.

    Hope that makes sense.
  • pleuraXeraphim's avatar
    pleuraXeraphim
    Occasional Contributor
    Okay Got this to work. Straight forward really when you know how:

    Under Test Steps -> Add Step -> HTTP Test Request

    Set method  = "GET"
    On the left tab called Request. Add any params if required.

    Click on Headers underneath and add in a COOKIE and the value.

    and then Request URL = the location for the Servlet which was a shorcut.