Coder Social home page Coder Social logo

php-soap-interpreter's People

Contributors

meng-tian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

php-soap-interpreter's Issues

Incorrect doc

option features rather than feature in comment and readme.

how to generate a non-standard soap request?

I want send soap request.
The xml demo like this, how can i generate the request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://www.huawei.com.cn/schema/common/v2_1" xmlns:loc="http://www.csapi.org/schema/parlayx/sms/send/v2_2/local">
   <soapenv:Header>
      <v2:RequestSOAPHeader>
         <v2:spId>50000001</v2:spId>
    <v2:spPassword>xxxxxxx</v2:spPassword>
    <v2:serviceId>1</v2:serviceId>
      </v2:RequestSOAPHeader>
   </soapenv:Header>
   <soapenv:Body>
      <loc:sendSms>
         <loc:addresses>tel:13512345678</loc:addresses>
         <loc:message>123</loc:message>
      <loc:priority>5</loc:priority>
      </loc:sendSms>
   </soapenv:Body>
</soapenv:Envelope>

thanks

Add args type declaration

Some function args may worth to add type declarations, e.g., Interpreter::request's arguments and options are array.

Auto-detect available function names and arguments

In order to use Interpreter::response without firstly calling Interpreter::request in wsdl mode, Interpreter or Soap should be able to find an available function name and its required args. With a function name and its args, it will be safely to use __soapCall to interpret the given response string, otherwise wsdl mode may complain your function name is not valid.

The reason of not taking advantage of non-wsdl mode is because the interpreted results of wsdl and non-wsdl mode are different. Additionally, when an Interpreter is instantiated in wsdl mode, it shouldn't silently interpret the given response in a non-wsdl manner.

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.