TjodarsynXML
Click here for a complete list of operations.
GetNafnaListiNew
Gefur nafnalista - finnur 30 næstu nöfn í þjóðskránni, þarf leitarnafn, kennitölu, leitarátt (A=Áfram, B=Bakka), lykilorð, blanko/E=leit í þjóðskrá/fyrirtækjaskrá en F=leit bara í fyrirtækjaskrá
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /tjodarsyn/service.asmx HTTP/1.1 Host: xml.ferli.is Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://xml.ferli.is/GetNafnaListiNew" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetNafnaListiNew xmlns="http://xml.ferli.is"> <str_Nafn>string</str_Nafn> <str_KTala>string</str_KTala> <str_Lesa>string</str_Lesa> <str_PassWord>string</str_PassWord> <str_Eink>string</str_Eink> </GetNafnaListiNew> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetNafnaListiNewResponse xmlns="http://xml.ferli.is"> <GetNafnaListiNewResult> <Nafnalisti> <xsd:schema>schema</xsd:schema>xml</Nafnalisti> <FleiriNafnar>string</FleiriNafnar> <Retkod>string</Retkod> <RetLys>string</RetLys> </GetNafnaListiNewResult> </GetNafnaListiNewResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /tjodarsyn/service.asmx HTTP/1.1 Host: xml.ferli.is Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetNafnaListiNew xmlns="http://xml.ferli.is"> <str_Nafn>string</str_Nafn> <str_KTala>string</str_KTala> <str_Lesa>string</str_Lesa> <str_PassWord>string</str_PassWord> <str_Eink>string</str_Eink> </GetNafnaListiNew> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetNafnaListiNewResponse xmlns="http://xml.ferli.is"> <GetNafnaListiNewResult> <Nafnalisti> <xsd:schema>schema</xsd:schema>xml</Nafnalisti> <FleiriNafnar>string</FleiriNafnar> <Retkod>string</Retkod> <RetLys>string</RetLys> </GetNafnaListiNewResult> </GetNafnaListiNewResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /tjodarsyn/service.asmx/GetNafnaListiNew?str_Nafn=string&str_KTala=string&str_Lesa=string&str_PassWord=string&str_Eink=string HTTP/1.1 Host: xml.ferli.is
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <XML_Nafn_Listi xmlns="http://xml.ferli.is"> <Nafnalisti> <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</Nafnalisti> <FleiriNafnar>string</FleiriNafnar> <Retkod>string</Retkod> <RetLys>string</RetLys> </XML_Nafn_Listi>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /tjodarsyn/service.asmx/GetNafnaListiNew HTTP/1.1 Host: xml.ferli.is Content-Type: application/x-www-form-urlencoded Content-Length: length str_Nafn=string&str_KTala=string&str_Lesa=string&str_PassWord=string&str_Eink=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <XML_Nafn_Listi xmlns="http://xml.ferli.is"> <Nafnalisti> <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</Nafnalisti> <FleiriNafnar>string</FleiriNafnar> <Retkod>string</Retkod> <RetLys>string</RetLys> </XML_Nafn_Listi>