On Thu, Sep 23, 2010 at 1:57 AM, Michael <[email protected]> wrote:
> I restarted (I mean LOGGED OUT), I didn't wrote it but all was the
> same (not working) EXCEPT I got the echo $CLASSPATH giving me
> :/home/administrateur/workspace/CanalBlog/axis2/bin
>
That doesn't look quite right. I don't think you should have a : at the
beginning of that. And unless the axis2/bin directory has JAR files in it,
that's not what you want to have in your classpath. Typically you'd point to
a /lib directory, and you may even have to point to specific JAR files. The
axis2/bin directory is more likely something you'd add to your *PATH* (not
your CLASSPATH) if you want to be able to call axis2 shell commands without
specifying the directory.
>
> Nope.
> Not from a terminal.
> Mainly I'm trying to make it work through OpenBD, soapUI.
>
Well SoapUI is essentially from a terminal in the sense that it doesn't run
through Tomcat. That was my real question. SoapUI will use your system's
Java settings, while Tomcat uses its own.
>
> OK, so when I run the wsdl2java command line I need to have my baschrc
> file changed.
>
Right, because that will use your system settings.
> This is what google requires in the use of JAVA to access their wsdl.
> As OpenBD runs through JAVA, should I do it too ?
>
OpenBD runs through *Tomcat*. Typically this has nothing to do with your
system settings, *particularly* where your classpath is concerned. Tomcat
may use your JAVA_HOME environment variable if you don't set one explicitly
for Tomcat, but I'm pretty sure it won't use your CLASSPATH environment
variable. I'm really trying to get across the point that you shouldn't think
of things like SoapUI, wsdl2java, etc. as having anything whatsoever to do
with the Tomcat side of things.
>
> And when I use tomcat, I must do it in my tomcat starting file is that it ?
>
> I added the
> CLASSPATH=${CLASSPATH}:/home/administrateur/workspace/CanalBlog/axis2/bin:.
> export CLASSPATH
>
That's not how you set a classpath in Tomcat, and the axis2 bin directory
wouldn't be something you put in your classpath anyway. You can't point
Tomcat to axis2 and expect OpenBD to pick that up--doesn't work that way.
And as Alan said the latest nightly of OpenBD has axis2 in it already, so if
you're still thinking that the issues with Google are due to OpenBD not
having axis2, I don't think that's the case.
If you have *JAR files* that you want Tomcat to make available to all your
webapps, you'd put those in Tomcat's top level lib directory
({TOMCAT_HOME}/lib). If you have JAR files you want in OpenBD's classpath,
you'd put that in your OpenBD webapp's WEB-INF/lib directory.
I'm still very suspicious of the whole thing since it doesn't even work in
SoapUI, which is a pretty standard way to test web services. It sounds like
you can't get it working in any other language either. Does Google not have
decent documentation on any of this? Have you tried a really simple pure
Java example?
And still and again.... thank you for helping me :)
>
Glad to do it. Not sure we're really getting anywhere but hopefully you're
learning a few tips as we work through this.
It just sounds very fishy to me that you can't get it working anywhere at
all, so we must be missing something basic.
--
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward
Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en