function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TommyVTommyV 

Error from deployed Java webservice : Ljava/lang/String;

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