Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


REPOST:

From: teddysnips@-------.---
To: NULL
Date: 12/6/2006 1:51:00 AM

In the class declaration of a web service that I've just picked up for
maintenance:

<Obsolete("Superseded by OrderPaymentElements")> Public PaymentType
 As OrderPaymentType
     Public OrderPaymentElements As OrderPaymentList

 Apparently there's a problem with the generated SOAP.  This is what
the client said:

 "Server was unable to read request. --> There is an error in XML
document (1, 1553). --> '0' is not a valid value for OrderPaymentType"

Looking at the request that is the position of the PaymentType element
in the soap document."

Can anyone tell me what possible purpose the <Obsolete tag has?  Are
there any reasons not to use <XmlIgnore()> instead?  More worryingly,
why is the server barfing?

DISCLAIMER:  I'm new to this and it's a pretty complex, and completely
undocumented application.  Aren't I the lucky one?

Thanks
 
Edward



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent