Re: [oxid-dev-general] Quick SOAP ERP Connector question

2016-04-29 Thread Jens Trant
Can you reach the endpoints via soapUI (it is a really nice charming tool), 
maybe you have a network/proxy issue?
Https is not necessary, are the shop urls correctly set in the config.inc.php? 
So be sure, that there is also no redirect.

Cheers,
Jens




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


Closed GmbH  |  Straßenbahnring 6  |  20251 Hamburg  |  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 11:23
An: "dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>" 
<dev-general@lists.oxidforge.org<mailto:dev-general@lists.oxidforge.org>>
Betreff: Re: [oxid-dev-general] Quick SOAP ERP Connector question

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=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=2.14.0' : 
failed to load external entity 
"https://myshopurl.de/modules/erp/oxerpservice.php?wsdl=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 siteand 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=2.14.0

==

=>

https://www.myeshopurl.de/modules/erp/oxerpservice.php?wsdl=2.14.0

is also not working.







Mit freundlichen Grüßen | Warm Regards,

Mirza Ahtasham Ahmad
M +4917645387460 | Skype: ahtasham82





On Fri, Apr 29, 2016 at 11:14 AM, Jens Trant 
<jens.tr...@closed.com<mailto:jens.tr...@closed.com>> wrote:

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  |  20251 Hamburg  |  Germany
T +49 40 441840 865<tel:%2B49%2040%20441840%20865>  |  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 = $

Re: [oxid-dev-general] Quick SOAP ERP Connector question

2016-04-29 Thread Mirza Ahtasham Ahmad
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=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=2.14.0' :
failed to load external entity "
https://myshopurl.de/modules/erp/oxerpservice.php?wsdl=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 siteand 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=2.14.0

==

=>

https://www.myeshopurl.de/modules/erp/oxerpservice.php?wsdl=2.14.0

is also not working.







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

Mirza Ahtasham Ahmad
M +4917645387460 | Skype: ahtasham82





On Fri, Apr 29, 2016 at 11:14 AM, Jens Trant <jens.tr...@closed.com> wrote:

> 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
>
>
>
> [image: Closed] <http://www.closed.com/>
>
>
> Closed GmbH  |  Straßenbahnring 6  |  20251 Hamburg  |  Germany
> T +49 40 441840 865  |  E jens.tr...@closed.com
> 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> im Auftrag von Mirza
> Ahtasham Ahmad <ahtasha...@gmail.com>
> Antworten an: "dev-general@lists.oxidforge.org" <
> dev-general@lists.oxidforge.org>
> Datum: Freitag, 29. April 2016 um 10:55
> An: "dev-general@lists.oxidforge.org" <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 | 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