Error in Output parameter CORBA2WS 
-----------------------------------

                 Key: AXIS2-3953
                 URL: https://issues.apache.org/jira/browse/AXIS2-3953
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: modules
    Affects Versions: 1.4
            Reporter: Paulo Cancela
            Priority: Blocker


I will describe the issue that i found while trying to access an operation from 
an IDL exposed as WSDL.

If we have the following .idl...

module test {
       struct Identity{long Id;};
                                        
       interface ITest{
               string testing(in string input, out Identity output);};
};

And the following implementation for the interface...

public class TestImpl extends ITestPOA{

        @Override
        public String testing(String input, IdentityHolder output) {
                
                Identity identity = new Identity(1234);
                output.value = identity;
                String str = "This is a CORBA2WS test";
                String result = str + input;
                return result;
        }
}

...Using the Web Services Explorer from eclipse platform or even if we develop 
a client, we obtain a error in the SOAP response. This led me to conclude that 
we can't have an ouput parameter that is not a primitive type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to