I have sent the first SOAP Call to invoke Forgotten Password Admin Task and got a correct response which contains a question. However, when I sent the second SOAP Call with the correct answer I got the following error message.
org.xml.sax.SAXException: The prefix "wsdl" for element "wsdl:_BAR_VerifyAnswer_BAR_" is not bound.
org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 41; The prefix "wsdl" for element "wsdl:_BAR_VerifyAnswer_BAR_" is not bound.
Here is my SOAP request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PublicTaskContext xmlns="http://tews6/wsdl">
<transaction_id>95388873-59095bba-a8065180-7c6780b</transaction_id>
# This is the transaction_Id from the previous return payload
</PublicTaskContext>
<ForgottenPasswordSearch xmlns="http://tews6/wsdl">
<Subject index="0">
<UID>UserID</UID>
# Represents the user login ID
<wsdl:_BAR_VerifyAnswer_BAR_>Tom Cruise</wsdl:_BAR_VerifyAnswer_BAR_>
# Answer to the question
</Subject>
</ForgottenPasswordSearch>
</soap:Body>
</soap:Envelope>
Here is the response
<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tews="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>Error parsing incoming document.</faultstring>
<detail>
<tews:ImsException version="6.0" xmlns="http://tews6/xsd/common">
<tews:exception>
<tews:name>org.xml.sax.SAXException</tews:name>
<tews:code>300</tews:code>
<tews:description>org.xml.sax.SAXException: The prefix "wsdl" for element "wsdl:_BAR_VerifyAnswer_BAR_" is not bound.
org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 41; The prefix "wsdl" for element "wsdl:_BAR_VerifyAnswer_BAR_" is not bound.</tews:description>
<tews:transaction/>
</tews:exception>
</tews:ImsException>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Release: 14.x
Component: Identity Manager
Modify the following in SOAP request XML
From
<wsdl:_BAR_VerifyAnswer_BAR_>First Lastname</wsdl:_BAR_VerifyAnswer_BAR_>
To
<_BAR_VerifyAnswer_BAR_>first Last Name</_BAR_VerifyAnswer_BAR_>
So essentially, removing wsdl: