unable send message using soap client class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vyasanjali
    New Member
    • Nov 2007
    • 1

    unable send message using soap client class

    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??
  • brettl
    New Member
    • Sep 2007
    • 41

    #2
    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.

    Comment

    Working...