Forum Discussion

andy1984uk's avatar
andy1984uk
New Contributor
13 years ago

Newbie basic question: Website interacting with XML SOAP?

<edit> Sorry, realised this should be in the soapUI forum... My first fail. 



Hi

Hopefully someone can point me in the right direction... Firstly, I'm very new with using SOAP so hopefully my questions make sense.



I run a vehicle rental website. At the moment the user comes to my website and clicks on the "Request a Quote" link which then takes the user to a white label website run by my supplier who then have a quote engine which then displays vehicles, prices ect and then handles the booking process and payment.



My supplier also offers an XML setup. Ideally I would like customers to complete the full search and booking process on my website as I'm unable to customise the white label and its clear to the end user that they are been transferred to a different website.



I've downloaded soapUI and I've entered the WSDL and it's downloaded all the requests from my supplier i.e getVehicles, getLocations, getSuppliers, book ect. I've entered my username, password and agentcode in order for bookings to be tracked to me and when I press the "Submit Request to Specified endpoint URL" it appears to work.



So the question I have is what do I do next? I'm guessing I need to put a form on my website to interact with the soap request??? If I've got that bit right my next question is how?





I would like to try and do this myself with some help from here but if I ultimately fail and have to get a prefessional to do it for me how much should I look at being charged to set this up? 



Hopefully I've included enough information but if I've missed something out please let me know.

Thanks

Andy

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 1 rankChampion Level 1
    Hi Andy,



    It looks like your supplier exposes some functionality of its web site as a Web Service (by publishing its WSDL).

    If this my guess is correct, then, basically, this means that you should treat your supplier as a kind of a library functions set (or API). I.e. you can get only what is returned by the relevant web service methods and can do (add, change, etc.) only what can be done via the relevant web service methods.

    Considering the above, you will need to design your own application and consider what data and actions you will need and to map these data and actions to the web service methods provided by your supplier and their parameters.

    The cost of this work obviously depends on what functionality you need from your application and its (application's ) design.