• dudu-av
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hi all. I am getting the next Error when I am generating WSDL  : 

 

Apex Generation Failed : No type specified for element _Object

 

here is the link for the WSDL

 

https://demo.gemcapital.eu/MT4ManagerAPI/MT4ManagerAPI.WebService.asmx

 how can i slove this Problem?

Thanks 

 

Hi all,

I wanted to know if there any way to see the http request , for example  basic http request   , and i want  to see the actual request that is sent from salesforce server 

 

public void basicAuthCallout(){
     HttpRequest req = new HttpRequest();
     req.setEndpoint('http://www.yahoo.com');
     req.setMethod('GET');
     
     // Specify the required user name and password to access the endpoint  
    
     // As well as the header and header information  
    
 
     String username = 'myname';
     String password = 'mypwd';
  
     Blob headerValue = Blob.valueOf(username + ':' + password);
     String authorizationHeader = 'BASIC ' +
     EncodingUtil.base64Encode(headerValue);
     req.setHeader('Authorization', authorizationHeader);
   
     // Create a new http object to send the request object  
    
     // A response object is generated as a result of the request    
    
  
     Http http = new Http();
     HTTPResponse res = http.send(req);
     System.debug(res.getBody());
   }

hi , i have written a simple Trigger on FeedItem when i am Creating a new record on custom object,  a new Item feed been created :" admin created this case." and the Trigger i wrote is not fired , why ???

Thanks .

Hi all,

I wanted to know if there any way to see the http request , for example  basic http request   , and i want  to see the actual request that is sent from salesforce server 

 

public void basicAuthCallout(){
     HttpRequest req = new HttpRequest();
     req.setEndpoint('http://www.yahoo.com');
     req.setMethod('GET');
     
     // Specify the required user name and password to access the endpoint  
    
     // As well as the header and header information  
    
 
     String username = 'myname';
     String password = 'mypwd';
  
     Blob headerValue = Blob.valueOf(username + ':' + password);
     String authorizationHeader = 'BASIC ' +
     EncodingUtil.base64Encode(headerValue);
     req.setHeader('Authorization', authorizationHeader);
   
     // Create a new http object to send the request object  
    
     // A response object is generated as a result of the request    
    
  
     Http http = new Http();
     HTTPResponse res = http.send(req);
     System.debug(res.getBody());
   }