• Ranjeet
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hello,

 

I need to change Account__c relatioship field on my custom object from Lookup to Master-Detail Relationship Data Type. But the radio button selection for Master-Detail Relationship Data Type in "Choose the field type screen" is disabled. Why is the button disabled? What do I need to do to enable the radio button in order to convert from Lookup to Master-Detail field?

 

Thanks in advance!

~S

 

Hi all,

 

I want display warning message on filed level [Requirement: if date field is less then current date show warning message  on that filed and allow user to enter the data].

 

Please help me on this issue.

 

Regards,

Sandy

 

I have a webservice in salesforce and need to call it from java. I successfully established connection with the webservice and got the sessionId. Now i want to call my webservice method "import" but getting the following exception:
exception iscom.sforce.ws.SoapFaultException: No operation available for request {http://soap.sforce.com/schemas/class/Billing_Integration}Import
	at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:202)
	at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:146)
	at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:98)
	at com.sforce.soap.Billing_Integration.SoapConnection.Import(SoapConnection.java:1)
	at TestClient.doLogin(TestClient.java:61)
	at TestClient.main(TestClient.java:24)

 

The sample java code is:
EnterpriseConnection connection;
ConnectorConfig config = new ConnectorConfig();
config.setUsername(userName);
config.setPassword(pwd);
config.setAuthEndpoint("https://cs1-api.salesforce.com/services/Soap/c/21.0");
try {
	connection = new EnterpriseConnection(config);
      GetUserInfoResult userInfo = connection.getUserInfo();
      com.sforce.soap.enterprise.SessionHeader_element sh = connection.getSessionHeader();
    	String sessionId = sh.getSessionId();

    	String customerString = "1001,Connect Telecom,1.10015127,106733,16 Sep 07,a,16 Sep 07,1, Cents,Postpaid,HHT,89882059806052600000,901059874133774,1621287100,,,GL0095,,,,,,,,,,4846,5385,63440332,91654986,I,GL0095";
     SoapConnection connection1 = Connector.newConnection(config);
     connection1.setSessionHeader(sessionId);
     String s = connection1.Import(customerString,1);

 

The code line which is calling the webservice method is:
String s = connection1.Import(customerString,1);
I was able to query and able to fetch the records from the object. But I couldnt call webservice method "Import".
Any ideas?