Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8384993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:33:16+00:00 2026-06-09T17:33:16+00:00

I’ve been having trouble sending Matlab SOAP request callSoapService(endpoint,soapAction,message) <–http://www.mathworks.com/help/techdoc/ref/callsoapservice.html For instance how would

  • 0

I’ve been having trouble sending Matlab SOAP request
callSoapService(endpoint,soapAction,message) <–http://www.mathworks.com/help/techdoc/ref/callsoapservice.html

For instance how would I find the endpoint, soapAction, and message in http://www.webservicex.net/FedWire.asmx?WSDL

I understand that there are multiple possible soapActions, endpoints, and messages in a wsdl but I was just looking for an example of any SOAP request.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:33:18+00:00Added an answer on June 9, 2026 at 5:33 pm

    This is the process you need to go through.

    First, create a class from the WDSL definition:

    url = 'http://www.webservicex.net/FedWire.asmx?WSDL';
    className = createClassFromWsdl(url);
    

    This will create a directory called @FedWire in the current directory. You can dir this directory or use the following to explore the services that FedWire offers:

    methods(FedWire)
    

    Before you can use the web service, create an instance of the FedWire object:

    fw = FedWire;
    classType = class(fw) % to confirm the class type.
    

    To use a service, for example, GetParticipantByLocation, which requires a City and StateCode:

     [Result, FedWireLists] = GetParticipantsByLocation(fw, 'New York', 'NY')
    

    Result should be true and FedWireLists is a deeply nested structure containing the data returned.

    Opening @FedWire\GetParticipantsByLocation.m reveals how the MATLAB generated code is using createSoapMessage and callSoapService. If the service does not support WSDL queries, then using these low level functions becomes necessary.

    The parameters for createSoapMessage are populated like this:

    • NAMESPACE: ‘http://www.webservicex.net/’
    • METHOD: ‘GetParticipantsByLocation’
    • VALUES: {‘New York’, ‘NY’}
    • NAMES: {‘City’, ‘StateCode’}
    • TYPES: {‘{http://www.w3.org/2001/XMLSchema}string’, ‘{http://www.w3.org/2001/XMLSchema}string’}
    • STYLE: ‘document’

    and callSoapService:

    • ENDPOINT: ‘http://www.webservicex.net/FedWire.asmx’
    • SOAPACTION: ‘http://www.webservicex.net/GetParticipantsByLocation’
    • MESSAGE: the result of the createSoapMessage call.

    The following code makes the same query with the low level calls:

    % createSoapMessage(NAMESPACE,METHOD,VALUES,NAMES,TYPES,STYLE) creates a SOAP message.
    soapMessage = createSoapMessage( ...
      'http://www.webservicex.net/', ...
      'GetParticipantsByLocation', ...
      {'New York', 'NY'}, ...
      {'City', 'StateCode'}, ...
      {'{http://www.w3.org/2001/XMLSchema}string', ...
       '{http://www.w3.org/2001/XMLSchema}string'}, ...
      'document')
    
    % callSoapService(ENDPOINT,SOAPACTION,MESSAGE) sends the MESSAGE,
    response = callSoapService( ...
        'http://www.webservicex.net/FedWire.asmx', ...
        'http://www.webservicex.net/GetParticipantsByLocation', ...
        soapMessage);
    
    %parseSoapResponse Convert the response from a SOAP server into MATLAB types.
    [result, participants] = parseSoapResponse(response)  
    

    I had a lot of trouble making these examples work because I was capitalizing the service domain name like this www.webserviceX.NET which I took from their example XML. When I changed to lowercase, it worked.

    The example using createClassFromWsdl is an adaptation of
    http://www.mathworks.co.uk/products/bioinfo/examples.html?file=/products/demos/shipping/bioinfo/connectkeggdemo.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a view passing on information from a database: def serve_article(request, id): served_article
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.