<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    <br>
    On 7/11/2011 4:40 PM, User Ernie wrote:
    <blockquote cite="mid:201107112340.p6BNejEO012378@info.eis.net.au"
      type="cite">
      <pre wrap="">Billing programs like WHMCS, Modernbill, AWBS etc. have a custom server
provisioning module, you have to modify it to do what you want. Typically
that involves using curl to contact the BX server and exicute the cce shell
commands. It would be nice if someone wrote a small daemon for BX that had
an encrypted API we could call for prvisioning from a billing system.

- Ernie.


</pre>
    </blockquote>
    Ernie, I wrote a small wrapper around CCE that provides a web
    services interface that you can use to provision using HTTP
    Post/HTTP Get and SOAP. I posted a while back that I had put a sever
    online if people were interested in testing/seeing it. If enough
    people were interested I would be happy to clean it up and get it
    finished. One implementation detail however is that it is coded up
    in C# .NET and so required MONO dependency and either hosting in
    Apache or via XSP Web Server which is the path I choose. When I
    mentioned that the last time some commented it could be done
    directly in PHP etc... however I am a .NET developer so this was the
    language I chose. The fact that it was in C# and MONO turned seemed
    to cause a few to not be interested and made suggestions it be coded
    up to use PHP and thought it would be simple to implement. However I
    am not a PHP developer so again I chose C# for my own use. Also when
    I coded up this it was 2008 and to date I have not seen anyone take
    on the easy challenge ;-)<br>
    <br>
    <br>
    Here is one of my older posts:
    <a class="moz-txt-link-freetext" href="http://bluequartz.org/ml/archive/coba-e/13200/13299.html">http://bluequartz.org/ml/archive/coba-e/13200/13299.html</a><br>
    <br>
    Which dates back to June 2008. <br>
    <br>
    The authorization mechanics I choose were a combination of
    username/password and IP protection. Also the username/password used
    is not authenticating via the machine but rather coded into the
    provisioning application. <br>
    <br>
    <add key="ValidIPAddressList" value="192.168.240.33"/><br>
    <add key="ProvisionUsername" value="user"/><br>
    <add key="ProvisionPassword" value="pass"/><br>
    <br>
    Here is the list of methods I implemented. Note the methods that end
    in Ex are methods that use basic string parameters to get those
    method to be supported using HTTP Get/Post. In my case I used the
    NON-Ex methods as it gives me nice objects to work with. However the
    methods are identical and in fact the Ex methods really just wrap
    into a call to the NON-Ex method. <br>
    <br>
    <a class="method">HelloWorld</a><br>
    <br>
    <a class="method">AddVirtualSite</a><br>
    <a class="method">AddVirtualSiteEx<br>
      <br>
    </a><a class="method">DeleteVirtualSite</a><br>
    <a class="method">DeleteVirtualSiteEx</a><br>
    <br>
    <a class="method">VirtualSiteList</a> <br>
    <a class="method">VirtualSiteListEx</a><br>
    <br>
    I currently only use the VirtualSiteList to do reconciliation of my
    websites in our billing APP as we do manual provisioning currently
    as I never finished up our billing integration.<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote cite="mid:201107112340.p6BNejEO012378@info.eis.net.au"
      type="cite">
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">
How would I call cce tools through a php application with the intention of
integrating with a billing/provisioning system?

Regards,

Rashid


_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>

</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
  </body>
</html>