Dev - RateRequest error in the console...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev - RateRequest error in the console...

Jacopo Cappellato
Hi all,

every time I create a new sales order, the following errors appears in
the console:

[Error] :1:60: cvc-elt.1: Cannot find the declaration of element
'RateRequest'.
[Error] :2:15: cvc-elt.1: Cannot find the declaration of element
'RateResponse'.

[Error] :2:12: cvc-elt.1: Cannot find the declaration of element
'ofbiz-ser'.

I think they are related to the UPS rate service, but I'm not sure;
however I can enter the order without problems.

Am I the only one?

Jacopo
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - RateRequest error in the console...

David E. Jones

These are validation errors for the XML deserialization routines. They can be safely ignored. The parser is complaining about everything because there is no XSD file for it. The code needs to be changed to turn off the validation for this parsing.

-David


Jacopo Cappellato wrote:

> Hi all,
>
> every time I create a new sales order, the following errors appears in
> the console:
>
> [Error] :1:60: cvc-elt.1: Cannot find the declaration of element
> 'RateRequest'.
> [Error] :2:15: cvc-elt.1: Cannot find the declaration of element
> 'RateResponse'.
>
> [Error] :2:12: cvc-elt.1: Cannot find the declaration of element
> 'ofbiz-ser'.
>
> I think they are related to the UPS rate service, but I'm not sure;
> however I can enter the order without problems.
>
> Am I the only one?
>
> Jacopo
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - RateRequest error in the console...

Jacopo Cappellato
Ok,

thanks David.

Jacopo

David E. Jones wrote:

> These are validation errors for the XML deserialization routines. They can be safely ignored. The parser is complaining about everything because there is no XSD file for it. The code needs to be changed to turn off the validation for this parsing.
>
> -David
>
>
> Jacopo Cappellato wrote:
>> Hi all,
>>
>> every time I create a new sales order, the following errors appears in
>> the console:
>>
>> [Error] :1:60: cvc-elt.1: Cannot find the declaration of element
>> 'RateRequest'.
>> [Error] :2:15: cvc-elt.1: Cannot find the declaration of element
>> 'RateResponse'.
>>
>> [Error] :2:12: cvc-elt.1: Cannot find the declaration of element
>> 'ofbiz-ser'.
>>
>> I think they are related to the UPS rate service, but I'm not sure;
>> however I can enter the order without problems.
>>
>> Am I the only one?
>>
>> Jacopo
>>  
>> _______________________________________________
>> Dev mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/dev
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev