I started a question yesterday on how to send soap requests and receive soap responses using java, but when i was referred to some good java code, i found out i needed to download the apache soap implementation.
I have done that, and extracted the files like they say to do in http://xml.apache.org/soap/docs/install/index.html
I'm already confused because in the above document it says, "Your classpath must contain /foo/soap-2_2/soap.jar" -- but soap.jar did not extract to that folder, but to the folder below it, "lib". First I tried putting the real address of the soap.jar file in the classpath, but that didn't work, so i made a copy of soap.jar and put it in the soap-2_2 folder (i'm really winging this as you can see), and that didn't work.
The document also says "add /foo/soap-2_2 to your classpath", which i did.
Here is my current classpath:
When i say that something "didn't work," what i mean is that i'm trying to compile a java document that says "import org.apache.soap.util.xml.*
", and the compiler says "package org.apache.soap.util.xml does not exist" (i'm using java 1.4). Looking in my files, i can see that the package is at:
What I said in my previous question from yesterday (which isn't closed yet) is that I just want to send soap requests and receive soap responses, just simply be a client. My soap messages are already generated, i don't need to parse, or do anything with email... (i don't have a server or tomcat or anything like that) Does it need to be this difficult? Also at the apache installation page, it says I also need mail.jar, activation.jar, and a parser... all in my classpath. Do i need all this stuff? Is that the reason that my compiler says it can't find my org.apache.whatever ? that's unlikely, right? (do i already have these things with java 1.4?)
Thanks for any advice, please post as comments.
Very much appreciative,