If you have used Axis, you should be familiar with the wsdl2java.exe application, which will generate proxy classes for any web service. The command is typically:
java org.apache.axis.wssdl.WSDL2Java –U <your user name> -P <your password> https://staging.common.virtualearth.net/find-30/common.asmx
This will generate proxy files for:
- CommonService.java
- CommonServiceSoap.java
- CommonServiceSoapStub.java
- CommonServiceSoapSkeleton.java
- TokenSpecification.java
You will need to compile these files and include them in the classpath for your servlet code.