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 "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org> on 2004/11/10 17:02:25 UTC

[jira] Created: (AXIS-1656) wrong soapresponse

wrong soapresponse
------------------

         Key: AXIS-1656
         URL: http://nagoya.apache.org/jira/browse/AXIS-1656
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC2    
 Environment: Java 1.4+, All Operating Systems
    Reporter: Rogério Pereira Araújo
    Priority: Blocker


My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
This is wrong or not?
For more details or full source code please mail-me.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=history ]

Rogério Pereira Araújo updated AXIS-1656:
-----------------------------------------

    Attachment: deploy-DoarService.xml

deploy-DoarService.xml is the deployment descriptor of my test webservice that comes with net.zip file.

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: deploy-DoarService.xml, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1656) wrong soapresponse

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=comments#action_55561 ]
     
Venkat Reddy commented on AXIS-1656:
------------------------------------

Prefer a minimal client and server code which i can readily deploy and run to reproduce the issue.
 

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker

>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=history ]

Rogério Pereira Araújo updated AXIS-1656:
-----------------------------------------

    Attachment: j2me_client.zip

This is an j2me client that really fires the bug... The same occurs with C# client stubs...
The file is j2me_client.zip, this file contains all classes need to run the j2me application.

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: client.zip, deploy-DoarService.xml, j2me_client.zip, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=comments#action_55363 ]
     
Rogério Pereira Araújo commented on AXIS-1656:
----------------------------------------------

The classes and deployment descriptor is sufficient?
Or you need the entire webapplication?

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker

>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1656) wrong soapresponse

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=comments#action_55337 ]
     
Venkat Reddy commented on AXIS-1656:
------------------------------------

Can you submit a minimal test case to reproduce the issue? Thanks.

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker

>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=history ]

Rogério Pereira Araújo updated AXIS-1656:
-----------------------------------------

    Attachment: client.zip

The client part of testcase that fires the wrong soap response bug...

I hope this helps.

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: client.zip, deploy-DoarService.xml, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1656?page=history ]

Davanum Srinivas updated AXIS-1656:
-----------------------------------

    Priority: Major  (was: Blocker)

downgrading the bug.

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://issues.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>  Attachments: client.zip, client_csharp.zip, deploy-DoarService.xml, j2me_client.zip, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=history ]

Rogério Pereira Araújo updated AXIS-1656:
-----------------------------------------

    Attachment: net.zip

This is the server part of my test case, preserving the structure of the package, DoarService.java is my Axis webservice and Doacao is the object passed to Doar method as parameter, every time when i call Doar method i got a doacaoReturn instead of doarReturn in soap response. I'll send the client later. 

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=comments#action_55952 ]
     
Rogério Pereira Araújo commented on AXIS-1656:
----------------------------------------------

The last comment is related to net.zip file...

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1656) wrong soapresponse

Posted by "Matt P (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-1656?page=comments#action_12359506 ] 

Matt P commented on AXIS-1656:
------------------------------

I think this is similar to AXIS-2194.

I am having the same problem: the response contains parameterReturn, instead of methodReturn type.


> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://issues.apache.org/jira/browse/AXIS-1656
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>  Attachments: client.zip, client_csharp.zip, deploy-DoarService.xml, j2me_client.zip, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

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


[jira] Updated: (AXIS-1656) wrong soapresponse

Posted by "Rog?rio Pereira Ara?jo (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1656?page=history ]

Rogério Pereira Araújo updated AXIS-1656:
-----------------------------------------

    Attachment: client_csharp.zip

This is a csharp client that only works if i change doarReturn to doacaoReturn and the namespace of this element to http://doacao.sf.net

Note: to regenerate the client stub you can use the wsdl utility that comes with .NET and Mono frameworks.

wsdl -namespace:SomeNamespace [URL] 

> wrong soapresponse
> ------------------
>
>          Key: AXIS-1656
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1656
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC2
>  Environment: Java 1.4+, All Operating Systems
>     Reporter: Rogério Pereira Araújo
>     Priority: Blocker
>  Attachments: client.zip, client_csharp.zip, deploy-DoarService.xml, j2me_client.zip, net.zip
>
> My webservice is deployed using java:RPC provider and document style, the wsdl definition is ok, but i have a problem, my webservice has a method doar with a parameter of type Doacao (a POJO), when i call this method the soap response comes with doacaoReturn and namespace http://doacao.sf.net instead of doarReturn and namespace http://localhost:8080/doacao/services/DoarService.
> This is wrong or not?
> For more details or full source code please mail-me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira