API - getUserDataResponse Is Returning Null UserInfo Account Details

Status
Not open for further replies.

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
628
Reaction score
175
Location
Fulton, NY
Sorry for posting this in the database forum, but the link for API related support group questions at the bottom of this page is dead:

@blantonl

Issue: the API response message getUserDataResponse() does not contain a UserInfo structure.

WSDL method description:
Code:
<message name="getUserDataResponse">
<part name="return" type="tns:UserInfo"/>
</message>

I'm getting an HTTP 200 response with the following payload

Code:
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><getUserDataResponse xmlns="http://api.radioreference.com/soap2"></getUserDataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

One of my sdrtrunk users originally reported this issue and I'm seeing the same issue when I attempt from my location.

v/r,

Denny
 
Last edited by a moderator:

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
628
Reaction score
175
Location
Fulton, NY
@blantonl

Getting closer, I'm now seeing a malformed XML response message:

Code:
<?xml version="1.0" encoding="utf-8"?>
 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
  <getUserDataResponse>
    <return><username>dsheirer</username><subExpireDate>10-23-2025</subExpireDate></return>
  </getUserDataResponseResponse>
</SOAP-ENV:Body></SOAP-ENV:Envelope>

See the closing tag: </getUserDataResponseResponse> should be </getUserDataResponse>

v/r,
Denny
 
Status
Not open for further replies.
Top