Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port old ToolingAPIDemo.cls to new SOAP Edition #28

Open
afawcett opened this issue Feb 7, 2015 · 3 comments
Open

Port old ToolingAPIDemo.cls to new SOAP Edition #28

afawcett opened this issue Feb 7, 2015 · 3 comments

Comments

@afawcett
Copy link
Owner

afawcett commented Feb 7, 2015

We need to port the old examples class to the new style SOAP edition version.

@afawcett
Copy link
Owner Author

afawcett commented Feb 7, 2015

@dancinllama Just looking at the Symbol Table types, for example the Method class, it doesn't appear to extend anything, i'm pretty sure last i looked at the WSDL it should? Did the new WSDL2Apex tool miss this one? I wanted to start to port the ToolingAPIDemo.cls over since the new version doesn't have this yet.

@dancinllama
Copy link
Collaborator

Don't believe that's the case. There's nothing in the WSDL that extends SymbolTable. All of the class types (ApexClassMember, ApexTriggerMember, etc) have a SymbolTable member variable, but they're all the same object, which I think is correct. I could be wrong though, as it's been awhile since I dug into the SymbolTable.

@afawcett
Copy link
Owner Author

afawcett commented Feb 8, 2015

Yeah looks like a bit more tweaking is required for the SOAP types, if you look at Method from the REST wrapper and in the WSDL, it extends Constructor.

<xsd:complexType name="Method">
<xsd:complexContent>
<xsd:extension base="tns:Constructor">
<xsd:sequence>
<xsd:element name="returnType" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants