Coder Social home page Coder Social logo

webservices-php-sample-project's Introduction

Webservices-PHP-Sample-Project

This project contains example operations that can be executed through Cascade Server Web Services using PHP.


The php_soap library needs to be enabled to be able to execute the code.

To be able to connect to your Cascade Server instance, you should update the $soapURL with the URL to your instance's WSDL and the $auth with your username and password.


The "location" parameter in $client is optional - it is only needed when you are getting "Could not connect to host" error when performing operations. In that case most likely Cascade Server is using apache proxy (using mod_proxy). Sometimes when running through a proxy, the returned service endpoint (at the very bottom of the WSDL response) points to a location that is an internal hostname/port.

In that case, the PHP SoapClient is parsing the WSDL and using that service endpoint to issue requests. So even though it looks like you're connecting to the soapURL, you're actually connecting to an internal hostname/port so you might get: Could not connect to host.

The "location" param is way to manually set the service endpoint instead of letting the SoapClient figure it out from the WSDL.

webservices-php-sample-project's People

Contributors

tomusiaka avatar bradical avatar jet-ung avatar charlieholder avatar pixelsbysarah avatar

Watchers

zhangtao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.