[wsf-c-dev] [jira] Resolved: (WSFPHP-190) Set opParams of all
functions to be 'MIXED' by default when wsdl mode is on..
Dimuthu Gamage (JIRA)
jira at wso2.org
Sun Jan 27 08:23:59 PST 2008
[ http://wso2.org/jira/browse/WSFPHP-190?page=all ]
Dimuthu Gamage resolved WSFPHP-190.
-----------------------------------
Resolution: Fixed
Fixed.
As I mention in the jira when the 'wsdl' option is set default opPrams will be 'MIXED' and all the other situation opPrams will be default to 'WSMessage'.
Specially please review the API documentation change. I already commit it. Please review and do any necessary changes.
Index: api_content.html
===================================================================
--- api_content.html (revision 12788)
+++ api_content.html (working copy)
@@ -515,13 +515,14 @@
</td>
<td><p>"WSMESSAGE" | "MIXED"</p>
</td>
- <td><p>"WSMESSAGE"</p>
+ <td><p>"MIXED": if wsdl is set,</p><p> "WSMESSAGE" otherwise</p>
</td>
<td><p>This option specifies what a PHP function corresponding
to the service operation would accept as arguments. This option is
- only required when writing a service to use in the WSDL mode. By default, the
- WSMESSAGE is assumed, which means that each function would have a single
- parameter of the type WSMessage.</p>
+ only required when writing a service to use MTOM when the WSDL is specified, where this has to
+ be explicitly set to "WSMessage". otherwise it would be set "MIXED" by default when WSDL is set.
+ If WSDL is not specified, by default the WSMESSAGE is assumed, which means that each
+ function would have a single parameter of the type WSMessage.</p>
</td>
</tr>
<tr valign="top">
Thanks
Dimuthu
> Set opParams of all functions to be 'MIXED' by default when wsdl mode is on..
> -----------------------------------------------------------------------------
>
> Key: WSFPHP-190
> URL: http://wso2.org/jira/browse/WSFPHP-190
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: WSDL Generation , WSDL Mode
> Environment: Windows, Linux
> Reporter: Dimuthu Gamage
> Assigned To: Dimuthu Gamage
>
> Currently in the wsdl mode we have to explicitly set the opParams to be MIXED. But this seems unnecessary. Because we need the other opPrams options 'WSMessage' only when MTOM is sending.
> So we can identify the 'wsdl' option and set opParams to MIXED internelly.
> The same problem comes in wsdl generation. Since there are no way to differentiate this case, (since we are not having 'wsdl' option there) we can ask for opParams 'MIXED' explicitly in there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-c-dev
mailing list