Solved

Sending XML/SOAP using script

Posted on 2014-10-21
5
274 Views
Last Modified: 2016-02-26
Hi,
two questions
1)Can i send XML file to other server via SOAP using unix script if yes please
give an example

2) The other server wants to response back to our server and for that they need
some kind of listener any idea if we can do that in script too.
0
Comment
Question by:sam2929
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Thomas Wheeler
Comment Utility
You can use curl from the command line our if you have access you can use php cli it makes it easy. When I get back to my computer I will post examples.
0
 

Author Comment

by:sam2929
Comment Utility
Hi Thomas,
what about option 2) for response back do i need to setup some kind of listener.

Thanks
0
 
LVL 6

Expert Comment

by:Thomas Wheeler
Comment Utility
here is a link to the bash example. I am not sure what you are attempting but it sounds like a web services is what you are looking for. This will allow the other server to respond back.

http://stackoverflow.com/questions/14198986/post-soap-envelope-from-bash-script
0
 

Author Comment

by:sam2929
Comment Utility
yes i am looking for web services
0
 
LVL 6

Accepted Solution

by:
Thomas Wheeler earned 500 total points
Comment Utility
Ok so you need to create an API. You can use a framework like http://www.slimframework.com/ or https://github.com/chriskacerguis/codeigniter-restserver as far as calling the remote server here is a soap you can look at the examples here http://us3.php.net/manual/en/soapclient.call.php
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

772 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

12 Experts available now in Live!

Get 1:1 Help Now