Giter VIP home page Giter VIP logo

tuscanicz / besimplesoap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catchoftheday/besimplesoap

8.0 8.0 7.0 7.57 MB

A largely refactored BeSimple/Soap library used to build SOAP and WSDL based web services. This fork fixes a lot of errors and provides better API, robust, stable and modern codebase. The Api differs so much, that it won't be merged into original repository. If you find an error, please, report an issue here.

PHP 98.54% Python 1.46%
soap soap-client soap-server soap-services soap-web-services

besimplesoap's People

Contributors

alexeymorozov avatar aschamberger avatar cameronmurphy avatar ceesco53 avatar ch3ric avatar christiankerl avatar davefx avatar francisbesset avatar hason avatar ldantunez avatar lsmith77 avatar matthiasnoback avatar milanmimra avatar mremi avatar rolebi avatar sarunas avatar tmirks avatar tuscanicz avatar vhorky avatar vytautasgimbutas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

besimplesoap's Issues

some unit tests depends on mockable.io

Some unit tests can go wrong because they depend on mockable.io endpoints. It is necessary to replace these mock endpoints with php build-in server (php -S).

Error webservice.xml

The class Classmap in SoapServer not exists, please remove this parameter: <parameter key="besimple.soap.server.classmap.class">BeSimple\SoapServer\Classmap</parameter>

Service: <service id="besimple.soap.server.classmap" class="%besimple.soap.server.classmap.class%" public="false" />

<argument type="service" id="besimple.soap.server.classmap" />

_getLastResponse deprecated

Hi,

I want to use getLastResponse but it's deprecated. How can i get the last response and last request ?

Do you have any code example ?

Thanks

WsSecurityFilter

Hi,

I'm trying to use authentication with ws-security to set

SOAP-ENV:Header
<wsse:Security SOAP-ENV:mustUnderstand="1">
wsu:Timestamp
wsu:Created2017-12-14T12:44:17.000Z</wsu:Created>
wsu:Expires2017-12-14T12:54:17.000Z</wsu:Expires>
</wsu:Timestamp>
wsse:UsernameToken
wsse:Usernametoto</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>

Before, i used it like this

$wssFilter = new WsSecurityFilter(true, 600);
$wssFilter->addUserData($login, $pass, WsSecurityFilter::PASSWORD_TYPE_TEXT);
$soapClient = $this->build($soapClientOptions, $soapOptions);
$soapKernel = $soapClient->getSoapKernel();
$soapKernel->registerFilter($wssFilter);

but this method getSoapKernel() was deleted.

How can I do ?

thanks

SoapResponse and SoapRequest must be immutable

In order to make the code more readable and less confusing, response and request objects must be immutable.
Moreover, these objects are often used outside the library in application, so the developers should not modify the objects returned from SOAP.

Thank you & Issue

Thank you for your work on making soap easier in php.

its working almost perfectly for me, but if the id is not found/does not pass validation...
you call getContentType on null...

running this:

        $soapClientBuilder = new SoapClientBuilder;
        $soapClient        = $soapClientBuilder->build(
            SoapClientOptionsBuilder::createWithDefaults(),
            SoapOptionsBuilder::createWithDefaults('server.de/service?wsdl')
        );
        $soapResponse      = $soapClient->soapCall('findWorld', [['id' => $id]]);

throws

Call to a member function getContentType() on null in /home/mstaack/server/apache/api.company.de/v2.0/vendor/tuscanicz/soap/src/BeSimple/SoapClient/SoapClient.php on line 333

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.