• TommyV
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Okay, I am getting a weird error with a deployed java/tomcat webservice.  I can run this on my machine locally from within Eclipse with no problems whatsoever.  When I compile this into an aar file and deploy it to my tomcat server and then make a request I am getting a crazy error:

 

<faultstring>com.sforce.soap.enterprise.sobject.Opportunity.getTV_Test__c()Ljava/lang/String;</faultstring>

 

This field was just added today, I regened my WSDL and rebuilt may jar using wsc version 28, so everything is the newest version.  Anyway, this is a 10 character text field and I'm setting it to "YES" before updating it via a SOAP connection to SFDC.  If I remove this field from being set on the object before updating, the code runs fine.  If I run this from within Eclipse, the code runs fine.

 

Any help with this would be greatly appreciated.  It could be something simple and silly but I don't understand why it works out of eclipse but gives me this problem from the depolyed webservice.


Thank you

 

Okay, I am getting a weird error with a deployed java/tomcat webservice.  I can run this on my machine locally from within Eclipse with no problems whatsoever.  When I compile this into an aar file and deploy it to my tomcat server and then make a request I am getting a crazy error:

 

<faultstring>com.sforce.soap.enterprise.sobject.Opportunity.getTV_Test__c()Ljava/lang/String;</faultstring>

 

This field was just added today, I regened my WSDL and rebuilt may jar using wsc version 28, so everything is the newest version.  Anyway, this is a 10 character text field and I'm setting it to "YES" before updating it via a SOAP connection to SFDC.  If I remove this field from being set on the object before updating, the code runs fine.  If I run this from within Eclipse, the code runs fine.

 

Any help with this would be greatly appreciated.  It could be something simple and silly but I don't understand why it works out of eclipse but gives me this problem from the depolyed webservice.


Thank you

 

 

So I know that User.UserPreferencesTaskRemindersCheckboxDefault holds the value for it to be defualted as on or off but where is the time value stored.  Without adding a custom field to the user I HAVE to have this.  Any help is greatly appreciated.

 


ThanX! :)

  • January 14, 2013
  • Like
  • 0

So I know that User.UserPreferencesTaskRemindersCheckboxDefault holds the value for it to be defualted as on or off but where is the time value stored.  Without adding a custom field to the user I HAVE to have this.  Any help is greatly appreciated.

 


ThanX! :)

  • January 14, 2013
  • Like
  • 0
For a custom object, is there a built-in action I can specify within a command button to get a "Save & New" button?
 
<apex:commandButton value="Save" action="{!Save}"/>