定制 piotrooo/wsdl-creator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

piotrooo/wsdl-creator

最新稳定版本:3.1.0

Composer 安装命令:

composer require piotrooo/wsdl-creator

包简介

PHP WSDL creator using PHPdoc (annotations, reflections).

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage Total Downloads License Gitter

Supported versions

Major version PHP Compatibility
WSDL Creator 1 Legacy version, not supported.
WSDL Creator 2 PHP 7.1, PHP 7.2, PHP 7.3
WSDL Creator 3 PHP 7.3, PHP 7.4
WSDL Creator 4 PHP 8.0, PHP 8.1

Class annotations

@WebService

Parameters:

  • name (string "WebServiceAnnotations") default: service name
  • targetNamespace (string "http://foo.bar/webserviceannotations")
  • location (string "http://localhost/wsdl-creator/service.php")
  • ns (string "http://foo.bar/webserviceannotations/types")
  • portName (string "PortNameWebService") default: service name

@BindingType

Parameters:

  • value (enum {"SOAP_11", "SOAP_12"}) default: "SOAP_11"

@SoapBinding

Parameters:

  • style (enum {"RPC", "DOCUMENT"}) default: "RPC"
  • use (enum {"LITERAL", "ENCODED"}) default: "LITERAL"
  • parameterStyle (enum {"BARE", "WRAPPED"}) default: "BARE"

Method annotations

@WebMethod

No parameters - mark method as a Web Service method

@WebParam

@WebResult

Param examples

  • string $userName - simple type
  • object $user { string $name int $age } - complex type
  • int[] $numbers - array of simple or complex types

统计信息

  • 总下载量: 153.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 87
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 84
  • Watchers: 8
  • Forks: 52
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-12