function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vishvish 

Salesforce example code : Unable to find SessionHeader or any other SOAP headers

I am using the example from the salesforce API quick start. I have used wsdl2java target to generate the stubs. But when I try to run the example , I cannot find the SessionHeader class or the QueryOptions object.
 
Please help!
Thanks.
SuperfellSuperfell
depending on which exact toolkit you're using it might be _SessionHeader and not SessionHeader.
vishvish
I added all="true" in my ant wsdl2java target and It works now. Thanks