[wsf-c-dev] [jira] Created: (WSFPHP-386) Soap Fault when invoking web service that has an Enum as an input parameter
srimal jayawardena (JIRA)
jira at wso2.org
Fri May 1 23:49:25 PDT 2009
Soap Fault when invoking web service that has an Enum as an input parameter
---------------------------------------------------------------------------
Key: WSFPHP-386
URL: https://wso2.org/jira/browse/WSFPHP-386
Project: WSO2 WSF/PHP
Issue Type: Bug
Components: Build System / Linux
Affects Versions: 2.0.0
Environment: PHP5
WSO2 WSF PHP 2.00
WSAS 2.3
Ubuntu 8.04
Reporter: srimal jayawardena
Priority: High
I have written a simple service that expects and Enum and returns it in JAVA, It is deployed in WSAS 2.3.
public enum Status {
Ok,
Fail
}
public Status testComplex(Status s)
{
return s;
}
When I consume this service operation from my php client which goes as,
class Enum {
}
class Status extends Enum {
}
$input = new testComplex();
$s = new Status();
$input->s = $s;
//TODO: fill in the class fields of $input to match your business logic
// call the operation
$response = $proxy->testComplex($input);
print_r($response);
I get a
Soap Fault
Am I missing something?
The php client was generated using wsdl2php that came with wsfphp2.00
Thanks
Srimal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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