Forum Discussion

tong123123's avatar
tong123123
New Contributor
9 years ago

given end point and parameter list, how to generate a request in soapui

as question, I have been given the end point URL and some input paramters list, but I don't know how to generate the request in soap ui (Soap U.I. 5.1.3), anyone can help?

 

And I see in soap ui, there is New soap project and New REST project, but if choosing SOAP, it will ask initial WSDL, so if I have no WSDL, then I should choose REST project?

 

3 Replies

  • abhayguna's avatar
    abhayguna
    Occasional Contributor

    Generally, Web services are 2 types

    1. SOAP Services

    2. RESTful Services

     

    You should choose the type of the project based on the type of your web service.

    For SOAP services, you should be given with the WSDL, which automatically exports its operations.

    For REST services, you might be given with the WADL or you can create a request by using end point URL and request parameters.

     

    In your case,

     

    Endpoint Url is avaiable. You should construct the request in the format of XML or JSON

     

    like 

     

    <rootrequest>

     

    <name></name>

    <desc></desc>

    <job></job>

     

    </rootrequest>

     

     

    • tong123123's avatar
      tong123123
      New Contributor

      I just have been given URL endpoint and a parameter list, so it is impossible to create a SOAP xml request, right?
      And everytimes we plan to create a request xml, we must know the server web service API is using SOAP or REST?

      sorry for my poor web service knowledge.