By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,312 Members | 1,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,312 IT Pros & Developers. It's quick & easy.

unable send message using soap client class

P: 1
Hi

I am trying to my site user to a other site api using SOAP client .
But Every time its give uncatchable error.

I am using nusoap class .But shows error that given below:
Fatal error: Cannot redeclare class soapclient in


"Fatal error: Cannot redeclare class soapclient in"


anyone knows??
Nov 1 '07 #1
Share this Question
Share on Google+
1 Reply


brettl
P: 41
I am trying to my site user to a other site api using SOAP client .
But Every time its give uncatchable error.

I am using nusoap class .But shows error that given below:
Fatal error: Cannot redeclare class soapclient in


"Fatal error: Cannot redeclare class soapclient in"
I think the problem is the class soapclient. If your using php 5 (which I have a strong feeling you are) this will cause an error when using NUSOAP. This is because php 5 has a soap client built into it. What I've done to fix this is change the name of the soapclient in NUSOAP to nusoapclient. This way you can call the right client without an error.

I hope this helps. Let me know.
Nov 1 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.