Results 1 to 9 of 9

Thread: [RESOLVED] Class 'SoapServer' not found

  1. #1

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Resolved [RESOLVED] Class 'SoapServer' not found

    Hey,

    The title might make my problem look simple. It isn't (hope I'm wrong)
    Here is my problem: I've developed a web service using php5 on an Apache2.2 server. My problem is with my host, they won't allow me to edit or modify the php.ini settings.

    So I was wondering if it's possible to somehow embed the Soap library to my project.

    Please help meeeeeeeeeeeeeeeee
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Class 'SoapServer' not found

    Have you asked your host to add the extension for you?

    I'm not sure what you mean by embed it... I googled it, and nothing came up.
    My usual boring signature: Something

  3. #3

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Class 'SoapServer' not found

    By embedding it I mean: copy the .dll or the .so file into a folder of mine (relative to the project) and let apache know about it.

    I'm not really an expert in apache or php. But in ASP.Net (IIS) you can reference any library you want as long as you have access to it's file
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Class 'SoapServer' not found

    Maybe you can do that. Try using the dl() function.
    My usual boring signature: Something

  5. #5

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Class 'SoapServer' not found

    Ok, I looked up the .so files for the SOAP but instead I found the .php source files for the entire package (On Ubuntu 8.04) so I modified the code and copied it to my web site. Got a few errors, fixed them but for some reason I'm still getting "Fatal error: Class 'SoapServer' not found in ...."

    I've added a require_once to the beginning of my web service

    Code:
    <?php
    require_once 'Server.php';
    where Server.php contains the definition for class SOAP_Server..

    Am I doing anything wrong?
    Any ideas
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Class 'SoapServer' not found

    Maybe you should change you code so it uses SOAP_Server instead of SoapServer. If you want to check weather of not SOAP support is enabled then you just need to make a call to phpinfo() and look for the SOAP section.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Class 'SoapServer' not found

    LOL Really stupid thing, I should have noticed this from the beginning.

    Thanks bro
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  8. #8
    New Member
    Join Date
    Nov 2008
    Posts
    1

    Re: [RESOLVED] Class 'SoapServer' not found

    Did this work? I am having the same problem on my host (Powweb) as they allow the use of Soap but have disabled the SoapServer call. I thought about including the definition myself and was wondering if anyone else had managed to do that. Where did you find the source for it?

  9. #9

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [RESOLVED] Class 'SoapServer' not found

    It did work, and is still working just fine. I got the source from my Ubuntu repos, meaning it's open source and you can look it up
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width