axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kinichiro Inoguchi (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1285) Invalid namespace in response by RPCMessagaReceiver
Date Tue, 03 Oct 2006 01:28:22 GMT
Invalid namespace in response by RPCMessagaReceiver
---------------------------------------------------

                 Key: AXIS2-1285
                 URL: http://issues.apache.org/jira/browse/AXIS2-1285
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: core
            Reporter: Kinichiro Inoguchi


I found this issue when I fight with AXIS2-805 and AXIS2-1252.

With my service, I defined namespace like these;
- definitions namespace = none (default to http://ws.apache.org/axis2)
- schema namespace = http://ws.aaa.bbb/types
- HelloBean = http://test/xsd (comes from package 'test')

You can call this by REST,
http://localhost:8080/axis2/rest/WsdlTest2/sayHello?var1=xyz&var2=123&var3=99999&var4=123.456&var5=4.0&var6=789&var7=true

And you can get response like this,

<ns:sayHelloResponse xmlns:ns="http://ws.aaa.bbb/types">
  <ns:return>
    <ns:ret1>xyz</ns:ret1> 
    <ns:ret2>123</ns:ret2> 
    <ns:ret3>99999</ns:ret3> 
    <ns:ret4>123.456</ns:ret4> 
    <ns:ret5>4.0</ns:ret5> 
    <ns:ret6>789</ns:ret6> 
    <ns:ret7>true</ns:ret7> 
  </ns:return>
  <ns:return>
    <ns:ret1>xyzxyz</ns:ret1> 
    <ns:ret2>246</ns:ret2> 
    <ns:ret3>199998</ns:ret3> 
    <ns:ret4>246.912</ns:ret4> 
    <ns:ret5>8.0</ns:ret5> 
    <ns:ret6>789</ns:ret6> 
    <ns:ret7>true</ns:ret7> 
  </ns:return>
</ns:sayHelloResponse>

Response has namespace "http://ws.aaa.bbb/types" only.
I think some part should have "http://test/xsd".

Thanks.

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


Mime
View raw message