axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Wishwajith Abeyruwan (JIRA)" <>
Subject [jira] Created: (AXIS2-2772) RPCMessageReceivers' response is invalid in some situations.
Date Wed, 06 Jun 2007 12:22:26 GMT
RPCMessageReceivers' response is invalid in some situations.  

                 Key: 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="">
<ns:getFoosResponse xmlns:ns="http://org.apache.axis2/xsd">
<return xmlns:xsi="" xsi:nil="true" />

Is it technically correct to send <return xmlns:xsi=""
xsi:nil="true" />

if an empty element is return ?

Thank you


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:
For additional commands, e-mail:

View raw message