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
221 Views Asked by Kevin Kaburu At
1
There are 1 best solutions below
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in WEB-SERVICES
- Apache CXF is unable to handle duplicate localnames
- Why do we call all http services 'Web Api/Web Service'?
- Postman Webservice PHP Curl Code POST request giving forbidden error when run in local
- Migrate ASMX web method to WCF which accepts string array
- PKIX failed when using custom SSLcontext with custom keyStore and trustStore
- Problems in Validations via Web Service in a Vue 3 Application
- Maven plugin 100% compatible Java21 to generate stub classes from WSDL file and generate *.wsdl from java classes? A solution
- Kubernetes Ingress Port to Port route
- How to handle a multi thread tests calling a single thread web service in .Net Framework 4.6?
- oracle.dataaccess.dll keep showing up as reference after build of C# web service using Oracle MDAC
- Your thoughts on the suggested architecture for addressing the challenges and maintenance of third-party API implementation
- Issue with BizTalk register WCF-WSHttp adapter while calling web service
- Does PHP SoapClient creates XML to be sent to webservice end point, based on WSDL file, while using CURL the XML should be manually created?
- Invoice API in Authorize.net like Square
- Publish JAXWS Endpoint in the same port than Spring boot
Related Questions in SOAP
- How can I read the header of request to webserver
- Apache CXF is unable to handle duplicate localnames
- Using SOAP with WSDL in python with the suds-py3 library: Why doesn't it show me anything when I use the following code?
- How can I call a SOAP webserver method in Vue.js?
- Avoid soap fault response (org.apache.cxf)
- Python Zeep XML - 0 float value changes type shape
- Migrate ASMX web method to WCF which accepts string array
- In XSD do you have to import the standard schema in order to use it?
- Problem: Authentication. Project: C++ Onvif manager Deltaco camera
- java.net.ConnectException: Connection timed out: no further information Java to SOAP
- Looking for an API or approach for range based parameter flight pricing using SabreCommandLLSRS
- After upgrading to JDK 11 my SOAP response is different
- Correct way to make a non-blocking delay in Spring WS (SOAP)
- android.os.NetworkOnMainThreadException even using an Aysnc task
- How to send multipart/mime SOAP request
Related Questions in WSDL
- Using SOAP with WSDL in python with the suds-py3 library: Why doesn't it show me anything when I use the following code?
- Python Zeep XML - 0 float value changes type shape
- Soap Headers using cxf-codegen-plugin
- Does PHP SoapClient creates XML to be sent to webservice end point, based on WSDL file, while using CURL the XML should be manually created?
- Apache CXF - cannot add binary signature token to SOAP message
- Python - Zeep SOAP request with Header and Timestamp
- WSDL defines array of object but must assign an array of GUID Fails. Both runtime and syntax fails
- How to add client certificate data in pom.xml
- Wrap XML in Soap format in .Net 7
- How to extract the soap:address from WSDL file?
- How do I render wsdl with xsd extensions in react js with the information like operation method sample request and sample response
- i want to generate a sample request and response for a operation from a wsdl in java , i have soap-ws but it need wsdl url , but i need something w
- How to consume RPC encoded WSDL in JAX-WS 2+
- How to call SOAP method from ASP.NET Core controller
- xml request is not created as expected
Related Questions in WSD
- How to get a list of devices enumerated in Explorer network using C++
- Is there any way to extract the sense_id or sense_key of a particular word from semcor-tagged sentences?
- "An error occurred when verifying security for the message." WSDL Zeep
- Using WSDCreateHttpAddress
- Why CXF won't annotate bare parameter with @XmlJavaAdapter?
- How to extract feature in Hindi Word Sense Disambiguation task
- Filter Babelnet synsets by category
- WS Discovery vs. SSDP - Pros and Cons
- entity recognition and disambiguation api
- Soap Unable to connect from one server yet the same file connects from another
- Word sense disambiguation using WEKA
- how can I get lesk similarity score for all the senses of given words using ws4j library?
- 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?
- What other inputs are there to Word Sense Disambiguation task?
- calculate Similarity of two adverbs or two adjectives
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 # Hahtags
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.