Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compiling java file to access web service  RSS feed

 
riya s
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to web services and this is my first program...
I am compiling java file which has import statement like:
import org.apache.soap.util.xml.*;
import org.apache.soap.*;
import org.apache.soap.rpc.*;
It says ----- package org.apache.soap.util.xml does not exist as one of errors..
I have a folder that I named soap myself and I have activation.jar,serces.jar,mail.jar,soap.jar in it.
I added c:\soap in my classpath and this was supposed to be the quickstart way to try an example out...
but it gives me compilation errors... what should I do ?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to download Apache SOAP from ws.apache.org and include the Apache SOAP .jar files in your classpath while compiling.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!