XML 데이터 삽입을 위해 아래 코드를 수정해야합니다.웹 서비스의 응답 XML에서 XML 데이터 삽입
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder db = factory.newDocumentBuilder();
InputSource inStream = new InputSource();
inStream.setCharacterStream(new StringReader(xmlFromWebService));
Document doc = db.parse(inStream); // reported at this line by a code audit tool
doc.getDocumentElement().normalize();
어떻게 고칠 수 있습니까? 누구든지 어떤 제안이 있으십니까?
예. 걱정됩니다. 또한 모듈에서 솔루션을 찾아 구현 한 후 각 질문에 올바른 솔루션을 게시했습니다. 나는 그것에 대해 알지 못했다. –
어이 지금이 하나에 해결책을 줄 수 있습니다 !!!!! –