• Kumar, Gajendra
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
I have exposed a soap Webservice and i am able to call the method using SOAP UI. My input argument is an APEX class. 

My input parameter accepts the input xml in apex class schema format and i am able to process it. When i check the input parameter, it gives me a json output.

However, i am not able to capture the input xml as it is sent from SOAP UI i.e. in XML format or string format..  

Can anyone give me any idea how can i handle it in my method

webservice static String OpCreate(caseCreateRequestSchema.caseXMLRequest caseList) 
        {
            //caseCreateRequestSchema.caseXMLRequest newcase = caseList;
               // Case VTCase = new Case();
                //insert VTCase;
            httprequest req = new httprequest();
            String xmlbody = req.toString();
            String contentType =  req.getHeader('Content-Type');        
            system.debug(caseList);
            return 'success';
            
        
     
    }
I have setup a workflow rule to send email alert on creation of a record in custom object Service'
The Workflow email alert works when i create record using Administrator account. However it is not working if same workflow rule is triggered through custom profile user. Custom profile user is not able to send any email using 'Send email' button available on Activity history. IT does not throw any error but emails are not sent.
I want to remove last 3 digits , characters in account name.
HI ,
Lightning related query; dropdown onchange;
I have custom object which is related to account. 
while keeping on component keeping as below
Featurename      Current status          Expected change dropdown
 ABC                    Active                Avalable option--> rectivate/inactive
XYZ                     inactive                   disable/Active

the vlues i am passing to component through handler class with wrapper
as below 

Feature name string/ Current status string/ expected change List<available option>

but while i select the dropdown value from the component , i am not getting that value in any attribute; and requirment is while select the dropdown it need to create string  and bind with feature name; 
note the feature name is around 15;
trying to use below code at component; 
<aura:iteration items="{!v.featureList}" var="featureObj">
                                        <tr>
                                            <td data-label="Features" >
                                            <div class="slds-truncate">{!featureObj.Feature}</div>
                                            </td>
                                            <td data-label="Status" >
                                            <div class="slds-truncate">{!featureObj.Status}</div>
                                            </td>
                                            <td data-label="Action" >
                                               <lightning:select class="dynamic" aura:id="ActionSelectDynamic"  >
                                                   <option value="">-- Select -- </option>
                                                    <aura:iteration items="{!featureObj.Action}" var="action">
                                                        <option value="{!action}" label="{!action}" title="{!action}" />
                                                        
                                                      </aura:iteration>
                                                </lightning:select>