You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vikas Singh <vi...@gmail.com> on 2006/03/09 15:14:54 UTC

Fwd: null namespace generated for qualified elements

Hi,

I am using Axis 1.3 . My xsds have elementFormDefault="qualified".  I am
trying to send the following xml as a soap request (doc/lit wrapped) .:
<?xml version="1.0" encoding="UTF-8"?>
<scx:ConfigRoot
    xmlns:scx="http://myns/schemas/2006/3/3/sci/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    serviceGroup="travelDepartment" >
    <scx:Policies>
        <thttp:TransportPolicy name="default.soap.http.policy" xmlns:thttp="
http://myns/schemas/2006/3/3/transport">
            <thttp:AllowHttp10 >false</thttp:AllowHttp10>
        </thttp:TransportPolicy>
    </scx:Policies>
</scx:ConfigRoot>

The request body generated by by Axis is as following:
<?xml version="1.0" encoding="UTF-8"?>
   <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>
         <putConfig>
            <scx:ConfigRoot serviceGroup="travelDepartment" xmlns:scx="
http://myns/schemas/2006/3/3/sci/" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
               <scx:Policies xmlns:scx="">
                  <thttp:TransportPolicy name="default.soap.http.policy"
xmlns:thttp="http://myns/schemas/2006/3/3/transport">
                     <thttp:AllowHttp10
xmlns:thttp="">false</thttp:AllowHttp10>

                  </thttp:TransportPolicy>
               </scx:Policies>
            </scx:ConfigRoot>
         </putConfig>
      </soapenv:Body>
   </soapenv:Envelope>

As per http://issues.apache.org/jira/browse/AXIS-1807 , it is already
resolved (during v 1.2) .
Please let me know if anyone could resolve this issue.

Thank you,
Vikas

Re: null namespace generated for qualified elements

Posted by Anne Thomas Manes <at...@gmail.com>.
WSDL please?

On 3/9/06, Vikas Singh <vi...@gmail.com> wrote:
>
>
> Hi,
>
> I am using Axis 1.3 . My xsds have elementFormDefault="qualified".  I am
> trying to send the following xml as a soap request (doc/lit wrapped) .:
> <?xml version="1.0" encoding="UTF-8"?>
> <scx:ConfigRoot
>     xmlns:scx="http://myns/schemas/2006/3/3/sci/"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     serviceGroup="travelDepartment" >
>     <scx:Policies>
>         <thttp:TransportPolicy name="default.soap.http.policy"
> xmlns:thttp="http://myns/schemas/2006/3/3/transport">
>             <thttp:AllowHttp10 >false</thttp:AllowHttp10>
>         </thttp:TransportPolicy>
>     </scx:Policies>
> </scx:ConfigRoot>
>
> The request body generated by by Axis is as following:
> <?xml version="1.0" encoding="UTF-8"?>
>    <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>
>          <putConfig>
>             <scx:ConfigRoot serviceGroup="travelDepartment" xmlns:scx="
> http://myns/schemas/2006/3/3/sci/" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance">
>                <scx:Policies xmlns:scx="">
>                   <thttp:TransportPolicy name="default.soap.http.policy"
> xmlns:thttp="http://myns/schemas/2006/3/3/transport">
>                      <thttp:AllowHttp10 xmlns:thttp="">false</thttp:AllowHttp10>
>
>                   </thttp:TransportPolicy>
>                </scx:Policies>
>             </scx:ConfigRoot>
>          </putConfig>
>       </soapenv:Body>
>    </soapenv:Envelope>
>
> As per http://issues.apache.org/jira/browse/AXIS-1807 , it is already
> resolved (during v 1.2) .
> Please let me know if anyone could resolve this issue.
>
> Thank you,
> Vikas
>