[ 
https://issues.apache.org/jira/browse/AXIS2-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepal Jayasinghe resolved AXIS2-2772.
--------------------------------------

    Resolution: Fixed

fixed in the current SVN

> RPCMessageReceivers' response is invalid in some situations.  
> --------------------------------------------------------------
>
>                 Key: AXIS2-2772
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2772
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>         Environment: Any 
>            Reporter: Saminda Wishwajith Abeyruwan
>            Assignee: Deepal Jayasinghe
>            Priority: Critical
>
> Use case.
> When RPCMessageReceiver is used, 
> If the service has the following method signature,
> public Foo[] getFoos();
> Foo can be either primitive type, primitive type wrapper, or a custom bean. 
> If some one return an empty array (new Foo[0];)
> Following is the resulting response SOAP envelope, 
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
> <soapenv:Body>
> <ns:getFoosResponse xmlns:ns="http://org.apache.axis2/xsd";>
> <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true" 
> />
> </ns:getFoosResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> Is it technically correct to send <return 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true" />
> if an empty element is return ?
> Thank you
> Saminda 

-- 
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