LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I create my own WebServices WSDL? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-create-my-own-webservices-wsdl-4175540720/)

cyberdome 04-25-2015 11:49 AM

How do I create my own WebServices WSDL?
 
Hi everyone,

I found this link on how to setup web services SOAP UI. But I want to be able to setup webservice WSDL on my Linux LAMP server. For example, Let us say I am in Germany and I open SOAP UI tool to load the URL of my Server which is going to be in USA.

So, In Germany I should be able to send a request via SOAP UI and get a response back from USA ( my LAMP server). I found some info on this. But don't know really where to start. Any help is greatly appreciated. :D

http://www.sitepoint.com/web-service...hp-and-soap-1/
http://www.sitepoint.com/web-service...hp-and-soap-2/

http://www.codeproject.com/Tips/6714...Within-Minutes

j-ray 04-26-2015 03:47 AM

If you use Eclipse as editor you can enable a wsdl plug in that allows you creating wsdl files in a "design" mode. This way you don't have to type the entire wsdl which is a rather difficult and error-prone task.

The wsdl resides on the backend server that provides you with data you are asking for. The fronend that connects to the service may be written in PHP too and should provide the forms to ask for the info from the server.

A good resource for PHP questions is of course
http://php.net/manual/en/soapclient.soapclient.php


If you want to transfer confidential data you should consider using ssl encrypted traffic. If you are the only consumer of the services you can create a self-signed certificate for the encryption. You will find how to create that at apache.org.


All times are GMT -5. The time now is 12:33 AM.