function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi
We are trying to use WebService callout, and need a working example.
I've tried working through the example 'Apex Web Services and Callouts' at http://wiki.developerforce.com/page/Apex_Web_Services_and_Callouts but can't get it to work - I think it may be because we don't have an Amazon S3 account - when I key http://s3.amazonaws.com/doc/2006-03-01/ I get:
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>D0553BA616766C71</RequestId><HostId>It4ZN5WnKCGiqdT7ryrP28BPOWWlsLA/N4l4PWFPtimNOTea+CuPOBY1/KjLkw4G</HostId></Error>
This means we can't get the WSDL to generate the apex method
Does anybody have a simple HelloWorld type example that we can work through?
Thanks!
Pablo
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts_wsdl2apex.htm
Check this out .Thanks .
Thanks for your reply.
The problem with this example (http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts...) is that the webservice is uses is:
http://s3.amazonaws.com/doc/2006-03-01/
But this webservice URL doesn't work, so the example is pretty useless...
We've managed to get the strikeiron webservice working.
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts_wsdl2apex.htm is very usefull, but it misses a couple of steps.
1st it's not clear how you get the strikeiron WSDL from this url:http://ws.strikeiron.com/relauto/iplookup?WSDL
Next, it's not explained that you can regiter with strikeiron, and then get a username and password that you can drop in the code example.
Thirdly the code snippets for the stub are incomplete - there are some other classes and methods required.
We are now stuggling with connecting to our own web service, but I'm going to raise another post with details.
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts_wsdl2apex.htm
Check this out .Thanks .
Hi
Thanks for your reply.
The problem with this example (http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts...) is that the webservice is uses is:
http://s3.amazonaws.com/doc/2006-03-01/
But this webservice URL doesn't work, so the example is pretty useless...
Pablo
We've managed to get the strikeiron webservice working.
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_callouts_wsdl2apex.htm is very usefull, but it misses a couple of steps.
1st it's not clear how you get the strikeiron WSDL from this url:http://ws.strikeiron.com/relauto/iplookup?WSDL
Next, it's not explained that you can regiter with strikeiron, and then get a username and password that you can drop in the code example.
Thirdly the code snippets for the stub are incomplete - there are some other classes and methods required.
We are now stuggling with connecting to our own web service, but I'm going to raise another post with details.
Pablo