• Sanjay_Satyam
  • NEWBIE
  • 0 Points
  • Member since 2010

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

All,

       I tried a invoking a webservice from the sfdc environment. I am getting the below error message -  IO Exception: DER input, Integer tag error 

 

Details - 

 

In my Class i included the Certificate and Passed the Basic Authorization also.  Below is the Class i wrote -

 

 

    public void callWebService()
        {     
        //Create and set the request data
        WMWebService.eventInput data = new WMWebService.eventInput();
        data.outage_number = outage_number;
          

        String username = 'SFDC';
        String password = 'SFDC';
        
        WMWebService.SDFC_WebService_Service_Port webclient = new WMWebService.SDFC_WebService_Service_Port webclient();
        webclient.inputHttpHeaders_x=new Map<String,String>();
        Blob headerValue = Blob.valueOf(username + ':' + password);
        String authorizationHeader = 'Basic ' +EncodingUtil.base64Encode(headerValue);
        System.debug('Authorization - '+authorizationHeader);
        webclient.clientCertPasswd_x = '';
        webclient.inputHttpHeaders_x.put('Authorization','authorizationHeader');
        webclient.clientCert_x =
        'MIIE7TCCA9WgAwIBAgIQRFHQafx0RAOvfWR70P5XwTANBgkqhkiG9w0BAQUFADBr'+
        'MQswCQYDVQQGEwJVUzEtMCsGA1UEChMkVHJ1c3RlZCBTZWN1cmUgQ2VydGlmaWNh'+
        'dGUgQXV0aG9yaXR5MS0wKwYDVQQDEyRUcnVzdGVkIFNlY3VyZSBDZXJ0aWZpY2F0'+
        'ZSBBdXRob3JpdHkwHhcNMDkwOTE0MDAwMDAwWhcNMTAwOTE0MjM1OTU5WjCB6DEL'+
        'MAkGA1UEBhMCVVMxEzARBgNVBBETCjA2ODI4LTAwMDExCzAJBgNVBAgTAkNUMRIw'+
        'EAYDVQQHEwlGYWlyZmllbGQxHTAbBgNVBAkTFDMxMzUgRWFzdG9uIFR1cm5waWtl'+
        'MQswCQYDVQQKEwJHRTEXMBUGA1UECxMOSW5mcmFzdHJ1Y3R1cmUxLTArBgNVBAsT'+
        'JFByb3ZpZGVkIGJ5IEdlbmVyYWwgRWxlY3RyaWMgQ29tcGFueTEXMBUGA1UECxMO'+
        'RW50ZXJwcmlzZSBTU0wxFjAUBgNVBAMTDTE5Mi44OC4yMTIuODIwgZ8wDQYJKoZI'+
        'hvcNAQEBBQADgY0AMIGJAoGB43AMEUbg+Q15PNvtN8yrmMNAf0X3KWPFrmJd1M0h'+
        'DQaA30nCkEOeJVZfRgjfer343MuNsPHzdwctCf7jlNFK4EemuTwqVobBrtC4DraI'+
        '6Q4JXDi5v7mdTh1Vg1Fc8SEsDjlJ1fGUTrWzO4kvjYUg2j8aMi/u0/hzLUxbHshv'+
        'prC/AgMBAAGjggGRMIIBjTAfBgNVHSMEG433DAWgBQxlflM+yx4iHjtrODIv/ZeZ'+
        '5jAdBgNVHQ4EFgQUgd3Um3c1uWDjO7Zf2oNGEfGw4HcwDgYDVR0PAQH/BAQDAgWg'+
        'MAwGA1UdEwEB/wQCMAAwHQYDVR0lB5353BYwFAYIKwYBBQUHAwEGCCUFBwMCMEsG'+
        'A1UdIAREMEIwQAYLKwYBBAGyMQE54CAggwMTAvBggrBgEFBQcCRYjaHR0DovL3d3'+
        'dy5jc2N0cnVzdGVkc2VjdXJlLmNvbS9jcHMwgaYGA1UdHwSBnjCBmzBLoEmgR4ZF'+
        'aHR0cDovL2NybC5jc2N0cnVzd54GVkc2VjdXJlLmNvbS9UcnVzdGVkU2VjdlQ2Vy'+
        'dGlmaWNhdGVBdXRob3JpdHkuY3JsMEygSqBIhkZodHRwOi8vY3JsMi5jc2N0cnVz'+
        'dGVkc2VjdXJlLmNvbS9Ucn932VzdGVkU2VjdXJlQ2VydGlmaWNhdGVBdXRob3Hku'+
        'Y3JsMBgGA1UdEQQRMA+CDTE5Mi44OC4yMTIuODIwDQYJKoZIhvcNAQEFBQADggEB'+
        'AH5EAwTv4EDqpHWoYfonUikaYtmJCCmrTBsNB3rFFLg/bHQPPS58/8Qozok5MCXy'+
        'BpvIPMf5mg1UIw0mwKTPPe5K4UmlzgnyZEs2pWOLIIeu1J5zOE5Pqh/45XSzMo+N'+
        'M8dy7LY4065zhzTOPN1c0o5fgG0QeVghUBs6XRvrFQKAW9xyZx8pT7GzHEEn6Hbq'+
        'c4HgXoYSxhc3lxqiMGJVxBIKtnqbghby56432PkBejcFLz5FAtPdRQLd7dT0t3NM'+
        'RNtpmliq+Ib6j20P+Zj7CypUF6GcP+QBjTH+aw9Qsd8sG8a33GwIm5/eOmLyPJr0'+
        '3lK9AH6CfVdNeq5pMv2ojsk=';

        WMWebService.return_x response = webclient.processEvents(data);
}

 

 

Don't know what went wrong...Any ideas ??

 

Thanks,
Sanjay

Hi,

          I am refrencing a formula filed on my apex page. the formula works good on the detail page but as soon as i put this in the VF page i get the internal server error. Error ID: 601466908-5017 (-728056358)

 

The same formula with different field type works good on the same page. Can somebody let me know what's the error id Error ID: 601466908-5017 (-728056358) means and any reference if i can check on with these error Id's

 

Any help appreciated.

 

Thanks,
Sanjay

Hi, 

I have this formula which i need to write in Salesforce. This formula returns a Number Value in some cases and a Text values in others.

 

=IF(AND(C15=0,C26=0),0,IF(C15<>0,IF(OR(AND(C15>0,C26>0,((C26-C15)/C15)<1),AND(C15<0,C26<0,((C26-C15)/C15)<1)),((C26-C15)/ABS(C15)),IF(C15<C26,"F","U")),IF(C15<C26,"F","U")))

 

I tried putting this as a Number Formula but was not able to save as there are these F's and U's Also. Also tried putting as a Text by wrapping the number as a text, However this worked. But when i am using the text version of the formula on my Visualforce Page give a Internal Server error. On detail page it shows the values correctly. 

 

Is there any way i can use the Formula type as number and display the Text values also.....

 

Appreciate any help on this.

 

Thanks,
Sanjay

Hi,

       I have developed a VF page which has gone far long now in terms of the page length and as our users go to insert/update information on lower sections, they miss key information of the record which is displayed at the top of page. 

 

Can somebody let me know if can develop something like floating headers/sections as there are in Reports. This would help users to always be able to see the Key Information all the time ?

 

Thanks,
Sanjay

All,

       I tried a invoking a webservice from the sfdc environment. I am getting the below error message -  IO Exception: DER input, Integer tag error 

 

Details - 

 

In my Class i included the Certificate and Passed the Basic Authorization also.  Below is the Class i wrote -

 

 

    public void callWebService()
        {     
        //Create and set the request data
        WMWebService.eventInput data = new WMWebService.eventInput();
        data.outage_number = outage_number;
          

        String username = 'SFDC';
        String password = 'SFDC';
        
        WMWebService.SDFC_WebService_Service_Port webclient = new WMWebService.SDFC_WebService_Service_Port webclient();
        webclient.inputHttpHeaders_x=new Map<String,String>();
        Blob headerValue = Blob.valueOf(username + ':' + password);
        String authorizationHeader = 'Basic ' +EncodingUtil.base64Encode(headerValue);
        System.debug('Authorization - '+authorizationHeader);
        webclient.clientCertPasswd_x = '';
        webclient.inputHttpHeaders_x.put('Authorization','authorizationHeader');
        webclient.clientCert_x =
        'MIIE7TCCA9WgAwIBAgIQRFHQafx0RAOvfWR70P5XwTANBgkqhkiG9w0BAQUFADBr'+
        'MQswCQYDVQQGEwJVUzEtMCsGA1UEChMkVHJ1c3RlZCBTZWN1cmUgQ2VydGlmaWNh'+
        'dGUgQXV0aG9yaXR5MS0wKwYDVQQDEyRUcnVzdGVkIFNlY3VyZSBDZXJ0aWZpY2F0'+
        'ZSBBdXRob3JpdHkwHhcNMDkwOTE0MDAwMDAwWhcNMTAwOTE0MjM1OTU5WjCB6DEL'+
        'MAkGA1UEBhMCVVMxEzARBgNVBBETCjA2ODI4LTAwMDExCzAJBgNVBAgTAkNUMRIw'+
        'EAYDVQQHEwlGYWlyZmllbGQxHTAbBgNVBAkTFDMxMzUgRWFzdG9uIFR1cm5waWtl'+
        'MQswCQYDVQQKEwJHRTEXMBUGA1UECxMOSW5mcmFzdHJ1Y3R1cmUxLTArBgNVBAsT'+
        'JFByb3ZpZGVkIGJ5IEdlbmVyYWwgRWxlY3RyaWMgQ29tcGFueTEXMBUGA1UECxMO'+
        'RW50ZXJwcmlzZSBTU0wxFjAUBgNVBAMTDTE5Mi44OC4yMTIuODIwgZ8wDQYJKoZI'+
        'hvcNAQEBBQADgY0AMIGJAoGB43AMEUbg+Q15PNvtN8yrmMNAf0X3KWPFrmJd1M0h'+
        'DQaA30nCkEOeJVZfRgjfer343MuNsPHzdwctCf7jlNFK4EemuTwqVobBrtC4DraI'+
        '6Q4JXDi5v7mdTh1Vg1Fc8SEsDjlJ1fGUTrWzO4kvjYUg2j8aMi/u0/hzLUxbHshv'+
        'prC/AgMBAAGjggGRMIIBjTAfBgNVHSMEG433DAWgBQxlflM+yx4iHjtrODIv/ZeZ'+
        '5jAdBgNVHQ4EFgQUgd3Um3c1uWDjO7Zf2oNGEfGw4HcwDgYDVR0PAQH/BAQDAgWg'+
        'MAwGA1UdEwEB/wQCMAAwHQYDVR0lB5353BYwFAYIKwYBBQUHAwEGCCUFBwMCMEsG'+
        'A1UdIAREMEIwQAYLKwYBBAGyMQE54CAggwMTAvBggrBgEFBQcCRYjaHR0DovL3d3'+
        'dy5jc2N0cnVzdGVkc2VjdXJlLmNvbS9jcHMwgaYGA1UdHwSBnjCBmzBLoEmgR4ZF'+
        'aHR0cDovL2NybC5jc2N0cnVzd54GVkc2VjdXJlLmNvbS9UcnVzdGVkU2VjdlQ2Vy'+
        'dGlmaWNhdGVBdXRob3JpdHkuY3JsMEygSqBIhkZodHRwOi8vY3JsMi5jc2N0cnVz'+
        'dGVkc2VjdXJlLmNvbS9Ucn932VzdGVkU2VjdXJlQ2VydGlmaWNhdGVBdXRob3Hku'+
        'Y3JsMBgGA1UdEQQRMA+CDTE5Mi44OC4yMTIuODIwDQYJKoZIhvcNAQEFBQADggEB'+
        'AH5EAwTv4EDqpHWoYfonUikaYtmJCCmrTBsNB3rFFLg/bHQPPS58/8Qozok5MCXy'+
        'BpvIPMf5mg1UIw0mwKTPPe5K4UmlzgnyZEs2pWOLIIeu1J5zOE5Pqh/45XSzMo+N'+
        'M8dy7LY4065zhzTOPN1c0o5fgG0QeVghUBs6XRvrFQKAW9xyZx8pT7GzHEEn6Hbq'+
        'c4HgXoYSxhc3lxqiMGJVxBIKtnqbghby56432PkBejcFLz5FAtPdRQLd7dT0t3NM'+
        'RNtpmliq+Ib6j20P+Zj7CypUF6GcP+QBjTH+aw9Qsd8sG8a33GwIm5/eOmLyPJr0'+
        '3lK9AH6CfVdNeq5pMv2ojsk=';

        WMWebService.return_x response = webclient.processEvents(data);
}

 

 

Don't know what went wrong...Any ideas ??

 

Thanks,
Sanjay

Hi,

          I am refrencing a formula filed on my apex page. the formula works good on the detail page but as soon as i put this in the VF page i get the internal server error. Error ID: 601466908-5017 (-728056358)

 

The same formula with different field type works good on the same page. Can somebody let me know what's the error id Error ID: 601466908-5017 (-728056358) means and any reference if i can check on with these error Id's

 

Any help appreciated.

 

Thanks,
Sanjay