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
goabhigogoabhigo 

Calling apex class method from Java

Ok, finally I am giving up on search and posting the question directly.

 

My scenario: I have written a web service method in apex. My external system is basically built on Java. On saving a record, in external system, I need to call the web service method and pass the parameters. My web service method will process the rest.

 

By referring to http://wiki.developerforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector I was able to query and update succesfully using Enterprise WSDL. But there is no mention about custom web services in that doc.

 

I have lost touch with Java since I am working only on force.com for past 2 years. I am totally confused with regard to selecting WSC or Axis2 etc.

 

Can anybody help me in achieving this task of calling custom web service method from Java?

 

goabhigogoabhigo

There are many posts in discussion boards. None of them give step by step methods to create methods from custom WSDL.