Forum Discussion

trukstop's avatar
trukstop
New Contributor
12 years ago

FaultString:java.util.NoSuchElementException

I am using SoapUI and my request looks like :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:amex="http://domain/path/">
<soapenv:Header>
<Security>
<UsernameToken>
<Username>usernamehere</Username>
<Password>passwordhere</Password>
</UsernameToken>
</Security>
</soapenv:Header>
<soapenv:Body>
<amex:getCustomerPointsBalance>
<requestId>45678910</requestId>
<channelId>LEIVRFTB</channelId>
<requestTimestamp>2013-09-12T11:27:40.090+02:00</requestTimestamp>
<mediumLast4>3234</mediumLast4>
<ssnLast4>4353</ssnLast4>
<zipCode>78978</zipCode>
</amex:getCustomerPointsBalance>
</soapenv:Body>
</soapenv:Envelope>


However I am getting the following result
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Server</faultcode>
<faultstring>java.util.NoSuchElementException</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>

Any Ideas whats causing this

3 Replies