我收到了一个 15 位数的用户 ID,并想修剪其最后 3 位数,然后发回给请求发件人。索取样品如下:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<lookupSubscriberInfo xmlns="http://testID.com/V1_0">
<callingParty>testParty</callingParty>
<subscriberRequestList>
<testId>888905425616681</opaqueId>
</subscriberRequestList>
</lookupSubscriberInfo>
</env:Body>
</env:Envelope>
我已阅读此 http://www.soapui.org/Service-Mocking/creating-dynamic-mockservices.html 但无法弄清楚..