[ http://issues.apache.org/jira/browse/AXIS2-1285?page=comments#action_12444913 ] Kinichiro Inoguchi commented on AXIS2-1285: -------------------------------------------
I checked latest nightly war, axis2-1.1-SNAPSHOT.war 26-Oct-2006 14:57 Yes, I could see 2 namespaces are used in response. <ns:sayHelloResponse xmlns:ns="http://ws.aaa.bbb/types"> <ns:return> <ret1 xmlns="http://test/xsd">xyz</ret1> <ret2 xmlns="http://test/xsd">123</ret2> <ret3 xmlns="http://test/xsd">99999</ret3> <ret4 xmlns="http://test/xsd">123.456</ret4> <ret5 xmlns="http://test/xsd">4.0</ret5> <ret6 xmlns="http://test/xsd">789</ret6> <ret7 xmlns="http://test/xsd">true</ret7> </ns:return> <ns:return> <ret1 xmlns="http://test/xsd">xyzxyz</ret1> <ret2 xmlns="http://test/xsd">246</ret2> <ret3 xmlns="http://test/xsd">199998</ret3> <ret4 xmlns="http://test/xsd">246.912</ret4> <ret5 xmlns="http://test/xsd">8.0</ret5> <ret6 xmlns="http://test/xsd">789</ret6> <ret7 xmlns="http://test/xsd">true</ret7> </ns:return> </ns:sayHelloResponse> Thanks! > 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: rpc > Reporter: Kinichiro Inoguchi > Assigned To: Deepal Jayasinghe > Attachments: WsdlTest2.aar > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]