• Srinika
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

Hi,

I have two classes. Lets call them "ParentClass" and "ChildClass". The ChildClass has "extended" the parents class.

 

Problem - When I return the ChildClass object (with status field set), from a webservice method, the "status" field is not visible in the WSDL and therefore is not getting returned in the response. What am I doing wrong here?

 

Here are their declarations.

 

global class ParentClass
{
      webservice String status;
}

 

 

global class ChildClass extends ParentClass
{
      webservice List<Device> deviceList;
}

 

 

Hi,

I have created a WSDL from an existing APEX class. How can I designate certain fields in the WSDL as mandatory ("minoccurs = 1")?

Hi,

I have created a WSDL from an existing APEX class. How can I designate certain fields in the WSDL as mandatory ("minoccurs = 1")?