• Anbu_KS
  • NEWBIE
  • 0 Points
  • Member since 2009

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

Dear All,

 

Is it possible to show the Apex:Tabpanel With Curved Edges?

 

Any help is appreciated!!

 

 

Thanks,

 

Anbu..

Dear All,

 

I am trying to Insert a custom object record using Visual force "Custom Controller".

 

I defined the picklist's default value as None.

 

If i Save the record with Picklist --None-- values Giving error.

 

Other Picklist values saving correctly.

 

I don't know which value should pass for --None-- value.

 

Any help is appreciated!!

 

 

Thanks,

 

Anbu..

 

 

 

Hi,

 

I am having more contacts in my salesforce account, I want to enble all contacts as customer portal user.

 

Without creating customer portal as Manually, how can i do this in batch?

 

 

 

Regards,

 

Anbu.

  • September 16, 2009
  • Like
  • 0

Dear all,

 

I need to call .net webservice from my salesforce.

 

 

I have a trigger on the Account Object that calls a class. That class then calls another class that makes an HTTP GET request to a .Net Web Service.
 
However I get the error:
 
"Callout from triggers are currently not supported".
 
How can I send data to an external Web Service using Apex code?

 

I don't know where i am missing.

 

Any advice? or any alternate?

 

If  anybody having clear working Samples  kindly send me the code...

 

 

Thanks in advance,

 

Anbu_KS

Hi, 

I am creating .net Sample (Helloworld) Webservices, & converted to  APEX classes.,

Now how to call that that helloworld functions in APEX triggers???

 

My sample code of APEX Class is:

 

//Generated by wsdl2apex

public class Hello {
    public class HelloWorld_element {
        private String[] apex_schema_type_info = new String[]{'http://tempuri.org/','true','false'};
        private String[] field_order_type_info = new String[]{};
    }
    public class ServiceSoap {
        public String endpoint_x = 'http://172.16.10.114/SFSample/SFSample.asmx';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'http://tempuri.org/', 'Hello'};
        public String HelloWorld() {
            Hello.HelloWorld_element request_x = new Hello.HelloWorld_element();
            Hello.HelloWorldResponse_element response_x;
            Map<String, Hello.HelloWorldResponse_element> response_map_x = new Map<String, Hello.HelloWorldResponse_element>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://tempuri.org/HelloWorld',
              'http://tempuri.org/',
              'HelloWorld',
              'http://tempuri.org/',
              'HelloWorldResponse',
              'Hello.HelloWorldResponse_element'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.HelloWorldResult;
        }
    }
    public class HelloWorldResponse_element {
        public String HelloWorldResult;
        private String[] HelloWorldResult_type_info = new String[]{'HelloWorldResult','http://www.w3.org/2001/XMLSchema','string','0','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://tempuri.org/','true','false'};
        private String[] field_order_type_info = new String[]{'HelloWorldResult'};
    }
}

 

 

Now how to call that Helloworld function to APEX triggers???

 

Thanks,

Krishna.

 

Hi To all,

How to call External(.net) webservice from Salesforce???

& how to use that webservices in APEX classes & triggers????

Thanks,

Krishna.