Hello,

I'm a novice of Axis, using version 1.4 1855 April 22 2006 for my webservice.

I notice that when I include a namespace in the operation element of my soap 
request, for example below xmlns:dat="foobar"

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:dat="http://myservice.my.ca";>
   <soapenv:Header/>
   <soapenv:Body>
      <dat:getStuff xmlns:dat="foobar">
         <dat:in0>
            <dat:language>FR</dat:language>
         </dat:in0>
      </dat:getStuff>
   </soapenv:Body>
</soapenv:Envelope>

I get the namespace repeated in the response as xmlns="foobar"

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soapenv:Body>
      <getStuffResponse xmlns="foobar">
         <getStuffReturn>
...

Can Axis be configured to do any of these:
- not have the namespace repeated
- return a fault since xmlns:dat="foobar" doesn't match 
xmlns:dat="http://myservice.my.ca"; in the <soapenv> request element
- return a fault when xmlns is given in the operation element
- html-encode the repeated namespace

Thanks,

Patrick Legaspi

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to