We use Domino 7. In order not to have a full Domino server exposed on
the Internet, I try to create a web2py frontend on DMZ  to extract the
necessary info from Domino and present it to the public.

as in
def getmetinfo():
    ad=request.args(0)
    key=""
    if ad :
       key=ad[0:4]
    else :
       key='LROP'
    from gluon.contrib.pysimplesoap.client import SoapClient
    client= SoapClient(location='http://xxx.ro/yyy.nsf/MET?
openwebservice',action='http://xxx.ro/yyy.nsf/MET?
openwebservice',soap_ns='soap',trace=False,exceptions=True)

    resp=client.GetLatestMetInfo(ad=key)
    r= str(resp.GetLatestMetInfoReturn)
    r=r.replace('\r','
').replace('\n','
')
    #q=tuple(dict(s) for s in r[1:-1].split(','))
    q= eval(r, dict(__builtins__=None))

    return dict(met=q,p=key)
SOAPProxy does seem to have some bugs when talking to Domino, so I
used the above "tweak".  Still beta code.
On Domino, WSDL generated through regular web service creation (agent-
like).
HTH
On 20 sep., 18:36, Massimo Di Pierro <[email protected]>
wrote:
> tell us more.
>
> On Sep 20, 8:43 am, HarryE <[email protected]> wrote:
>
>
>
> > I use Domino web services within web2py. XML-RPC.
> > Works ok.

Reply via email to