+ Start a Discussion
SurpriseSurprise 

Apex webservice

Hi All,

 

While writing an apex web service,do I need to worry about soap envelope,header ,body and more importantly Payload  or all this gets created in background by Apex and I should just focus on writing a web service using apex.

 

Will it be a good idea to use external id to query records in salesforce.External id will belong to some other sytem not to salesforce.

 

Thanks,

Surprise

ryanjuptonryanjupton

Suprise, all that is handled for you when you use a tool like wsc (on the Java) side to build the client stubs. You won't have to explicitly set or manage any of the componenets used in the incovation of ans transport of data from your Apex web service.

SurpriseSurprise

Hi ryanjupton,

 

Thanks a lot for your response.

 

So Bottom line is write webservice in apex as one would  write other programs in apex and the rest will be taken care by the other side such as stub written in java using WSC.Can u please clarify?

 

Thanks,

Surprise