You need to sign in to do that
Don't have an account?
Where does the BulkConnection class come from?
I also posted this under the REST API Integration Discussion board, but not sure if that's where it belongs, so here we go:
I'm trying to develop a solution in Java that uses the Bulk API to import objects into SalesForce and I'm following the Bulk API developers guide (located here: http://www.salesforce.com/us/developer/docs/api_asynch/index.htm).
In the example, references are made to a BulkConnection class. I can't get this class to resolve...
I'm using the wsc-20.jar and the partner.jar generated from our Partner WSDL, but I can't find BulkConnection anywhere.
Any ideas? Thanks in advance!
RestConnection class in wsc-20 is renamed to BulkConnection in wsc-21. If you are using wsc-20, then please use RestConnection class instead.
WSC will be updated to version 21 after the next major release.
HTHs,
Thanks! I'll try RestConnection until I can get my hands on the latest copy of WSC...
So you're saying I need to wait until the next major release before I can get a copy of wsc-21.jar?
Are there any differences between the two classes besides the name?
Thanks again.
Yes, you can use RestConnection till you get the latest WSC. It is just a rename.
Thanks,