[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [11113] altinn 2
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [11113] altinn 2 |
Date: |
Thu, 16 May 2013 13:18:48 +0000 |
Revision: 11113
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11113
Author: sigurdne
Date: 2013-05-16 13:18:45 +0000 (Thu, 16 May 2013)
Log Message:
-----------
altinn 2
Modified Paths:
--------------
trunk/bookingfrontend/inc/custom/default/Altinn2_Bergen_kommune.php
Modified: trunk/bookingfrontend/inc/custom/default/Altinn2_Bergen_kommune.php
===================================================================
--- trunk/bookingfrontend/inc/custom/default/Altinn2_Bergen_kommune.php
2013-05-16 07:37:14 UTC (rev 11112)
+++ trunk/bookingfrontend/inc/custom/default/Altinn2_Bergen_kommune.php
2013-05-16 13:18:45 UTC (rev 11113)
@@ -44,7 +44,6 @@
public function get_user_org_id()
{
-
$headers = getallheaders();
if(isset($this->config->config_data['debug']) &&
$this->config->config_data['debug'])
{
@@ -52,10 +51,6 @@
echo 'headers:<br>';
_debug_array($headers);
}
-/*
- $headers['Osso-User-Dn'] =
'cn=02035701829,cn=users,dc=usrv,dc=ubergenkom,dc=no';// test
-// $fodsels_nr = substr($headers['Osso-User-Dn'],3, 11);
-*/
$header_regular_expression = '/^cn=(.*),cn=users.*$/';
$header_key = 'Osso-User-Dn';
@@ -74,7 +69,7 @@
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
-
xmlns:v1=\"http://bergen.kommune.no/biz/bk/altinn/altinnreporteesservice/v1\">
+
xmlns:v1=\"http://bergen.kommune.no/biz/bk/authorization/ReporteesService/v1\">
<soapenv:Body>
<v1:getOrganisasjonsAvgivere>
<fodselsNr>{$fodsels_nr}</fodselsNr>
@@ -82,6 +77,7 @@
</soapenv:Body>
</soapenv:Envelope>";
+
$location_URL =
isset($this->config->config_data['soap_location']) &&
$this->config->config_data['soap_location'] ?
$this->config->config_data['soap_location'] :
"http://wsm01e-t.usrv.ubergenkom.no:8888/gateway/services/AltinnReporteesService";
#A-test
$client = new SoapClient(null, array(
@@ -93,7 +89,6 @@
try
{
$response =
$client->__doRequest($request,$location_URL,$location_URL,1);
-
$reader = new XMLReader();
$reader->xml($response);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [11113] altinn 2,
Sigurd Nes <=