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

  • SEARCH
  • Home
  • 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 7069971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:30:38+00:00 2026-05-28T05:30:38+00:00

I trying to make a web service accessible to Matlab. I can call it

  • 0

I trying to make a web service accessible to Matlab. I can call it from PHP but Matlab doesn’t seem to be able to parse the definition.

??? Attempt to reference field of non-structure array.

Error in ==> createClassFromWsdl>parseWsdl at 72
se = defTypes.getExtensibilityElements().get(0);

Error in ==> createClassFromWsdl at 32
[R, schema] = parseWsdl(wsdlUrl);

WSDL File:

<?xml version ='1.0' encoding ='UTF-8' ?>
<definitions name='server3'
  targetNamespace='http://server.edu/php/soap_test/server3.wsdl'
  xmlns:tns='http://server.edu/php/soap_test/server3.wsdl'
  xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
  xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
  xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
  xmlns='http://schemas.xmlsoap.org/wsdl/'>



<xsd:complexType name="ActivityData">
  <xsd:sequence>
    <xsd:element minOccurs="1" maxOccurs="1" name="HomeId" type="string"/>
    <xsd:element minOccurs="1" maxOccurs="1" name="TStamp" type="string"/>
    <xsd:element minOccurs="1" maxOccurs="1" name="Description" type="string"/>
  </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ArrayOfActivityData">
  <xsd:sequence>
    <xsd:element minOccurs="0" maxOccurs="unbounded" name="keyval" type="tns:ActivityData"/>
  </xsd:sequence>
</xsd:complexType>  


<message name='getRangeRequest'>
  <part name='inHomeId' type='xsd:int'/>
  <part name='inStartDate' type='xsd:string'/>
  <part name='inEndDate' type='xsd:string'/>
</message>

<message name='getRangeResponse'>
  <part name='out1' type='ArrayOfActivityData'/>
</message>


<portType name='getRangePortType'>
  <operation name='getRange'>
    <input message='tns:getRangeRequest'/>
    <output message='tns:getRangeResponse'/>
  </operation>
</portType>

<binding name='getRangeBinding' type='tns:getRangePortType'>
  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
  <operation name='getRange'>
    <soap:operation soapAction='urn:xmethods-get-range#getRange'/>
    <input>
      <soap:body use='encoded' namespace='urn:xmethods-get-range' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </input>
    <output>
      <soap:body use='encoded' namespace='urn:xmethods-get-range' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </output>
  </operation>
</binding>

<service name='getRangeService'>
  <port name='getRangePort' binding='getRangeBinding'>
    <soap:address location='http://server.edu/php/soap_test/soap_server3.php'/>
  </port>
</service>

</definitions>

Reading the Matlab docs states:

The createClassFromWsdl function works with WSDL documents that comply with the WS-I 1.0 standard and use one of these forms: RPC-encoded, RPC-literal, Document-literal, or Document-literal-wrapped.

My Matlab install works with some sample WSDL files. So now Im trying to figure out what’s wrong with mine. Suggestions?

  • 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-05-28T05:30:39+00:00Added an answer on May 28, 2026 at 5:30 am

    FWIW: There are four issues:

    1) the ‘xsd:complexType’ entries need to be in a ‘types’ section.

    2) the ‘service/port#binding’ attribute needs to be ‘tns:getRangeBinding’.

    3) ‘binding/operation/soap:operation#soapAction’ should be ‘urn:xmethods-get-range:getRange’

    4) ‘binding/operation/input/soap:body#namespace’ should match #3.

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

Sidebar

Related Questions

I am trying to make a web service call from PHP to a SOAP
When trying to make a web service (hosted on a different server) call from
Trying to make a web service call to an HTTPS endpoint in my Silverlight
I am trying to make a web service request call to a third part
I'm trying to make a call to a JSON ASP.NET web service with .NET.
i am trying to make AJAX Call to ASP.Net Server Side Web service method
I'm trying to make a jQuery .ajax() call to a public web service, and
I am trying to make a web service with Jax-RS (using the Glassfish 3.1.1,
I'm trying to make my first web service client for the eBay API using
I am trying to make a very simple web-service which does the following: The

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.