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 Jake Goulding <go...@vivisimo.com> on 2006/10/08 02:16:15 UTC

Missing declaration for xsi namespace?

I am getting an exception trying to call the Sharepoint web service. The 
error character is the 't' inside the quotes of xsi:nil="true". Looking 
at the SOAP, the xsi namespace isn't defined... is this a bug?

The error I am getting:
Server was unable to read request. --> There is an error in XML document 
(1, 384). --> Input string was not in a correct format.

The message I am sending:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
  <ns1:GetListItems 
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
    
<ns1:strListName>{1B4877CE-A7E1-4C41-98A2-D8071DD752BA}</ns1:strListName>
    <ns1:uRowLimit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:nil="true"
    />
  </ns1:GetListItems>
</soapenv:Body>
</soapenv:Envelope>



-- 

JAKE GOULDING
Software Engineer
goulding@vivisimo.com

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Missing declaration for xsi namespace?

Posted by Jake Goulding <go...@vivisimo.com>.
Done. Key: AXIS2-1325

Davanum Srinivas wrote:
> Definitely a bug, Please create a JIRA and upload your client code
> (snippet), wsdl and the soap request.
>
> thanks,
> dims
>
> On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
>> Current nightly as of 2006-10-07, sometime around 12:00 EST. Not
>> specifying a databinding with WSDL2Java.sh, so I assume ADB?
>>
>> Thanks!
>>
>> Davanum Srinivas wrote:
>> > Current nightly? which data binding?
>> >
>> > thanks,
>> > dims
>> >
>> > On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
>> >> I am getting an exception trying to call the Sharepoint web 
>> service. The
>> >> error character is the 't' inside the quotes of xsi:nil="true". 
>> Looking
>> >> at the SOAP, the xsi namespace isn't defined... is this a bug?
>> >>
>> >> The error I am getting:
>> >> Server was unable to read request. --> There is an error in XML 
>> document
>> >> (1, 384). --> Input string was not in a correct format.
>> >>
>> >> The message I am sending:
>> >> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
>> >> <soapenv:Envelope
>> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>> >> <soapenv:Header />
>> >> <soapenv:Body>
>> >>   <ns1:GetListItems
>> >> xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
>> >>
>> >> 
>> <ns1:strListName>{1B4877CE-A7E1-4C41-98A2-D8071DD752BA}</ns1:strListName> 
>>
>> >>
>> >>     <ns1:uRowLimit 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >>       xsi:nil="true"
>> >>     />
>> >>   </ns1:GetListItems>
>> >> </soapenv:Body>
>> >> </soapenv:Envelope>
>> -- 
>>
>> JAKE GOULDING
>> Software Engineer
>> goulding@vivisimo.com
>>
>> Viví­simo [Search Done Right™]
>> 1710 Murray Avenue
>> Pittsburgh, PA 15217 USA
>> tel: +1.412.422.2499 x105
>> fax: +1.412.422.2495
>> vivisimo.com      clusty.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
-- 

JAKE GOULDING
Software Engineer
goulding@vivisimo.com

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Missing declaration for xsi namespace?

Posted by Davanum Srinivas <da...@gmail.com>.
Definitely a bug, Please create a JIRA and upload your client code
(snippet), wsdl and the soap request.

thanks,
dims

On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
> Current nightly as of 2006-10-07, sometime around 12:00 EST. Not
> specifying a databinding with WSDL2Java.sh, so I assume ADB?
>
> Thanks!
>
> Davanum Srinivas wrote:
> > Current nightly? which data binding?
> >
> > thanks,
> > dims
> >
> > On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
> >> I am getting an exception trying to call the Sharepoint web service. The
> >> error character is the 't' inside the quotes of xsi:nil="true". Looking
> >> at the SOAP, the xsi namespace isn't defined... is this a bug?
> >>
> >> The error I am getting:
> >> Server was unable to read request. --> There is an error in XML document
> >> (1, 384). --> Input string was not in a correct format.
> >>
> >> The message I am sending:
> >> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> >> <soapenv:Envelope
> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> >> <soapenv:Header />
> >> <soapenv:Body>
> >>   <ns1:GetListItems
> >> xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
> >>
> >> <ns1:strListName>{1B4877CE-A7E1-4C41-98A2-D8071DD752BA}</ns1:strListName>
> >>
> >>     <ns1:uRowLimit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >>       xsi:nil="true"
> >>     />
> >>   </ns1:GetListItems>
> >> </soapenv:Body>
> >> </soapenv:Envelope>
> --
>
> JAKE GOULDING
> Software Engineer
> goulding@vivisimo.com
>
> Viví­simo [Search Done Right™]
> 1710 Murray Avenue
> Pittsburgh, PA 15217 USA
> tel: +1.412.422.2499 x105
> fax: +1.412.422.2495
> vivisimo.com      clusty.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Missing declaration for xsi namespace?

Posted by Jake Goulding <go...@vivisimo.com>.
Current nightly as of 2006-10-07, sometime around 12:00 EST. Not 
specifying a databinding with WSDL2Java.sh, so I assume ADB?

Thanks!

Davanum Srinivas wrote:
> Current nightly? which data binding?
>
> thanks,
> dims
>
> On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
>> I am getting an exception trying to call the Sharepoint web service. The
>> error character is the 't' inside the quotes of xsi:nil="true". Looking
>> at the SOAP, the xsi namespace isn't defined... is this a bug?
>>
>> The error I am getting:
>> Server was unable to read request. --> There is an error in XML document
>> (1, 384). --> Input string was not in a correct format.
>>
>> The message I am sending:
>> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
>> <soapenv:Envelope 
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>> <soapenv:Header />
>> <soapenv:Body>
>>   <ns1:GetListItems
>> xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
>>
>> <ns1:strListName>{1B4877CE-A7E1-4C41-98A2-D8071DD752BA}</ns1:strListName> 
>>
>>     <ns1:uRowLimit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>       xsi:nil="true"
>>     />
>>   </ns1:GetListItems>
>> </soapenv:Body>
>> </soapenv:Envelope>
-- 

JAKE GOULDING
Software Engineer
goulding@vivisimo.com

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Missing declaration for xsi namespace?

Posted by Davanum Srinivas <da...@gmail.com>.
Current nightly? which data binding?

thanks,
dims

On 10/7/06, Jake Goulding <go...@vivisimo.com> wrote:
> I am getting an exception trying to call the Sharepoint web service. The
> error character is the 't' inside the quotes of xsi:nil="true". Looking
> at the SOAP, the xsi namespace isn't defined... is this a bug?
>
> The error I am getting:
> Server was unable to read request. --> There is an error in XML document
> (1, 384). --> Input string was not in a correct format.
>
> The message I am sending:
> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Header />
> <soapenv:Body>
>   <ns1:GetListItems
> xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
>
> <ns1:strListName>{1B4877CE-A7E1-4C41-98A2-D8071DD752BA}</ns1:strListName>
>     <ns1:uRowLimit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>       xsi:nil="true"
>     />
>   </ns1:GetListItems>
> </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> --
>
> JAKE GOULDING
> Software Engineer
> goulding@vivisimo.com
>
> Viví­simo [Search Done Right™]
> 1710 Murray Avenue
> Pittsburgh, PA 15217 USA
> tel: +1.412.422.2499 x105
> fax: +1.412.422.2495
> vivisimo.com      clusty.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org