[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [wsf-c-dev] [jira] Created: (WSFPHP-386) Soap Fault when invoking
From:       "srimal jayawardena (JIRA)" <jira () wso2 ! org>
Date:       2009-05-02 6:49:25
Message-ID: 697081760.8081241246965154.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]

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

        

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic