Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

matlab.wsdl.setWSDLToolPath

Location of WSDL tools

Syntax

matlab.wsdl.setWSDLToolPath(Name,Value)
paths = matlab.wsdl.setWSDLToolPath

Description

example

matlab.wsdl.setWSDLToolPath(Name,Value) sets the paths to Java® JDK™ and Apache™ CXF software. You must download these tools to use the matlab.wsdl.createWSDLClient interface.

Specify values for both Name arguments 'JDK' and 'CXF' before calling matlab.wsdl.createWSDLClient. The values are saved across sessions in your user preferences.

example

paths = matlab.wsdl.setWSDLToolPath displays paths to the JDK and CXF software.

Examples

collapse all

Set jdk and cxf to valid paths on your system. For example,

jdk = 'E:/Program Files/win64/jdk';
cxf = 'c:\apache-cxf-2.7.10'
matlab.wsdl.setWSDLToolPath('JDK',jdk,'CXF',cxf)
p = matlab.wsdl.setWSDLToolPath;
if (isempty(p.JDK) || isempty(p.CXF))
    disp('Install the Java Development Kit (JDK) and Apache CXF programs.')
    disp('See the Set Up WSDL Tools example link at the end of this page.')
else
    disp('Paths set to:')
    matlab.wsdl.setWSDLToolPath
end

Input Arguments

collapse all

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'CXF','C:\apache-cxf-2.7.10'

collapse all

Path to Java Development Kit (JDK) software, specified as a character vector. Download the software from http://www.oracle.com/technetwork/java/javase/downloads and choose release 7u75.

Example: 'E:/Program Files/win64/jdk'

Path to Apache CXF software, specified as a character vector. CXF is an open-source services framework. Download the software from http://cxf.apache.org/download and choose the latest release of 2.7.

Example: 'C:\apache-cxf-2.7.10'

Output Arguments

collapse all

Tool paths, returned as a structure with the fields:

Path to Java JDK software, specified as a character vector. If the value of JDK is empty, you cannot call matlab.wsdl.createWSDLClient.

Path to Apache CXF software, specified as a character vector. If the value of CXF is empty, you cannot call matlab.wsdl.createWSDLClient.

Introduced in R2014b

Was this topic helpful?