• simran_singh
  • 0 Points
  • Member since 2013

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 0



I have generated an Apex class from a WSDL. I tried to call my webservice method in developer console but it gives me weird exception:


System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: Server was unable to process request. ---> Value cannot be null.Parameter name: username faultcode=soap:Server faultactor=


I have tested this same SOAP webservice in soapUI 4.5.1 (http://www.soapui.org/) and it worked perfectly fine there with exact set of input parameters as in salesforce.


Can anybody help.





Salesforce has standard functionality for sending email (from send email button on activity history) using this standard page /_ui/core/email/author/EmailAuthor  which will allow adding attachments from documents or My computer via UI later on.


My requirements :

I wanted to add a custom button on Attachment detail page, on click of which I can get the same standard page above mentioned with attachment already linked.


Is there any way to achieve this without writing a complete custom code ?

Is it possible to do this via some script executed on button click and may be we could send attachment Id in URL and standard page will open along with attachment attached to email ?


Please suggest if anyone ever tried this or know any trick to do the same.