Hi folks.

I've written an Axis2 service which returns the correct data, but the
namespace in the response seems to be incorrect.

Now, I know very little (nothing) about SOAP, so I may be wrong about this.
But if the class that implements the service is foo.bar.GroupService,
shouldn't the namespace in the response be
"http://foo.bar.GroupService/xsd";?

Below is the request and the response. Thanks for any feedback you can
provide!



GET /Feh/services/GroupService/getGroupIds HTTP/1.1

Host: localhost:8080

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3

Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

Accept-Language: en-us,es-mx;q=0.7,en;q=0.3

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Cookie: JSESSIONID=A5E3C005B8612DE246643CB9A21E020B



HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: application/xml;charset=UTF-8

Transfer-Encoding: chunked

Date: Wed, 05 Sep 2007 14:31:50 GMT



b7

<ns:getGroupIdsResponse
xmlns:ns="http://org.apache.axis2/xsd";><ns:return>-1</ns:return><ns:return>920</ns:return><ns:return>930</ns:return></ns:getGroupIdsResponse>

0
-- 
View this message in context: 
http://www.nabble.com/wrong-namespace-in-response--tf4384479.html#a12499369
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to