Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saxexception - Invalid element in

Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am getting the below exception in my project while calling a web service. I have googled and found this is a common exception related to web service. But I am still unable to find the root cause for my project. Could someone tell me what exactly I need to look for.
This is what I have verified as per below error and schema:-
1. I validated the generated class for FormOfPayment
2. I found the FormOfPaymentSequenceGroup object that class.
3. Inside FormOfPaymentSequenceGroup I found MiscFormOfPayment object too.

So things looked ok to me. Please let me know what am I missing.

Error :-

PFB the request to thw WS :-

XSD definition :-

Thanks in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic