[wsf-c-dev] [jira] Created: (WSFPHP-5) Add dynamic invocation
support without wsdl for WSProxyClient
Sanjiva Weerawarana
sanjiva at wso2.com
Sat Dec 30 21:03:38 PST 2006
Is there a reason why I can't see the comment link on this issue??
In any case, is there an opportunity to use the signature extension
defined by WSDL 2.0? See:
http://www.w3.org/TR/2006/CR-wsdl20-adjuncts-20060327/#InterfaceOperation_RPC_Signature_Definition.
See http://www.w3.org/TR/2006/CR-wsdl20-primer-20060327/#adv-RPCstyle for
an example.
Sanjiva.
Nandika Jayawardana (JIRA) wrote:
> Add dynamic invocation support without wsdl for WSProxyClient
> -------------------------------------------------------------
>
> Key: WSFPHP-5
> URL: http://www.wso2.org/jira/browse/WSFPHP-5
> Project: WSO2 WSF-PHP
> Issue Type: New Feature
> Environment: linux/ windows
> Reporter: Nandika Jayawardana
>
>
> Allow WSProxyClient to be used without WSDL. Add an option "methods" to
> the WSProxyClient options that can be used in addition to or instead of
> WSClient "wsdl" option. The value of the methods option is a map from
> method names to method signatures. Each method signature is a
> WSMethodSignature object with the following properties:
>
> returnType - qname of the return type
> paramTypes - array of qnames of the parameter types
> paramNames - array of qnames of the parameter names
> namespaces - map from prefixes to uris used for qnames
>
> A prefix of "xs" would default to the XML Schema namespace.
>
> WSMethodSignature would have a constructor whose arguments are the
>
> parameter names.
>
> For example:
>
> $addSignature = new WSMethodSignature("a", "b")
> $addSignature.returnType = "xs:int"
> $addSignature.paramTypes = array("xs:int", "xs:int")
>
> "methods" => array("add" => $addSignature)
>
> (We could make WSMethodSignature be an associative array instead of an
> object, but my feeling is that might be making the required structure of
> the complete options associative array just one step too far.)
>
> Given this, the method can be invoked using exactly the same syntax as
> in the WSDL case
>
--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +94 77 787 6880; fax: +1 509 691 2000
"Oxygenating the Web Service Platform."
More information about the Wsf-c-dev
mailing list