[wsf-c-dev] [jira] Created: (WSFPHP-5) Add dynamic invocation
support without wsdl for WSProxyClient
James Clark
james at wso2.com
Sun Dec 31 14:20:29 PST 2006
On Sun, 2006-12-31 at 10:33 +0530, Sanjiva Weerawarana wrote:
> Is there a reason why I can't see the comment link on this issue??
Because our Jira setup is broken. I've reported it already.
> 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.
Not here, because this is designed to deal with the situation where:
- there is no WSDL available, and
- the developer is not comfortable with creating XML directly
James
> 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
> >
>
More information about the Wsf-c-dev
mailing list