DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16666>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16666

Bad default namespace on response





------- Additional Comments From [EMAIL PROTECTED]  2003-02-19 15:12 -------
I tried with the class test.MSGDispatch.TestService.
When I used testElementEcho() method I had the same behaviour I submitted.
I used this input message:

<Message xmlns="http://db.com"; id="0002"><Data/></Message>

and had the following output:

<ns1:Message id="0002" xmlns="http://db.com"; 
xmlns:ns1="http://db.com";><ns1:Data/></ns1:Message>

Then I tried with method testElement() with the same input message
and obtained this output:

<m:elementResult xmlns:m="http://db.com"/>

Finally I try modifying testElement() changing the instruction

String xml = "<m:elementResult xmlns:m=\"http://db.com\"/>" ;

with

String xml = "<elementResult xmlns=\"http://db.com\"/>" ;

and have this output:

<ns1:elementResult xmlns="http://db.com"; xmlns:ns1="http://db.com"/>

I did't try with JUnit test... because I never used JUnit (shame!...)

Reply via email to