이 문제에 대해 조금 연구했지만 응답에 대한 응답 방식이 변경되는 것 같습니다. xml 문자열을 반환하는 제 3 자 웹 서비스를 호출하고 있습니다. 내 로컬 Win7 시스템에서 할 때 잘됩니다. 나는 우리 서버, 승리 Server 2003으로 그것을 둘 때, 나는이 오류 수익을 얻을 :Grails 오류 : XML 문자 (유니 코드 : 0x5c)가 유효하지 않습니다.
Error 500: Executing action [vinlookup] of controller [AutoVehicleController] caused exception: null
Servlet: grails
URI: /NonProfits/grails/autoVehicle/vinlookup.dispatch
Exception Message: An invalid XML character (Unicode: 0x5c) was found in the public identifier.
Caused by: An invalid XML character (Unicode: 0x5c) was found in the public identifier.
Class: AutoVehicleController
At Line: [172]
Code Snippet:
Stack Trace
org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x5c) was found in the public identifier.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at VinPowerService.decodeVin(VinPowerService.groovy:40)
at VinPowerService$$FastClassByCGLIB$$6f8d198b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at VinPowerService$$EnhancerByCGLIB$$f1db38bd.decodeVin(<generated>)
at VinPowerService$decodeVin.call(Unknown Source)
at AutoVehicleController$_closure7.doCall(AutoVehicleController.groovy:172)
at AutoVehicleController$_closure7.doCall(AutoVehicleController.groovy)
at java.lang.Thread.run(Thread.java:619)
당신은 웹 서비스를 호출하는 방법을 말하지 않거나이 오류가 발생하는 코드를 보여 주거나 사용중인 Grails 및 관련 플러그인의 버전을 말하십시오. 유용 할 수 있습니까? –