• Balraj Singh
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
PI integration to SFDC stopped working 2 weeks ago. PI uses SOAP calls to create Account records in SFDC and now fails with the following errror:

com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier

Any ideas on how to correct?


 
I am creating custom object from APEX but when i use this, getting problem

Initial expression is of incorrect type, expected: MetadataService.Metadata at line 39 column 50

can any body know this, Here is my code.


List<MetadataService.CustomObject> customObjectlst = new List<MetadataService.CustomObject>();
MetadataService.CustomObject customObject = new MetadataService.CustomObject();
//customObject.nameField = 'Test__c';
customObject.label = 'Test';
customObject.pluralLabel = 'Tests';
customObject.nameField = new MetadataService.CustomField();
customObject.nameField.type_x = 'Text';
customObject.nameField.label = 'Test Record';
customObject.deploymentStatus = 'Deployed';
customObject.sharingModel = 'ReadWrite';
customObjectlst.add(customObject);

List<MetadataService.SaveResult> results = meta.createMetadata(
                new MetadataService.Metadata[] { customObjectlst });      
        handleSaveResults(results[0]);