Web Services or SOAP on Linux with Apache setup

Posted on 2007-10-17
Last Modified: 2008-11-28
I built a website for a recruitment agency about 15 months ago with a custom CMS to manage jobs, candidates, pages, mailing lists etc etc.

Now this company is installing a piece of software called Bond Adapt (  However I was asked today if the website I built could be connected to this software.  Apparently this software allows you to add a new job into the Bond Adapt system and it will be posted to all the recruiter websites.  For example,,, etc etc.  

The only way that I know this can be done is to use web services which requires a Windows based server running IIS.  Since the web server I'm using for the website is running Linux with Apache I'm not too sure Web services will work?  I went and done a little bit if research and found out that a protocol called Simple Object Access Protocol (SOAP) can be used by exchanging XML-based messages over HTTP or HTTPS to another computer.  I think this is how trackbacks on blogging applications work but they use XML-RPC family which SOAP came from...

The website is PHP based so do you think this will work?  I have looked up: for examples, but they are poor so I need some more that explain everything?  How does the SOAP process the XML or how does the SOAP server know to look for new requests or response to requests etc etc?  Example code snippets would be useful too.

I also checked with the host ( if SOAP was supported and it is...
Question by:ellandrd
    LVL 48

    Accepted Solution

    Can you claryfy if you need to implement a SOAPClient (your side needs to feed the data to their side) which is much easlier or if you need to implement a SOAPServer on your side so can pull the info and use them on their system.

    e.g if you add a job on your side you call the SOAP-Server at and inform them about new jobs?
    LVL 16

    Author Comment

    the bondadapt software will not be pulling nothing from the website i built.  the website will only accept requests from the bondadapt system and process the request (parse the XML file and insert the data into the database).

    >>e.g if you add a job on your side you call the SOAP-Server at and inform them about new jobs?

    yes - a staff member will post new job on the bondadapt system and the job will be send to the server for processing (i think - if thats how it works).
    LVL 2

    Assisted Solution

    You dont need SOAP for this.   Check into their Connect Module and talk to their support team.

    It sounds like the are going to call you with an XML file, so you just parse the XML file and do the function.
    I would hope the XML has a function element so you know if you are adding, deleting, etc.....or they might keep it simple and call a differnt PHP app.

    It would also be faster to write your own little foreach loop to parse the xml records.  the XML functions in php lacked...but if you have to use it, you will need to remember print_r
    LVL 16

    Author Comment

    Wait a minute im not getting what your saying.  How can bondadapt system send an XML file to the website I built?
    LVL 16

    Author Comment

    >>Check into their Connect Module and talk to their support team.

    OK I spoke to the developers at Bond Adapt and they said they will be sending the data in an XML file format and their perferred method was to save the XML file on the server using FTP.  There software would make a FTP connection.

    After that It was up to me to do the rest... which im not too sure about how im going to handle the rest.

    I have looked into XML-RPC and some examples of this which I have also got working on the server.  

    I was also suggested to parse the XML file like this:

    What do you think?  please advise.

    LVL 16

    Author Comment

    here is my example that i got working using XML-RPC:

    server is my homepage:

    client is recruitment homepage:

    when you run client.php it send a request to the server and the server responds with the result...

    however how would i get the client to send the XML file full of job details?

    I can provide these files for download if you want.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now