Fatal error: Uncaught SoapFault exception: [2] Access deniedSOAP v2 catalogProductListOfAdditionalAttributes Uncaught SoapFault exception: Access DeniedProblems calling Magento SOAP V2 Service in C#Magento SOAP api errror: Access deniedFatal error: Uncaught SoapFault exception: [Client] looks like we got no XML documentMagento Fatal error: Uncaught SoapFault exception [HTTP] Internal Server ErrorMagento 1.9.2 get customer address using soap apiSoapFault exception: [1] Internal Error after upgrading to magento 1.9.3API Access denied and 403 errorUncaught SoapFault exception: [SOAP-ENV:Client] Error cannot find parameterre: SOAP Error on Magento 1.9.3.8 -
Blender 2.8 I can't see vertices, edges or faces in edit mode
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
What is the word for reserving something for yourself before others do?
Modeling an IP Address
How can I fix/modify my tub/shower combo so the water comes out of the showerhead?
What is a clear way to write a bar that has an extra beat?
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Doing something right before you need it - expression for this?
Twin primes whose sum is a cube
How can I tell someone that I want to be his or her friend?
Infinite Abelian subgroup of infinite non Abelian group example
Should I tell management that I intend to leave due to bad software development practices?
In Romance of the Three Kingdoms why do people still use bamboo sticks when paper had already been invented?
Why does Kotter return in Welcome Back Kotter?
Arrow those variables!
How is it possible to have an ability score that is less than 3?
Why do bosons tend to occupy the same state?
Theorems that impeded progress
What is the most common color to indicate the input-field is disabled?
Forgetting the musical notes while performing in concert
Do I have a twin with permutated remainders?
I'm flying to France today and my passport expires in less than 2 months
Can one be a co-translator of a book, if he does not know the language that the book is translated into?
Why are electrically insulating heatsinks so rare? Is it just cost?
Fatal error: Uncaught SoapFault exception: [2] Access denied
SOAP v2 catalogProductListOfAdditionalAttributes Uncaught SoapFault exception: Access DeniedProblems calling Magento SOAP V2 Service in C#Magento SOAP api errror: Access deniedFatal error: Uncaught SoapFault exception: [Client] looks like we got no XML documentMagento Fatal error: Uncaught SoapFault exception [HTTP] Internal Server ErrorMagento 1.9.2 get customer address using soap apiSoapFault exception: [1] Internal Error after upgrading to magento 1.9.3API Access denied and 403 errorUncaught SoapFault exception: [SOAP-ENV:Client] Error cannot find parameterre: SOAP Error on Magento 1.9.3.8 -
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to login via soap from an external server
$api_url_v2 = "http://www.example.com/api/v2_soap/?wsdl=1";
$username = 'username';
$password = 'password';
$cli = new SoapClient($api_url_v2);
$session_id = $cli->login($username, $password);
The error message I get is Fatal error:
Uncaught SoapFault exception: [2] Access denied
However if I look in the api_user
table in magento db, then the lognum column increments by 1 when I have the correct username / password combo... so it seems like the system knows the details are correct, but is giving me access denied.
The users role I have ticked all options for and assigned the role to the user
I can't seem to see many examples of this issue anywhere.
Has anyone come accross this issue, or can you provide any tips to solve?
api soap
add a comment |
I am trying to login via soap from an external server
$api_url_v2 = "http://www.example.com/api/v2_soap/?wsdl=1";
$username = 'username';
$password = 'password';
$cli = new SoapClient($api_url_v2);
$session_id = $cli->login($username, $password);
The error message I get is Fatal error:
Uncaught SoapFault exception: [2] Access denied
However if I look in the api_user
table in magento db, then the lognum column increments by 1 when I have the correct username / password combo... so it seems like the system knows the details are correct, but is giving me access denied.
The users role I have ticked all options for and assigned the role to the user
I can't seem to see many examples of this issue anywhere.
Has anyone come accross this issue, or can you provide any tips to solve?
api soap
add a comment |
I am trying to login via soap from an external server
$api_url_v2 = "http://www.example.com/api/v2_soap/?wsdl=1";
$username = 'username';
$password = 'password';
$cli = new SoapClient($api_url_v2);
$session_id = $cli->login($username, $password);
The error message I get is Fatal error:
Uncaught SoapFault exception: [2] Access denied
However if I look in the api_user
table in magento db, then the lognum column increments by 1 when I have the correct username / password combo... so it seems like the system knows the details are correct, but is giving me access denied.
The users role I have ticked all options for and assigned the role to the user
I can't seem to see many examples of this issue anywhere.
Has anyone come accross this issue, or can you provide any tips to solve?
api soap
I am trying to login via soap from an external server
$api_url_v2 = "http://www.example.com/api/v2_soap/?wsdl=1";
$username = 'username';
$password = 'password';
$cli = new SoapClient($api_url_v2);
$session_id = $cli->login($username, $password);
The error message I get is Fatal error:
Uncaught SoapFault exception: [2] Access denied
However if I look in the api_user
table in magento db, then the lognum column increments by 1 when I have the correct username / password combo... so it seems like the system knows the details are correct, but is giving me access denied.
The users role I have ticked all options for and assigned the role to the user
I can't seem to see many examples of this issue anywhere.
Has anyone come accross this issue, or can you provide any tips to solve?
api soap
api soap
edited Oct 20 '15 at 13:57
7ochem
5,84493768
5,84493768
asked Sep 18 '13 at 21:48
eleven11eleven11
3004720
3004720
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Please try this connection code:
$client = new SoapClient('http://magentohost/api/v2_soap?wsdl=1');
$session = $client->login('apiUser', 'apiKey');
I took it from the API Guidlines here:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAPAPIVersionv2
I have also used this method on my stores for product retrieval and editting, however, are you on version 1.6.2? I know there is a role setting bug that doesnt allow you to set all roles.
Suggestions:
Provide version number, edition & url if possible.
REVISION:
$client = new SoapClient('http://www.comain.co.uk/api/v2_soap?wsdl=1');
$session = $client->login('username', 'apikey');
$result = $client->catalogInventoryStockItemList($session, array('27847')); // Products ID
print_r($result);
The above code has just been tested on my server which seems to be succesfull with this result:
Array ( [0] => stdClass Object ( [product_id] => 27847 [sku] => VKC450O [qty] => 0.0000 [is_in_stock] => 1 ) )
Let me know how you get on.
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
|
show 4 more comments
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient(
'http://127.0.0.1/magento/api/v2_soap/?wsdl'
);
$session = $client->login('imran', '654321imran');
$result = $client->catalogProductList($session,'sku');
print_r($result->product_id);
$client->endSession($session);
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
add a comment |
One idea: load the WSDL-config with cUrl like this example and try it again:
// GET SOAP-WSDL AS TEMP-FILE
// ==========================
$objCURL = curl_init([API-URL]); // Set API-URL
curl_setopt($objCURL,CURLOPT_RETURNTRANSFER, true);
$strWSDLFile = curl_exec($objCURL);
curl_close($objCURL);
file_put_contents('wsdl_temp.xml',$strWSDLFile);
// INIT SOAP-SESSION
// =================
try
$soap = new SoapClient('wsdl_temp.xml');
$soapSession = $soap->login([API-User], [API-Key]);
catch(Exception $e)
var_dump($e);
This solves all MY problems with the API. :-)
add a comment |
The solution is to
1. create a new SOAP/XML-RPX Roles, say "Test"
2. in Role Resources just select "All" for Resource Access (just for testing)
3. Edit the user and assign the Role to "Test"
add a comment |
In fact, if I use Soap in http://localhost/.... it works, the connection is successful, but if I use same methods with in external IP and a port (like http://82.82.10.10:8080/...) returns this error:
Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
SoapFault: Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
The firewall is disabled, the ports are open. I do not know what to look for.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f8187%2ffatal-error-uncaught-soapfault-exception-2-access-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please try this connection code:
$client = new SoapClient('http://magentohost/api/v2_soap?wsdl=1');
$session = $client->login('apiUser', 'apiKey');
I took it from the API Guidlines here:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAPAPIVersionv2
I have also used this method on my stores for product retrieval and editting, however, are you on version 1.6.2? I know there is a role setting bug that doesnt allow you to set all roles.
Suggestions:
Provide version number, edition & url if possible.
REVISION:
$client = new SoapClient('http://www.comain.co.uk/api/v2_soap?wsdl=1');
$session = $client->login('username', 'apikey');
$result = $client->catalogInventoryStockItemList($session, array('27847')); // Products ID
print_r($result);
The above code has just been tested on my server which seems to be succesfull with this result:
Array ( [0] => stdClass Object ( [product_id] => 27847 [sku] => VKC450O [qty] => 0.0000 [is_in_stock] => 1 ) )
Let me know how you get on.
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
|
show 4 more comments
Please try this connection code:
$client = new SoapClient('http://magentohost/api/v2_soap?wsdl=1');
$session = $client->login('apiUser', 'apiKey');
I took it from the API Guidlines here:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAPAPIVersionv2
I have also used this method on my stores for product retrieval and editting, however, are you on version 1.6.2? I know there is a role setting bug that doesnt allow you to set all roles.
Suggestions:
Provide version number, edition & url if possible.
REVISION:
$client = new SoapClient('http://www.comain.co.uk/api/v2_soap?wsdl=1');
$session = $client->login('username', 'apikey');
$result = $client->catalogInventoryStockItemList($session, array('27847')); // Products ID
print_r($result);
The above code has just been tested on my server which seems to be succesfull with this result:
Array ( [0] => stdClass Object ( [product_id] => 27847 [sku] => VKC450O [qty] => 0.0000 [is_in_stock] => 1 ) )
Let me know how you get on.
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
|
show 4 more comments
Please try this connection code:
$client = new SoapClient('http://magentohost/api/v2_soap?wsdl=1');
$session = $client->login('apiUser', 'apiKey');
I took it from the API Guidlines here:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAPAPIVersionv2
I have also used this method on my stores for product retrieval and editting, however, are you on version 1.6.2? I know there is a role setting bug that doesnt allow you to set all roles.
Suggestions:
Provide version number, edition & url if possible.
REVISION:
$client = new SoapClient('http://www.comain.co.uk/api/v2_soap?wsdl=1');
$session = $client->login('username', 'apikey');
$result = $client->catalogInventoryStockItemList($session, array('27847')); // Products ID
print_r($result);
The above code has just been tested on my server which seems to be succesfull with this result:
Array ( [0] => stdClass Object ( [product_id] => 27847 [sku] => VKC450O [qty] => 0.0000 [is_in_stock] => 1 ) )
Let me know how you get on.
Please try this connection code:
$client = new SoapClient('http://magentohost/api/v2_soap?wsdl=1');
$session = $client->login('apiUser', 'apiKey');
I took it from the API Guidlines here:
http://www.magentocommerce.com/api/soap/introduction.html#Introduction-SOAPAPIVersionv2
I have also used this method on my stores for product retrieval and editting, however, are you on version 1.6.2? I know there is a role setting bug that doesnt allow you to set all roles.
Suggestions:
Provide version number, edition & url if possible.
REVISION:
$client = new SoapClient('http://www.comain.co.uk/api/v2_soap?wsdl=1');
$session = $client->login('username', 'apikey');
$result = $client->catalogInventoryStockItemList($session, array('27847')); // Products ID
print_r($result);
The above code has just been tested on my server which seems to be succesfull with this result:
Array ( [0] => stdClass Object ( [product_id] => 27847 [sku] => VKC450O [qty] => 0.0000 [is_in_stock] => 1 ) )
Let me know how you get on.
edited Sep 19 '13 at 9:04
answered Sep 18 '13 at 22:34
Adam KernigAdam Kernig
1588
1588
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
|
show 4 more comments
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Thats the same code as i am already using right? Magento version 1.7.0.2
– eleven11
Sep 18 '13 at 22:44
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
Yes, without using lots of variables, and keeping it simpler, could you provide url link? Also, are you in WS-I COMPLIANCE mode or not?
– Adam Kernig
Sep 18 '13 at 22:45
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
WS-I COMPLIANCE - No.. But this is an issue with logging in, not anything to do with requests or XML formats
– eleven11
Sep 18 '13 at 23:57
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
I have editted my answer
– Adam Kernig
Sep 19 '13 at 9:03
3
3
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
ok i fixed it... In this table api_role.. There was an entry for a user (role_type = U). For each one of these users, there needs to be a role_id (role_type = G) that has an id of the users parent_id.. So i deleted the user with no referenced parent and it fixed the issue
– eleven11
Sep 19 '13 at 14:17
|
show 4 more comments
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient(
'http://127.0.0.1/magento/api/v2_soap/?wsdl'
);
$session = $client->login('imran', '654321imran');
$result = $client->catalogProductList($session,'sku');
print_r($result->product_id);
$client->endSession($session);
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
add a comment |
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient(
'http://127.0.0.1/magento/api/v2_soap/?wsdl'
);
$session = $client->login('imran', '654321imran');
$result = $client->catalogProductList($session,'sku');
print_r($result->product_id);
$client->endSession($session);
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
add a comment |
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient(
'http://127.0.0.1/magento/api/v2_soap/?wsdl'
);
$session = $client->login('imran', '654321imran');
$result = $client->catalogProductList($session,'sku');
print_r($result->product_id);
$client->endSession($session);
ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient(
'http://127.0.0.1/magento/api/v2_soap/?wsdl'
);
$session = $client->login('imran', '654321imran');
$result = $client->catalogProductList($session,'sku');
print_r($result->product_id);
$client->endSession($session);
edited Oct 20 '15 at 12:57
Marius♦
168k28322688
168k28322688
answered Oct 20 '15 at 12:34
user32284user32284
1
1
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
add a comment |
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
1
1
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
It would be much better if you provide some explanation as well with the code.
– Prateek
Oct 20 '15 at 13:00
add a comment |
One idea: load the WSDL-config with cUrl like this example and try it again:
// GET SOAP-WSDL AS TEMP-FILE
// ==========================
$objCURL = curl_init([API-URL]); // Set API-URL
curl_setopt($objCURL,CURLOPT_RETURNTRANSFER, true);
$strWSDLFile = curl_exec($objCURL);
curl_close($objCURL);
file_put_contents('wsdl_temp.xml',$strWSDLFile);
// INIT SOAP-SESSION
// =================
try
$soap = new SoapClient('wsdl_temp.xml');
$soapSession = $soap->login([API-User], [API-Key]);
catch(Exception $e)
var_dump($e);
This solves all MY problems with the API. :-)
add a comment |
One idea: load the WSDL-config with cUrl like this example and try it again:
// GET SOAP-WSDL AS TEMP-FILE
// ==========================
$objCURL = curl_init([API-URL]); // Set API-URL
curl_setopt($objCURL,CURLOPT_RETURNTRANSFER, true);
$strWSDLFile = curl_exec($objCURL);
curl_close($objCURL);
file_put_contents('wsdl_temp.xml',$strWSDLFile);
// INIT SOAP-SESSION
// =================
try
$soap = new SoapClient('wsdl_temp.xml');
$soapSession = $soap->login([API-User], [API-Key]);
catch(Exception $e)
var_dump($e);
This solves all MY problems with the API. :-)
add a comment |
One idea: load the WSDL-config with cUrl like this example and try it again:
// GET SOAP-WSDL AS TEMP-FILE
// ==========================
$objCURL = curl_init([API-URL]); // Set API-URL
curl_setopt($objCURL,CURLOPT_RETURNTRANSFER, true);
$strWSDLFile = curl_exec($objCURL);
curl_close($objCURL);
file_put_contents('wsdl_temp.xml',$strWSDLFile);
// INIT SOAP-SESSION
// =================
try
$soap = new SoapClient('wsdl_temp.xml');
$soapSession = $soap->login([API-User], [API-Key]);
catch(Exception $e)
var_dump($e);
This solves all MY problems with the API. :-)
One idea: load the WSDL-config with cUrl like this example and try it again:
// GET SOAP-WSDL AS TEMP-FILE
// ==========================
$objCURL = curl_init([API-URL]); // Set API-URL
curl_setopt($objCURL,CURLOPT_RETURNTRANSFER, true);
$strWSDLFile = curl_exec($objCURL);
curl_close($objCURL);
file_put_contents('wsdl_temp.xml',$strWSDLFile);
// INIT SOAP-SESSION
// =================
try
$soap = new SoapClient('wsdl_temp.xml');
$soapSession = $soap->login([API-User], [API-Key]);
catch(Exception $e)
var_dump($e);
This solves all MY problems with the API. :-)
answered Oct 20 '15 at 13:34
SFreySFrey
1169
1169
add a comment |
add a comment |
The solution is to
1. create a new SOAP/XML-RPX Roles, say "Test"
2. in Role Resources just select "All" for Resource Access (just for testing)
3. Edit the user and assign the Role to "Test"
add a comment |
The solution is to
1. create a new SOAP/XML-RPX Roles, say "Test"
2. in Role Resources just select "All" for Resource Access (just for testing)
3. Edit the user and assign the Role to "Test"
add a comment |
The solution is to
1. create a new SOAP/XML-RPX Roles, say "Test"
2. in Role Resources just select "All" for Resource Access (just for testing)
3. Edit the user and assign the Role to "Test"
The solution is to
1. create a new SOAP/XML-RPX Roles, say "Test"
2. in Role Resources just select "All" for Resource Access (just for testing)
3. Edit the user and assign the Role to "Test"
answered Nov 16 '16 at 19:54
darleysdarleys
1
1
add a comment |
add a comment |
In fact, if I use Soap in http://localhost/.... it works, the connection is successful, but if I use same methods with in external IP and a port (like http://82.82.10.10:8080/...) returns this error:
Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
SoapFault: Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
The firewall is disabled, the ports are open. I do not know what to look for.
New contributor
add a comment |
In fact, if I use Soap in http://localhost/.... it works, the connection is successful, but if I use same methods with in external IP and a port (like http://82.82.10.10:8080/...) returns this error:
Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
SoapFault: Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
The firewall is disabled, the ports are open. I do not know what to look for.
New contributor
add a comment |
In fact, if I use Soap in http://localhost/.... it works, the connection is successful, but if I use same methods with in external IP and a port (like http://82.82.10.10:8080/...) returns this error:
Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
SoapFault: Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
The firewall is disabled, the ports are open. I do not know what to look for.
New contributor
In fact, if I use Soap in http://localhost/.... it works, the connection is successful, but if I use same methods with in external IP and a port (like http://82.82.10.10:8080/...) returns this error:
Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
SoapFault: Forbidden in C:Program Files (x86)Amppswwwsoapclass_01.php on line 128
The firewall is disabled, the ports are open. I do not know what to look for.
New contributor
New contributor
answered 16 mins ago
Cvasipedia CvasipediaCvasipedia Cvasipedia
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f8187%2ffatal-error-uncaught-soapfault-exception-2-access-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown