Hi,

i haven't read all of this topic but it could be a problem with the SSL Certificate (if its self-signed maybe not accepted) or with CURLOPT_SSLVERSION.

Is it possible to call the module without HTTPS for test purposes?

best regards,
alex
Mirza Ahtasham Ahmad <mailto:ahtasha...@gmail.com>
29. April 2016 um 11:23
I have already tried it....


//$client = new SoapClient("https://myshopurl.de/modules/erp/oxerpservice.wsdl";);
or
//$client = new SoapClient("https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0 <https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0>");
or
$client = new SoapClient("https://myshopurl.de/modules/erp/oxerpservice.wsdl?version=2.14.0";);

with the last version i am getting the following error...

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0 <https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0>' : failed to load external entity "https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0 <https://myshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0>" in C:\wamp\www\apirequest.php:6 Stack trace: #0 C:\wamp\www\apirequest.php(6): SoapClient->SoapClient('https://www.cac...') #1 {main} thrown in C:\wamp\www\apirequest.php on line 6




could it be that https should be active...because right now it is a staging/test site....and we dont have https right now...

because the url in Modul Docu...for Reading WSDL

==================================================================

For reading the WSDL, call the URL

https://www.myeshop.com/oxideshop/modules/erp/oxerpservice.php?wsdl&version=2.14.0 <https://www.myeshop.com/oxideshop/modules/erp/oxerpservice.php?wsdl&version=2.14.0>

==================================================================

=>

https://www.myeshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0 <https://www.myeshopurl.de/modules/erp/oxerpservice.php?wsdl&version=2.14.0>

is also not working.....




*
*
*
*
*
*
*Mit freundlichen Grüßen | **Warm Regards**,*

Mirza Ahtasham Ahmad
M +4917645387460 | Skype: ahtasham82
*
*
*
*
*
*
*
*


_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
Jens Trant <mailto:jens.tr...@closed.com>
29. April 2016 um 11:14
Hi,

You have to specify the version otherwise you get the really first version from the ERP module:
https://shopurl.com/modules/erp/oxerpservice.wsdl?version=2.14.0

Cheers,
Jens



Closed <http://www.closed.com/>


Closed GmbH| Straßenbahnring 6  | 20251Hamburg  | Germany
T +49 40 441840 865 | E jens.tr...@closed.com <mailto:jens.tr...@closed.com> closed.com <http://closed.com> | facebook.com/closed <https://www.facebook.com/closed>_<http://www.facebook.com/closed>_ | instagram.com/closedofficial <https://www.instagram.com/closedofficial/>

Amtsgericht Hamburg HRB 53868 | Umsatzsteuer-Ident.-Nr.: DE 164980577
GF: Gordon Giers, Til Nadler, Hans Redlefsen

Von: <dev-general-boun...@lists.oxidforge.org <mailto:dev-general-boun...@lists.oxidforge.org>> im Auftrag von Mirza Ahtasham Ahmad <ahtasha...@gmail.com <mailto:ahtasha...@gmail.com>> Antworten an: "dev-general@lists.oxidforge.org <mailto:dev-general@lists.oxidforge.org>" <dev-general@lists.oxidforge.org <mailto:dev-general@lists.oxidforge.org>>
Datum: Freitag, 29. April 2016 um 10:55
An: "dev-general@lists.oxidforge.org <mailto:dev-general@lists.oxidforge.org>" <dev-general@lists.oxidforge.org <mailto:dev-general@lists.oxidforge.org>>
Betreff: [oxid-dev-general] Quick SOAP ERP Connector question

Hi,

I have a EE 5.2.7 installed. I also installed the ERP Connector module on it.

Now I wanted to test if the SOAP service for ERP is working or not so I am trying to make a request from my local computer to the shop setup on hosting server.

How Can I do that.... I did make a SOAP request to the following url....

http://myshopurl.de/modules/erp/oxerpservice.wsdl

like this...

$client = new SoapClient("http://myshopurl.de/modules/erp/oxerpservice.wsdl";);

$result = $client->__soapCall('OXERPLogin', array($params));

but I cannot get the results....

I am getting something like this....



*object*(/SoapFault/)[/2/]
/protected/ 'message' => string 'Internal Server Error' /(length=21)/
/private/ 'string' (Exception) => string '' /(length=0)/
/protected/ 'code' => int 0
/protected/ 'file' => string 'C:\wamp\www\apirequest.php' /(length=35)/
/protected/ 'line' => int 11
/private/ 'trace' (Exception) =>
*array* /(size=2)/
0 =>
*array* /(size=4)/
'function' => string '__doRequest' /(length=11)/
'class' => string 'SoapClient' /(length=10)/
'type' => string '->' /(length=2)/
'args' =>
*array* /(size=5)/
...
1 =>
*array* /(size=6)/
'file' => string 'C:\wamp\www\apirequest.php' /(length=35)/
'line' => int 11
'function' => string '__soapCall' /(length=10)/
'class' => string 'SoapClient' /(length=10)/
'type' => string '->' /(length=2)/
'args' =>
*array* /(size=2)/

SOAP is installed on server....

can anybody help me out how I may test the ERP connector.

Thanks and looking for a quick reply.

*
*
*
*
*
*
*Mit freundlichen Grüßen | **Warm Regards**,*

Mirza Ahtasham Ahmad
M +4917645387460 <tel:%2B4917645387460> | Skype: ahtasham82
*
*
*
*
*
*
*
*
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
Mirza Ahtasham Ahmad <mailto:ahtasha...@gmail.com>
29. April 2016 um 10:55
Hi,

I have a EE 5.2.7 installed. I also installed the ERP Connector module on it.

Now I wanted to test if the SOAP service for ERP is working or not so I am trying to make a request from my local computer to the shop setup on hosting server.

How Can I do that.... I did make a SOAP request to the following url....

http://myshopurl.de/modules/erp/oxerpservice.wsdl

like this...

$client = new SoapClient("http://myshopurl.de/modules/erp/oxerpservice.wsdl";);

$result = $client->__soapCall('OXERPLogin', array($params));

but I cannot get the results....

I am getting something like this....



*object*(/SoapFault/)[/2/]
/protected/ 'message' => string 'Internal Server Error' /(length=21)/
/private/ 'string' (Exception) => string '' /(length=0)/
/protected/ 'code' => int 0
/protected/ 'file' => string 'C:\wamp\www\apirequest.php' /(length=35)/
/protected/ 'line' => int 11
/private/ 'trace' (Exception) =>
*array* /(size=2)/
0 =>
*array* /(size=4)/
'function' => string '__doRequest' /(length=11)/
'class' => string 'SoapClient' /(length=10)/
'type' => string '->' /(length=2)/
'args' =>
*array* /(size=5)/
...
1 =>
*array* /(size=6)/
'file' => string 'C:\wamp\www\apirequest.php' /(length=35)/
'line' => int 11
'function' => string '__soapCall' /(length=10)/
'class' => string 'SoapClient' /(length=10)/
'type' => string '->' /(length=2)/
'args' =>
*array* /(size=2)/

SOAP is installed on server....

can anybody help me out how I may test the ERP connector.

Thanks and looking for a quick reply.

*
*
*
*
*
*
*Mit freundlichen Grüßen | **Warm Regards**,*

Mirza Ahtasham Ahmad
M +4917645387460 <tel:%2B4917645387460> | Skype: ahtasham82
*
*
*
*
*
*
*
*
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to