Changeset 9

Show
Ignore:
Timestamp:
02/12/07 08:56:49 (2 years ago)
Author:
kevin
Message:

fixed the namespace in the soap response.
bumped TG requirement to 1.0 final

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/setup.py

    r5 r9  
    1717     
    1818    install_requires = [ 
    19         "TurboGears >= 1.0b1", 
     19        "TurboGears >= 1.0", 
    2020        "Genshi >= 0.3.4" 
    2121    ], 
  • trunk/tgwebservices/soap.py

    r1 r9  
    211211        output = method(**params) 
    212212        data = dict(baseURL=self.wscontroller._ws_baseURL, 
     213                    tns=self.tns, 
     214                    typenamespace=self.typenamespace, 
    213215                    soap_body=soap_body, output=output, 
    214216                    methodname=methodname,  
  • trunk/tgwebservices/templates/soap.html

    r1 r9  
    11<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:py="http://genshi.edgewall.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    2 py:attrs="{'xmlns' : baseURL+'soap/types'}"> 
     2py:attrs="{'xmlns' : typenamespace}"> 
    33    <soapenv:Body> 
    44        ${soap_body(methodname, function_info, output)}