mthacker Posted January 31, 2008 Share Posted January 31, 2008 I have an xml file that I will be posting in order to pull credit scores into our enterprise system. The problem is that I keep getting a response error message saying that my xml file is not well formed. Here's the xml file code <?xml version='1.0' encoding='UTF-8' ?><REQUEST_GROUP MISMOVersionID='2.1'><RECEIVING_PARTY _Name='999LM01098' /><SUBMITTING_PARTY _Name='Liberty Mortgage Funding' /><REQUEST InternalAccountIdentifier='acctID' LoginAccountIdentifier='logID' LoginAccountPassword='thePass' RequestDateTime='2008-01-31 10:37:20' ><REQUEST_DATA><CREDIT_REQUEST LenderCaseIdentifier='loanID' MISMOVersionID='2.1' RequestingPartyRequestedByName='mthacker'><CREDIT_REQUEST_DATA BorrowerID='100252' CreditReportIdentifier='' CreditReportRequestActionType='Submit' CreditRequestType='Single'><CREDIT_REPOSITORY_INCLUDED _EquifaxIndicator='Y' _ExperianIndicator='Y' _TransUnionIndicator='Y' /><CREDIT_SCORE_MODEL_NAME _Type='EquifaxBeacon' /><CREDIT_SCORE_MODEL_NAME _Type='TransUnionEmpirica' /></CREDIT_REQUEST_DATA><LOAN_APPLICATION><BORROWER BorrowerID='Borrower' _FirstName='New' _LastName='Aold' _MiddleName='' _NameSuffix='' _SSN='theSSN'><_RESIDENCE BorrowerResidencyType='Current' _City='theCity' _PostalCode='theZip' _State='theState' _StreetAddress='theAddress' /></BORROWER></LOAN_APPLICATION></CREDIT_REQUEST></REQUEST_DATA></REQUEST></REQUEST_GROUP> I'm trying with hardcoded values for testing, can anyone see what the problem is with this file? This is my first experience with xml to this point. I'm coding using php/curl to post to url. Quote Link to comment https://forums.phpfreaks.com/topic/88773-xml-issue-for-https-posting/ Share on other sites More sharing options...
rhodesa Posted January 31, 2008 Share Posted January 31, 2008 The XML is valid, but it might not match what they are expecting. Do you have any more info as to what they are looking for exactly? And XML Schema Definition (XSD) or Document Type Definition (DTD) would be awesome. Quote Link to comment https://forums.phpfreaks.com/topic/88773-xml-issue-for-https-posting/#findComment-454682 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.