com.wm.lang.xml.WMDocumentException:[B2BCORE.0042.9327] Expe

Question: Hello .

I'm calling a BC-Service. Everything seems to be okay. But sometimes i don't working correctly and it returns a 403 Service Error. In the error.log i found the following entry:

com.wm.lang.xml.WMDocumentException:[B2BCORE.0042.9327] Expecting </hr> got </H1>

Any ideas ?

Thanks in advance,

Sebastian

Answer:
Hello,

did you check your XML file where is end of "hr" field. Is seems that end tag is missing in XML.

Gordan

Answer:
I tested that. But i don't use XML documents which contain such tags. from which source else this error can result ?

Ideas ?

Sebastian

Answer:
Hello,

If you do not have <hr></hr> tag in your XML file only what I can suggest is to debug flow, step by step, through developer. You should use XML file which produced you with error.

This error is because XML document does not comply with XML schema definition.

HTH

Gordan

Answer:
What you are getting here is HTML ( <HR> is horizontal rule and <H1> is header 1 )
I think that your source must be a web site or internal web server from where you are picking up xml - you are probable getting an error page when the BC goes to get the data.
You can control for this by checking the HTTP header and catching the exceptions ...
Cheers

Jon
Copyright ?2007 - 2008 www.jt77.com