Solved

Sending XML/SOAP using script

Posted on 2014-10-21
5
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 40396111
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
ID: 40396615
Hi Thomas,
what about option 2) for response back do i need to setup some kind of listener.

Thanks
0
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 40397232
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
ID: 40397668
yes i am looking for web services
0
 
LVL 7

Accepted Solution

by:
Thomas Wheeler earned 500 total points
ID: 40397698
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
The viewer will learn how to dynamically set the form action using jQuery.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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