我需要形成如此处所示的xml部分,并从java调用它以获得响应。
有人可以解释我们如何调用此Post Webservice并传递xml
POST /webservices/wsElig270.asmx HTTP / 1.1 主持人:claims.realmed.com Content-Type:text / xml;字符集= utf-8的 内容长度:长度 SOAPAction:“https://claims.realmed.com/ProcessEligibility”
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessEligibility xmlns="https://claims.realmed.com">
<request>
<SubmitterID>string</SubmitterID>
<UserName>string</UserName>
<Password>string</Password>
<AnsiRequest>string</AnsiRequest>
<ExternalPayerID>string</ExternalPayerID>
<UserDefined1>string</UserDefined1>
<UserDefined2>string</UserDefined2>
<TimeStamp>string</TimeStamp>
</request>
</ProcessEligibility>
</soap:Body>
</soap:Envelope
答案 0 :(得分:0)