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
king kpking kp 

Using SOAP Web services IN Apex code

Hi All,

I tried using the SOAP Web Services in Apex class but here  I am able to use the Method is:"Logon" in Apex class 
  String str1='<soapenv:Envelope xmlns:soapenv="" xmlns:v7="urn://">'
         +'<v7:name>kullayappa adapala</v7:name>'

HttpRequest req = new HttpRequest(); 
            req.setHeader('Authorization', authorizationHeader);
            req.setHeader('Content-Type', 'text/xml;charset=UTF-8');
        Http http = new Http();
        Transient HttpResponse res = new HttpResponse();
            res = http.send(req);

I am getting the Other response

is it working for "Logon Method in Apex class"  or Not

How Can I resolve this please help me on this