on 12-30-2008 9:52 AM
Hi Friends,
I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
HTML then getting error in SXMB_MONI as
"Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
Please guide me for the same.
Regards,
Nitin Patil
Nitin,
what do you mean with "Payload contains onl"? What does ONL stand for?
Well the error message is telling me that something is not correct in your HTML payload. Check your payload in hex mode to find out whether there are some kind of "invisible footprints" like 0xXX left by your HTML editor. Try to use simple editor like windows notepad to recreate your payload and have it another try.
Regards,
Chen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
Try to compose your XHTML like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>
</head>
<body>
<p>some email address</p>
</body>
</html>
Make sure there are no weird characters and empty lines within and before the <?xml
Regards,
Chen
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.