ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SAP debmas03 validation failure

Post new topic  Reply to topic
 SAP debmas03 validation failure « View previous topic :: View next topic » 
Author Message
kevinobyrne
PostPosted: Fri Mar 13, 2009 8:28 am    Post subject: SAP debmas03 validation failure Reply with quote

Voyager

Joined: 17 Jul 2007
Posts: 83
Location: Ireland

Hi,
I'm trying to pass an idoc through a flow with a validate node, the messageset is sap_debmas03_e2kna1m005, and it's a sequence with maxoccurs/minoccurs = 1,, so I've got every element being set (to '/'). The problem is that the element lib_itwithdrawn throws an exception:


Code:
      <Text>cvc-complex-type.2.4.e: Unexpected element. Element "lib_itwithdrawn" is not one of the choices.</Text>
   


I can't see anything that distinguishes lib_itwithdrawn from the other elements. I understand that it's a validation error, but I just can't see anything in the mxsd that would explain it. Anyone encounter this, or anything like it? There isn't even an xs:choice in the messageset.
Thanks,
Kevin
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Mar 13, 2009 9:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

- Insert a Trace node before the Validate node.
- Compare the message tree from the Trace node with the schema

You have to be rigorous in your analysis because the error might be further up in the document ( i.e. some previous tag might be incorrect, but the problem could not be detected until lib_itwithdrawn was reached ).
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 14, 2009 1:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kimbert wrote:
- Insert a Trace node before the Validate node.
- Compare the message tree from the Trace node with the schema

You have to be rigorous in your analysis because the error might be further up in the document ( i.e. some previous tag might be incorrect, but the problem could not be detected until lib_itwithdrawn was reached ).


Could he be running an old version of the IDOC? The adapter IIRC has the capability of checking the document against SAP's definition in real time.
So if the realtime definition is different from the buildtime definition what happens?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kevinobyrne
PostPosted: Sun Mar 15, 2009 3:11 am    Post subject: Resolved Reply with quote

Voyager

Joined: 17 Jul 2007
Posts: 83
Location: Ireland

Turns out that with 2 different SAP instances, the messagesets were slightly different.

SAP1 had the field lib_itwithdrawn (KATR1) and SAP2 had the field facilitystatus (KATR1). So the broker was correct to throw a validation error. This is the case with 3 of the fields in the debmas03 msgset. I'll have to talk to the SAP team.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SAP debmas03 validation failure
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.