Remoting frame work work with version 2.32 ???

Discussion in 'Developers' Forum' started by afandino, May 31, 2009.

  1. afandino

    afandino ISPConfig Developer ISPConfig Developer

    I see that some of you have gotten the basic remoting frame work to work. I have a freshly built install Debian 5, perfect install , ispconfig 2.32.

    The install of the remote frame work goes well.

    But after modifying the example files can not get this to work no way.

    where I am stuck is the the soap client never connects to the soap server always just returns without error.

    One more thing to note is that the sql server resides on another machine

    Last edited: May 31, 2009
  2. kextra1

    kextra1 ISPConfig Developer ISPConfig Developer

    try it with local db

    Have you tried it with a db on the local machine to see if it works?

    If it's not to much trouble, I'm all about the process of elimination ;)
  3. afandino

    afandino ISPConfig Developer ISPConfig Developer

    I guess that will have to be the next step. What i don't understand is that soap should be using the sites connection string to connect to the sql server. Why should it matter whether remote or local.

  4. afandino

    afandino ISPConfig Developer ISPConfig Developer

    New aproach:

    Debian etch

    still no work !

    output from index.php in the remote directory

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="">


    <faultactor>error in msg parsing:

    <soapVal xsi:type="xsd:string"/>


    soap_server: entering parseRequest() on 19:10 2009-06-03
    soap_server: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    soap_server: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    soap_server: Accept-Encoding: gzip,deflate
    soap_server: Accept-Language: en-us,en;q=0.5
    soap_server: Connection: keep-alive
    soap_server: Cookie: PHPSESSID=8b5ac6a6bc6ba09affd851c8078c610f; sessionispconfig=e3270c782c0504bb1752ede8b46e57f0
    soap_server: Host:
    soap_server: Keep-Alive: 300
    soap_server: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
    soap_server: got encoding: UTF-8
    soap_server: parser debug:
    soap_parser: xml was empty, didn't parse!

    soap_server: server sending...


    Some type of server error

    the scrpit i am running is the very first part of test.php

    login and list resellers.

    Any IDEA'S ?
  5. afandino

    afandino ISPConfig Developer ISPConfig Developer

    found a few typos in the soap_oj file in lib/class

    still getting an error but looking a little more promissing. pasted the output of the index.php file in remote

    <?xml version="1.0" ?>
    - <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="" xmlns:si="">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultactor>method '' not defined in service ''</faultactor>
    <faultstring />
    - <detail>
    <soapVal xsi:type="xsd:string" />
    - <!--
    soap_server: entering parseRequest() on 23:28 2009-06-03
    soap_server: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/, application/, application/msword, */*
    soap_server: Accept-Encoding: gzip, deflate
    soap_server: Accept-Language: en-us
    soap_server: Connection: Keep-Alive
    soap_server: Cookie: PHPSESSID=4163a062fb81ca1978c23270446c258c
    soap_server: Host:
    soap_server: UA-CPU: x86
    soap_server: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 2.0.50727)
    soap_server: got encoding: UTF-8
    soap_server: method name:
    soap_server: method '' not found!
    soap_server: parser debug:
    soap_parser: xml was empty, didn't parse!

    soap_server: server sending...

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The output above is absolutely fine and the expected result if you access a soap connection with an application that does not understand soap like a web browser. This is a SOAP connection, you can not access the index file with a browser, you have to access it with a soap client like the one that is in the example files!
  7. afandino

    afandino ISPConfig Developer ISPConfig Developer


    I understand that it needs its client to comunicate properly but the client returns only server error without any other diagnostic information.

    I am using the test php file included in the examples all i am trying to do is list the resellers and i have already created a few in the database. Just want to execute a simple query. In realese 2.32-dev the file soap-obj in the class folder has a few typo's soapclient rather than soap_client. I thought all this was cleaned up in this release.

    sorry till just relised that the soap obj file is part of the remote frame work package.

    Last edited: Jun 4, 2009
  8. afandino

    afandino ISPConfig Developer ISPConfig Developer

    got it working !

    needed a complete reinstall and modify the compile file before installing isp config.

    Thanks to all who have endeavored ...

Share This Page