Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- exposing public webservice
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
exposing public webservice
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-13-2012 11:05 PM
Hi,
Could anyone guide me how can I expose apex webservice to public. Which will not require any authentication.
Any help will be highly appreciated.
Thank you.
Regards,
Amit Ashtekar
Re: exposing public webservice
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-14-2012 01:13 AM
you need to write a WSDL in APEX using global variable declaration.
create a service like this
global class myService{
webservice static integer Add(integer a, integer b
return a +b;
}
}
extract WSDL and generate Session Id to make a request callout.
please see this link:
http://www.sundoginteractive.com/sunblog/posts/usi
Re: exposing public webservice
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-14-2012 01:49 AM
Create a website
Create a public website
In the user permission for the public website, grant permission to your apex class.
Check also the permission and restriction of user link to a public website for Saleforce.

