You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Shahar Kedar (JIRA)" <ji...@apache.org> on 2006/11/02 11:10:18 UTC

[jira] Created: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
------------------------------------------------------------------------

                 Key: AXIS2-1580
                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: rpc
    Affects Versions: 1.1
         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
            Reporter: Shahar Kedar


The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Kinichiro Inoguchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1580?page=comments#action_12446594 ] 
            
Kinichiro Inoguchi commented on AXIS2-1580:
-------------------------------------------

Does this thread answer your wonder ?
http://marc.theaimsgroup.com/?t=115254748600007&r=1&w=2


> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1580?page=comments#action_12446811 ] 
            
Deepal Jayasinghe commented on AXIS2-1580:
------------------------------------------

Yes , if user give us the wsdl then we can generate the correct response element rather than just using java class and sending the response inside <return>. 

But in the case of POJO (no wsdl case) we have no way to find out the name of the return parameters so we have to always assume that as return.


> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Assigned To: Deepal Jayasinghe
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Shahar Kedar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1580?page=all ]

Shahar Kedar updated AXIS2-1580:
--------------------------------

    Attachment: soapResponse.xml

The SOAP response

> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Shahar Kedar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1580?page=comments#action_12447239 ] 
            
Shahar Kedar commented on AXIS2-1580:
-------------------------------------

Sounds reasonable to me.

> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Assigned To: Deepal Jayasinghe
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Shahar Kedar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1580?page=all ]

Shahar Kedar updated AXIS2-1580:
--------------------------------

    Attachment: ServerManager.wsdl

The WSDL file

> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Shahar Kedar (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1580?page=comments#action_12446598 ] 
            
Shahar Kedar commented on AXIS2-1580:
-------------------------------------

This is correct in case Axis2 needs to generate the WSDL. in that case it cannot reflect the non-exisitng name of the return value. So "return" is as good as any other name.
However, if I provide Axis2 with my own WSDL, then I expect Axis2 to create the response SOAP message according to the name of the element in the WSDL. In fact, I don't see how reflection has anything to do with it. As I see it, it is supposed to be this way:
1. invokeBusinessLogic -> get a certain java Object as response.
2. Create the SOAP message according to the WSDL -> fill the response element with the response Object's content.
Thus, the element name can be any name.


> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-1580.
--------------------------------------

    Resolution: Won't Fix

> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>            Assignee: Deepal Jayasinghe
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1580?page=all ]

Davanum Srinivas reassigned AXIS2-1580:
---------------------------------------

    Assignee: Deepal Jayasinghe

Deepal,

When the actual ser/de-ser happens, RPCMessageReceiver has access to the AxisService etc, so it can look up the information from the AxisOperation etc and figure out what to send instead of "return" right?

thanks,
dims

> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Assigned To: Deepal Jayasinghe
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1580) RPCMessageReceiver returns a subelement that doesn't conform to the WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470875 ] 

Deepal Jayasinghe commented on AXIS2-1580:
------------------------------------------

If you have a wsdl file , then pls do not use RPCMessageReceiver with that. What you have to do is generate server side code and use that as the service. If you want to use RPC MR (POJO case) then no point of putting the wsdl. Therefore I do not think that we need to fix this issue and it is not that easy to change RPC MR to handle that case, if we are going to do so what we are trying to do is re-implement the databdindng in side the RPC MR.

So I think we sholde resolve this issue with "Wont fix"


> RPCMessageReceiver returns a subelement that doesn't conform to the WSDL
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-1580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.1
>         Environment: Windows XP Pro, Tomcat 5.0, Nightly from 1/11
>            Reporter: Shahar Kedar
>         Assigned To: Deepal Jayasinghe
>         Attachments: ServerManager.wsdl, soapResponse.xml
>
>
> The RPCMessageReceiver always returns a subelement called "retrun" in the SOAP response. This happens even if the WSDL given to Axis defines a different name to the response subelement.
> Attached is the WSDL and the response SOAP message.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org