The following is an example Apache Axis client calling a profile web service. The getDefaultShippingAddress web service is used in this example.

The first step in calling the profile web service using Apache is to generate the client stubs:

java org.apache.axis.wsdl.WSDL2Java

Next, the following code executes the getDefaultShippingAddress web service:

GetDefaultShippingAddressSEIService webService = new
GetDefaultShippingAddressSEI addressStub =
OrderPrice price = pricingStub.calculateOrderPrice(myOrderId, null);

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices