wsdl
This command manages source WSDL files for the Web Service Proxy.
Syntax
wsdl location name [attachment]
no wsdl location
Parameters
- location
- Specifies the exact location of the WSDL file. The file can be in the DataPower® file system or on a remote server.
- name
- Specifies a mnemonic for the WSDL file. The mnemonic can be the file name or an alias. The name must be the same as the value for the WSDL-file parameter as identified by the user-policy command.
- attachment
- Specifies the name of a policy attachment set. Policy attachments associate WS-Policy with the different types of policy subjects in the WSDL file: Service, endpoint, operation, or message.
Guidelines
The wsdl command manages source WSDL files for the Web Service Proxy. The WSDL file defines web services that are supported by the Web Service Proxy.
Use the no wsdl command to remove a WSDL file.
Examples
- Associate the
accountQuery.wsdlWSDL file in thelocal:directory, define this source WSDL file with thegetBalancealias, and associate theWSSec-UNTpolicy attachment set.# wsdl local:///accountQuery.wsdl getBalance WSSec-UNT - Associate the
accountQuery.wsdlWSDL file in thelocal:directory, define this source WSDL file with thegetBalancealias, but does not associate a policy attachment set.# wsdl local:///accountQuery.wsdl getBalance - Remove the association of the
accountQuery.wsdlWSDL file in thelocal:directory.# no wsdl local:///accountQuery.wsdl