Miscellaneous Java Code Samples

These code samples complement the WSC, Apache Axis and JAX-WS Java Integration techniques documented here.

Creating an Outbound Messaging Notification Service with Eclipse 3.2: Describes all the steps to create a Force.com outbound messaging service with Apache and Eclipse.

Migrating from Axis 1.1 to Axis 1.2: Potential 'gotchas' for this migration.

Compression with Axis 1.3: Using Apache Axis 1.3 compression with the SOAP API.


Enterprise WSDL Samples 9.0: Sample code that demonstrates accessing all methods of the API using the Enterprise (strongly typed) WSDL and Java

Java Partner WSDL Samples 10.0

Partner WSDL Samples 9.0: Sample code to that demonstrates accessing all methods of the API using the Partner (weakly typed) WSDL and Java

JSP Samples 9.0: This sample demonstrates two methods of using the API from an externally available web server. The sample requires that you have Jakarta Tomcat 5.5 and Apache Axis 1.4 installed in your environment.

Send_Emails_Via_Eclipse Send Email Example 9.0: This example demonstrates two ways of sending emails using the API: Single Emails and Mass Emails. The sample requires that you have Jakarta Tomcat 5.5.20 and Apache Axis 1.4 installed in your environment.

Two Relationship Queries with Java

Java code