| External Interfaces Reference | ![]() |
Create SOAP message to send to server
Syntax
Description
createSoapMessage(namespace, method, values, names, types)
creates a SOAP message. values, names, and types are cell arrays. names defaults to dummy names and types defaults to unspecified. The optional style argument specifies 'document' or 'rpc' messages; rpc is the default.
Example
m = createSoapMessage('urn:xmethodsBabelFish', 'BabelFish', ... {'en_it','Matthew thinks you''re nice.'}, ... {'translationmode','sourcedata'}, ... repmat({'{http://www.w3.org/2001/XMLSchema}string'},1,2)); response = callSoapService( ... 'http://services.xmethods.net:80/perl/soaplite.cgi', ... 'urn:xmethodsBabelFish#BabelFish', m); results = parseSoapResponse(response)
See Also
callSoapService, createClassFromWsdl, parseSoapResponse
| createClassFromWsdl | parseSoapResponse | ![]() |
© 1994-2005 The MathWorks, Inc.