I have this soap request I am working on. I am using wsdl to send the requests and all is good when I do it from my local machine(the development environment). The problem is when I move the same file to the live server (Centos) then I get Could not connect to host error.
NB both machines are on different networks and the location is the same and both have the php-soap extention installed. Here is my sample code. $end_p = "http://example.com/service/services/test";
$client->__setLocation($end_p); Here is a list of php extensions installed on the live machine: [root@localhost html]#
php -m [PHP Modules]
bz2,calendar,Core,ctype,curl,date,ereg,exif,fileinfo,filter,ftp,gette,xt,gmp,hash,iconv,json,libxml,mhash,mysql,mysqli,openssl,pcntl,pcre,PDO,pdo_mysql,pdo_sqlite,Phar,readline,Reflection,session,shmop,SimpleXML,soap,sockets,SPL,sqlite3,standard,tokenizer,xml,zip,zlib
[Zend Modules]
Soap Unable to connect from one server yet the same file connects from another
220 Views Asked by Kevin Kaburu At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in WEB-SERVICES
- couldn't copy pdb file to another directory while consuming wcf web service
- .net rest service with JSON string and consumed with java client
- How to send Rest GET request that contains "#" value in url parameters?
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- How to use @queryparam when using array in Java
- How to accept cookies when using a webservice - Android?
- zend soap server reading xml attributes
- Web Service Error path property must set before calling the send method
- Error with kSOAP2
- JAX-RS service response is returning double fields without decimal places
- How can I call a ASP.Net webservice using AJAX without calling controller
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- File upload in AXIS2 webservice
- How to route by call method in proxy with WSO2?
- fetch data from web service to dataset in Delphi
Related Questions in SOAP
- Java - How to send byte array on Soap Request?
- SoapClient in PHP 5.6 when using HTTPS emits warning with "key values mismatch"
- zend soap server reading xml attributes
- Multiple HTTP post requests to a web service from XML files
- Header in SOAPclient PHP
- Namespace for array field in node-soap client (Node.js)
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- How pass XML from PHP to the Soap WCF service?
- Jira Soap Api Add Watchers
- java.lang.LinkageError: loader constraint violation when developing a SOAP plugin in JIRA
- Parsing XML with same parent and child node name
- WCF part of soap response body is signed instead of entire body
- Create signature with bouncycastle api. Key always null
- How to convert SOAP-based WCF service to RESTfull API
- Calling method from SOAP returns null
Related Questions in WSDL
- Error with kSOAP2
- Namespace for array field in node-soap client (Node.js)
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- How to publish wsdl when using different endpoints in proxy with WSO2?
- Calling Java webservice (wsdl) from VB.net
- JAX-WS WebService via CXF provides inaccurate wsdl
- How to merge two wsdl in a wsdl file?
- Building XSD for secific xml
- SOAP Implementation in Forms Project
- Why does C# Web Client display ? for French Characters?
- Accessing SOAP webservices on https protocol throws Exception SOAP-ERROR: Parsing WSDL
- SOAP Fault: Security requirements are not satisfied because the security header is not present in the incoming message
- How to do authentication using SOAP Header and PHP?
- How to call web services from WSDL?
- Array structure to specify Fedex One Rate using Fedex API RateService
Related Questions in WSD
- Word sense disambiguation using WEKA
- Can I use WMI to manage WSD devices (specifically printers)?
- I have a database and API for hindi wordnet. I want to access this wordnet from NLTK python. Is there any way to add our own wordnet into NLTK?
- entity recognition and disambiguation api
- WS Discovery vs. SSDP - Pros and Cons
- how can I get lesk similarity score for all the senses of given words using ws4j library?
- C# wia + network scanner How do I connect?
- Using WSDCreateHttpAddress
- What other inputs are there to Word Sense Disambiguation task?
- How to get a list of devices enumerated in Explorer network using C++
- List of stopwords for NLP
- "An error occurred when verifying security for the message." WSDL Zeep
- Is there any way to extract the sense_id or sense_key of a particular word from semcor-tagged sentences?
- Soap Unable to connect from one server yet the same file connects from another
- How to extract feature in Hindi Word Sense Disambiguation task
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Based on the information within the question, it sounds like it could be a firewall issue. CentOS has a default firewall called Selinux and this might be preventing your connection to the other server. As the root user, you can check the Selinux enforcement by running the command:
getenforce. Be default it should be "enforced". To check if selinux is the problem, run the commandsetenforce 0to set it to permissive. If there are still problems, try to get as much log info as possible that may provide an error code or reason it cannot connect to the host.