[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Error in calling FedEx Address Validation Web Service on oracle apps istore module

Asked by HIPL in Blackberry Operating System, Web Services, Java Programming Language

Tags: FedEx Address Validation Web Service, Fedex, FedEx web Service

Hi,
I have to call the FedEx Address Validation Web service using java technology. I have downloaded the java sample code provided on the FedEx site. I have taken the following steps for running the code on windows platform.

1- Installed the jdk framework and set path in environment variable.
2- Downloaded all the following jar files as mentioned in ".classpath" file -
"      activation.jar
"      axis.jar
"      axis-ant.jar
"      commons-discovery-0.2.jar
"      commons-logging-1.0.4.jar
"      jaxrpc.jar
"      og4j-1.2.8.jar
"      mailapi.jar
"      saaj.jar
"      wsdl4j-1.5.1.jar
Set the classpath in the environment variable for all the jar files
3- Created "Axis_Home" environment variable and made the path setting as mentioned in .classpath file.

4- Compiled the "AddressValidationWebServiceClient.java" file after setting the test account number, meter number, key and password provided by the FedEx site after registration. This java file is successfully complied without any error. After running this compiled class I get the response from the web service.

It worked successfully on windows platform but I m getting error while running the code on Linux server.

I have made the following setting in Linux Environment.

"      All the sample code files are in the $JAVA_TOP location for e.g. /crp/applmgr/common/java/oracle/apps/fnd/cp.
"      Set the CLASSPATH of all the mentioned JAR files in .profile file.
"      Created the AXIS_HOME environment variable which point to the jar files location.
"      Compiled the "AddressValidationWebServiceClient.java" file after setting the test account number, meter number, key and password provided by the FedEx site after registration. This java file is successfully complied without any error.
"      Created a Java Concurrent program on Application Object Library (AOL). After executing the this concurrent program I got the following java exception-


java.lang.NoClassDefFoundError: org/apache/axis/client/Service
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

Please help me where i m missing the steps..
Any help would be appriciated.

Thanks


 
Related Solutions
Keywords: Error in calling FedEx Address Validatio…
 
Loading Advertisement...
 
[+][-]11/04/09 06:36 PM, ID: 25746284Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 10:17 PM, ID: 25756962Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625