PDA

View Full Version : WSDL file cannot be loaded


karsin
28-03-07, 13:46
Hi There,

I am a newbie in PHP, I have downloaded Client Software and uploaded to my server as per your instruction in the PDF, however I encountered this error WSDL file cannot be loaded from [http://api.productserve.com/v1/ProductServeService?wsdl] when trying to access, my url is http://www.seeealll.com/46549/

Can you let me know why is that so? :confused:

Thanks

KS

digitalwindow
28-03-07, 14:25
Hi Karsin,

Welcome to the ShopWindow Forum.

I have looked into the issue that you are experiencing and the problem seems to lie with the hosting company.

The client software package is not causing any errors from what I can see as no errors are returned through our API (and output on your page).

I would reccommend contacting your Hosting company and enquiring about why the WDSL file may not be accessible.

If you could let me know what they say that would be a big help :)

Please feel free to give me a call if you would like to discuss further.

Thanks

Amo


http://www.affiliatewindow.com/images/email_sig.gif

Amarath Singh Sokhi
ShopWindow Integration Manager
Digital Window Ltd

amarath.sokhi@digitalwindow.com
Tel: 020 8269 4853
www.digitalwindow.com (http://www.digitalwindow.com)

karsin
29-03-07, 04:52
Dear Amo,

Thanks for your reply, I have checked with my hosting company, below is the reply "Thank you for contacting Online Support. Unfortunately, we do not provide technical support with third-party scripting issues. We are very limited in the support we can offer for customer-written code or scripts. If there is evidence that our system is responsible for an error, please forward it to us, and we would be happy to look into the matter further. But at the moment this does not appear to be the case, so we regret we can not assist you further with this issue. We do have a help available online which includes sample connection strings using various languages and other basic information."

He claimed that is not their problem ....

please help...

Thanks

karsin
29-03-07, 07:35
Dear Amo,

I have signed up for a free hosting and put all files into the free server, and I encounter the same error, please check http://seeealll.110mb.com/46549v2/.
Could it be these problems?
1) I did not put it in my root, but in another created folder named 46549v2
2) There is a parameter in global.inc.php written //define('HOME_URL', ''); Do I need to define the path here?

Please help...

Thanks

KS

amarath
29-03-07, 12:50
Hi Kar Sin,

The problem seems to be that for some reason you are unable to access our WSDL file, as the error message states.

This can either be due to:

a) your hosting company not allowing access
b) our servers being down

I have checked with our Development team and the file is available, so it would seem that it is a problem with how your hosting company handle PHP scripts (and what restrictions are in place with regards to PHP scripting).

Can I ask who your original hosting is with?

We have used 1and1.co.uk (http://www.1and1.co.uk) internally for testing, and have not had any problems with uploading and running the software on that.

Regards

Amo

karsin
29-03-07, 13:04
Dear Amo,

Thanks for your reply !

I am using godaddy.com and the free hosting is 110mb.com. could it be possible both the companies are having the same restrictions?

let me try with 1 more different hosting, I will let you know the result.

Thanks

amarath
29-03-07, 13:07
Hi Kar Sin,

It may be that both hosting have similiar restrictions yes.

Please try again, but try uploading without editing the file structure etc to start with (just to make sure :)

Let me know the result

Amo

karsin
29-03-07, 16:09
Dear Amo,

I have done some investigation, it seems that you are right to say the hosting provider (godaddy) has somehow block the WSDL access. It can be seen from here http://help.godaddy.com/article.php?article_id=1441.

For the benefit for me and others godaddy publishers, will you consider adding this line into your proxy for our advantage? curl_setopt
($ch,CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");

I really hope to use your shopwindow very much.

Here, Thanks in advance.

KS

amarath
31-03-07, 02:26
Hi Kar Sin,

The line of code that you have provided is a solution that can be used for the Google API.

Although this is a similiar issue, this particular line of code will not function in the instance of ShopWindow Client Software.

If you can develop a work around or variation of this code which allows for your client to access the required WDSL file please do; so that you can continue using your hosting company with client software.

At this time, we are unable to include this code or develop a variation within the client software.

Amo

karsin
31-03-07, 10:25
Dear Amo,

Besides 1&1 which other hosting companies have you successfully tested to run? because 1&1 is not my choice, they do not accept non uk residents to signup.

Thanks

KS

amarath
31-03-07, 12:15
Hi Kar Sin,

We have used 123-Reg (http://www.123-reg.co.uk/web-hosting/) for testing also.

If you use 123-reg, please ensure that your package includes PHP, as I think its not included on thier basic package.

Thanks

Amo

karsin
31-03-07, 13:13
Dear Amo,

I have solved the problem by going /includes/soap/classes/class.php4Client.php and hide below lines

// quick check for the WSDL file
if ( !is_resource(@fopen(PS_WSDL, 'r')) ) {
die('WSDL file cannot be loaded from ['.PS_WSDL.']');
}
it is now working, hopefully it doesn't trigger bigger error.

Thanks for your help

KS

amarath
02-04-07, 18:27
Hi Kar Sin,

Commenting out this IF statement will only result in the error notification not being output within your screen, this will not provide a solution to the issue.

Have you made any progress with getting Client Software up and running?

Regards

Amo

karsin
03-04-07, 10:46
Dear Amo,

Thanks for your concern, really appreciate that! It is up and running, it seems everything to be fine, you can check this out http://www.theonlinegolf.co.uk. Should you find any weird behaviour of the system, please do not hesitate to let me know.

Thanks

KS