You need to sign in to do that
Don't have an account?
chandraYeruvaRe
hosting a java application
hi all,
can u guys please let me know how to host a simple helo world application as a webservice in force ?
thnks
chandra
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
hi all,
can u guys please let me know how to host a simple helo world application as a webservice in force ?
thnks
chandra
you can't run java code server side at salesforce, but you can write web services in apex code, something like
global class HelloWorldService {
static webservice String sayHello(String name) {
return 'hello ' + name;
}
}
This should be covered in the apex language docs.
Hey Simon,
If i write a code using java not apex code how can i deploy my service there..?and how to inkvoe the same ?
because its not a service that salesforce.com offers, if you want to run code on the salesforce.com servers, it has to be written in apex.
Have you seen some of the intro material for the platform? try http://developer.force.com/gettingstarteddevelopers
Hey Simon thnks for immediate help. One more question for u. If i wanna invoke that webservice frm a stand alone client(like java class) what should i do?
thanks
chandra.
Hey Simon,
I have generated the wsdl using generate wsdl and tried using AXIS wsdl2java by suuplying the generated WSDL.But was getting some strange error "[ERROR] No operation found in the portType element". is i am isisng something ?.
Thanks
Chandra.
simon can you please send me the complete webservice code which includes the client invokation(such as axis2).