계층적 SOAP 메시지
SOAP 메시지가 WSDL에서 설명하고 호출되는 계층 구조 웹 서비스에서 구성되면 인시던트, u_custom_comments 및 u_comment_items 레코드가 작성됩니다.
엔드포인트 URL
https://instance.service-now.com/incident.do?SOAP&hierarchical=true
요청
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<inc:insert>
<short_description>test hierarchical</short_description>
<u_custom_comments>
<u_comment>comment 1</u_comment>
<u_comment_type>travel</u_comment_type>
<u_comment_items>
<u_name>name 1</u_name>
<u_value>value 1</u_value>
</u_comment_items>
</u_custom_comments>
</inc:insert>
</soapenv:Body>
</soapenv:Envelope>응답
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<insertResponse>
<sys_id>8422ebe7c0a8006e7d23848c2dc8ba47</sys_id>
<number>INC0010001</number>
</insertResponse>
</soapenv:Body>
</soapenv:Envelope>