In this case, my website has a Web service to import news. It has been running very well all the time. It is suddenly unavailable when I use the console to import news. The error http400 is returned. Request failed due to HTTP status 400: Bad request.
No error is reported if you directly access the Web service using a URL. Updating Web Service references does not work. The problem with the current data is as follows:
1 <? XML version = "1.0" encoding = "UTF-8"?>
2 <soap: envelope xmlns: Soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns: XSD = "http://www.w3.org/2001/XMLSchema">
3 <soap: Body>
4 <import xmlns = "http://ido.com/">
5 <News>
6 <newsid> fc4db314-616e-4b4f-a426-12db5d1674e5 </newsid>
7 <parentcategoryid> 0 </parentcategoryid>
8 <categoryid> 0 </categoryid>
9 <newstype> 1 </newstype>
Http://www.xxxxx.com/article_12.php/12uiiu 10 <sourceurl> </sourceurl>
11 <title> How to urinate </title>
12 <subtitle/>
13 <Keys> urgency </Keys>
14 <description> how to put the baby's head and back on the adult body, and the adult's body should not be straight, the baby will not resist within three months. At the same time, other conditions are given for stimulation, such as & # x1c; boosh & # x1d; acoustic induction to trigger urine, & # x1c; Hmm & # x1d; sound to urge the stool. At the beginning, the baby may not be able to work with each other. It is not necessary to take a long time each time and train regularly so that the baby can form a conditioned reflex for Regular defecation and develop a good habit of defecation. </Description>
15 <content>
16 & lt; P & gt; defecation is a natural non-conditioned physiological reflex, and there are many irregular urination times in the newborn. As the baby grows up day by day, the number of urination times decreases, and the amount increases. Babies born under half a year old have 3 to 5 stools each day ~ 4 times, about 20 urination times, half-to-one-year-old, 1-day stool ~ 2. urinate for about 15 times. However, if you observe carefully, the number of urination times is related to the amount of food you eat and the amount of water you enter. Most babies suffer from abdominal encouragement, blushing face, and paralysis during defecation. & Lt;/P & gt;
17 & lt; P & gt; cultivate good bowel and urine habits as early as possible, which not only makes the baby's gastrointestinal activities regular, but also helps the baby's skin clean and reduce the trouble for parents to wash diapers, you can also train your baby's bladder storage and sphincter contraction functions. Therefore, you should urinate before and after the full moon. First, pay attention to observe the baby's life patterns, usually after waking up and eating milk in a timely manner, do not get too diligent, resulting in a lot of urine. Correct posture, so that the baby's head and back depend on the adult body, and the adult body should not be straight, the baby will not resist within three months. At the same time, other conditions are given for stimulation, such as & # x1c; boosh & # x1d; acoustic induction to trigger urine, & # x1c; Hmm & # x1d; sound to urge the stool. At the beginning, the baby may not be able to work with each other. It is not necessary to take a long time each time and train regularly so that the baby can form a conditioned reflex for Regular defecation and develop a good habit of defecation .?? & Lt;/P & gt;
18 </content>
19 <created> 0001-01-01t00: 00: 00 </created>
20 <importnews> false </importnews>
21 </News>
22 </import>
23 </soap: Body>
24 </soap: envelope>
Because & # x1c; is an invalid character in XML, the Web service fails to parse this XML.