Search Content


Content Categories



Support Multiple Cookies in Header

salesforce's wsdl generated apex classes seem to not have access to more than 1 cookie in an HTTP header. Please fix this.

I am using apex classes generated by the wsdl2apex functionality in salesforce, to integrate with a web service.
This webservice passes 3 cookies over in the http headers.
Apex provides outputHttpHeaders_x as a variable in the Soap class to access header variables passed over by the web service response, however, it appears that it can't combine the 3 cookies into 1. It seems to discard 2 of the 3.

i got around the problem by doing a pure webservices call using the HTTPRequest object, but that was less than ideal.


Related Salesforce Developers Articles

The End of SaaS


Sometimes, there is nothing much to add. So I present to you - words of wisdom - as could only be articulated by the leader of a stagnating on-premise software vendor emotionally tied to the "cocaine" of endless upgrade fees and maintenance...

Read more about The End of SaaS...

For Bloggers: How to Distribute Your Blog through


If you have a blog, learn how to get your blog listed on the Amazon Kindle Store so that people can subscribe to your blog content and read it on their Kindle wireless e-book...

Read more about For Bloggers: How to Distribute Your Blog through Amazon Kindle Store...