PROCESS |INSTRUCTIONS | COMMANDS
Generated on Fri May 16 17:38:20 CEST 2003
COMMANDES
actionlog.create
color.modify
credit-card.check-number
cron.create
cron.modify
cron.remove
document.execute
domain.create
domain.remove
file.copy
file.delete
file.extract-text
file.link
file.move
file.touch
folder.create
group.add-user
group.create
group.remove
group.remove-user
http.redirect
http.request
image.resize
instance.append-field
instance.create
instance.increment-field
instance.modify
instance.remove
instance.remove-field
instance.remove-locale-content
ldap.create
ldap.modify
ldap.remove
license.sign-file
messageboard.add
object-field.create
object-field.modify
object-field.remove
object.create
object.modify
object.remove
parked-domain.create
parked-domain.remove
privilege.create
privilege.remove
processing-instruction.add
publication-list.create
publication-list.modify
publication-list.remove
publication.create
publication.link
publication.modify
publication.remove
publication.unlink
right.create
right.remove
security.create-encryption-key
security.create-signature-key
security.decrypt-string
security.encrypt-string
security.keystore-create-key
security.keystore-remove-key
security.sign-namespace
site.create
site.exist
site.export
site.modify
site.remove
site.swap
smtp.send
soap.request
sql.delete
sql.increment
sql.insert
sql.update
user.authenticate
user.create
user.exist
user.login
user.logout
user.mail-password
user.modify
user.remove
webservice.request
webservice.request
 

description
Call a remote method using web service description file.

privilege-required
anyone

tx-support
false

 
 INSTRUCTION 
name type default-value required description
user-name string none false User name (used for HTTP authentication with password).
soap-result boolean none false If set true, the result produces an XML SOAP document fragment in the result variable (this could be usefull if there is no deserializer available for the given return value). If set false, the return value is deserialized in the result variable.
password string none false Password (used for HTTP authentication with user name).
timeout integer none false Timeout in milisec of the remote call.
targetNamespace string none true Target namespace of the remote method.
service string none true Service to use.
cache-result integer none false Cache the result value for the given time in second.
port string none true Port of the service to use.
url string none true URL of the WSDL file.
force-refresh-service boolean none false Force the reload of the webservice WSDL file.
method string none true Method of service/port to use.
 
 RESULT 

name description
response RPC response (the format dependends on the soap-result parameter).

 
 EXAMPLE 

example 1
Use the google api search engine web service
<nvd:command name="webservice.request"
url="http://api.google.com/GoogleSearch.wsdl"
targetNamespace="urn:GoogleSearch"
service="GoogleSearchService"
port="GoogleSearchPort"
method="doGoogleSearch"
soap-result="true"
cache-result="30"
error-variable="error-var"
>

<nvd:parameter name="value">BLALBLBLBLLELLDLLLBLBLBLBLB</nvd:parameter>
<nvd:parameter name="value"><nvd:variable exec-priority="1" select="parameter.query"/></nvd:parameter>
<nvd:parameter type="soap" name="value"><start xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:int">0</start></nvd:parameter>
<nvd:parameter type="soap" name="value"><maxResults xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:int">10</maxResults></nvd:parameter>
<nvd:parameter type="boolean" name="value">false</nvd:parameter>
<nvd:parameter type="soap" name="value"><restrict xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"></restrict></nvd:parameter>
<nvd:parameter type="boolean" name="value">false</nvd:parameter>
<nvd:parameter type="soap" name="value"><restrict xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"></restrict></nvd:parameter>
<nvd:parameter name="value">latin1</nvd:parameter>
<nvd:parameter name="value">latin1</nvd:parameter>

<nvd:result name="response" variable="result" />

</nvd:command>