Sample Response Message
LeasePak Documentation Suite NETSOL website
add

(mPower icon) LPInvestor

add

Sample Successful Response Without SOAP

<?xml version="1.0"?>
<LP_RESPONSE_INFO>
	<RESULT_RECORD>
		<TYPE>INFO</TYPE>
		<RECORD>INVESTOR</RECORD>
		<KEY>20</KEY>
		<FIELD>clientNumber</FIELD>
		<MSGCODE>3005</MSGCODE>
		<MSGTEXT>New Investor number is:20</MSGTEXT>
	</RESULT_RECORD>
</LP_RESPONSE_INFO>
Sample Successfull Response Message With SOAP
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addResponse xmlns:ns="urn:LPInvestor">
			<ns:return><![CDATA[<?xml version="1.0"?>
				<LP_RESPONSE_INFO>
					<RESULT_RECORD>
						<TYPE>INFO</TYPE>
						<RECORD>INVESTOR</RECORD>
						<KEY>20</KEY>
						<FIELD>clientNumber</FIELD>
						<MSGCODE>3005</MSGCODE>
						<MSGTEXT>New Investor number is:20</MSGTEXT>
					</RESULT_RECORD>
				</LP_RESPONSE_INFO>        
			 ]]></ns:return>
		</ns:addResponse>
	</soapenv:Body>
</soapenv:Envelope>
Sample Response Message with SOAP (error response)

Example: Response when portfolio number is invalid.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:addResponse xmlns:ns="urn:LPInvestor">
			<ns:return><![CDATA[<?xml version="1.0"?>
				<LP_RESPONSE_INFO>
					<RESULT_RECORD>
						<TYPE>ERROR</TYPE>
						<RECORD>INVESTOR</RECORD>
						<KEY>5</KEY>
						<FIELD>portfolio</FIELD>
						<MSGCODE>1463</MSGCODE>
						<MSGTEXT>Invalid Portfolio.</MSGTEXT>
					</RESULT_RECORD>
				</LP_RESPONSE_INFO>
			 ]]></ns:return>
		</ns:addResponse>
	</soapenv:Body>
</soapenv:Envelope>