Help using Base SAS procedures

Proc Soap empty response xml

Reply
Highlighted
Learner
Posts: 1

Proc Soap empty response xml

Hello Everyone,

 

I'm having difficulty in getting a populated response xml from SOAP.  Here is my code.  Note - it works perfectly for posting to the webservices i am using - I just get an empty response xml.  There actually is information being sent, it is just not being captured the way I have spelled things out here.  My code is as follows:

 

FILENAME request 'd:\users\sasguy\soap\testfile1.xml';
FILENAME response 'd:\users\sasguy\soap\response.xml';

%let response=response;

proc soap in=REQUEST
out= response
url="https://faf.qa.tangentcorp.com/Integrator/SubmitApplication?authtoken=bm23412f076f93fe4833";
run;

 

Please let me know what I should change in order to get the response xml populated with the proper message.  The response that is being received when I use non-sas tools to post the same information is:  

 

<?xml version="1.0" encoding="utf-8"?>

<GenericSubmitAppResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <Errors>

        <ErrorData>

            <Message>Id:1724372, Name:'addpobox', Value:''</Message>

        </ErrorData>

        <ErrorData>

            <Message>Source system code does not exist.</Message>

        </ErrorData>

        <ErrorData>

            <Message>Must enter DOB for primary applicant</Message>

        </ErrorData>

    </Errors>

    <Success>false</Success>

    <ApplicationNumber xsi:nil="true" />

</GenericSubmitAppResponse>

 

 

Ask a Question
Discussion stats
  • 0 replies
  • 350 views
  • 0 likes
  • 1 in conversation