0

在 SOAP UI 中调用 Remedy Web 服务“HPD_IncidentInterface_Create_WS”时出现错误。SOAP 版本是 5.3.0。我提供了所有必填字段。

错误:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>javax.xml.soap.SOAPException: java.lang.ClassCastException: org.apache.axis.message.Text cannot be cast to org.w3c.dom.Element</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">cesremwebcrt03</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

XML 代码:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:HPD_IncidentInterface_Create_WS">
<soapenv:Header>
    <urn:AuthenticationInfo>
    <urn:userName>"xxxx"</urn:userName>
    <urn:password>"xxxx"</urn:password>
    </urn:AuthenticationInfo>
    </soapenv:Header>
    <soapenv:Body>
    <urn:HelpDesk_Submit_Service>
<urn:Action>Create</urn:Action>
<urn:Last_Name>Dhupar</urn:Last_Name>
<urn:First_Name>Vartika</urn:First_Name>
<urn:Status>Assigned</urn:Status>
<urn:Service_Type>User Service Request</urn:Service_Type>
    <urn:Impact>"4-Minor/Localized"</urn:Impact>
    <urn:Urgency>"4-Low"</urn:Urgency>
    <urn:Summary>XYZ</urn:Summary>
<urn:Reported_Source>Self Service</urn:Reported_Source>
    </urn:HelpDesk_Submit_Service>
</soapenv:Body>
</soapenv:Envelope>

请帮忙!

4

0 回答 0