axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Young" <m...@kamiak.com>
Subject Re: Sucess at getting <URL>?wsdl to work!
Date Tue, 16 Oct 2001 17:18:49 GMT
Andre:

OK, try adding the four axis-supplied .jar files that you find in
WEB-INF/lib, plus your xml parser .jar (e.g. xerces.jar) to your Java
servlet engine's (in my case Tomcat) CLASSPATH.  I also had to add to the
CLASSPATH  the path to my WEB-INF/classes directory.  It seems that once
axis can figure out what web service to invoke, it needs to have the
service's classes in its CLASSPATH.

If I were you I would not start with the Stock example -- the user/password
stuff just adds one more thing to figure out, and I'm not so sure that the
error messages you get back about bad user id/password always mean that is
the problem.  Instead, I started with example 3 from the userguide samples.
It just echos back what you send it.  You can read about it in the user
guide.  Once you get this simple example working, you can try the Stock
example, and be confident that the basic mechanism works.

Good luck,

Mark Young
mark@kamiak.com


----- Original Message -----
From: "Andre Juffer" <ajuffer@sun3.oulu.fi>
To: <axis-user@xml.apache.org>
Sent: Tuesday, October 16, 2001 12:46 AM
Subject: Re: Sucess at getting <URL>?wsdl to work!


> Hi Mark,
>
>
> Mark Young wrote:
>
> > Andre:
> >
> > Just to save Glen, Steven, or whoever the trouble, Glen answered this
> > question for me a while back.
> >
> > The default server-config.xml file is in the axis.jar, and when axis
starts
> > it automagically detects if there  is no server-config.xml in WEB-INF,
and
> > copies the default one out of the jar file to WEB-INF.
> >
> > By the way, if you have been running axis and you don't see that file, I
> > believe you have some other problem.  In my case, it was that I need to
add
> > several .jar files to my CLASSPATH.  I'll gladly tell you which ones if
> > you'd like.
>
>
>
> Indeed I don't see this file, so apparently I have a setup problem. It
> appears that I can run the 'stock' example, up to the point that it
> tries to connect to the service. Deployment seems to work, but the user
> authentication did not work at all. Axis can find the appropriate
> classes, else there would be other error messages, I would
> suspect.Therefore, I am not sure if this is due to missing classes in
> the CLASSPATH. But still it is a good idea to see which classes you put
> explicitly in your CLASSPATH.
>
> Thanks for your response,
> Andre.
>
>
> >
> > Regards,
> >
> > Mark Young
> > mark@kamiak.com
> >
> >
> > ----- Original Message -----
> > From: "Andre Juffer" <ajuffer@sun3.oulu.fi>
> > To: <axis-user@xml.apache.org>
> > Sent: Monday, October 15, 2001 1:02 AM
> > Subject: Re: Sucess at getting <URL>?wsdl to work!
> >
> >
> >
> >>Hi Steven,
> >>
> >>just wondering. The file ~/WEB_INF/server-config.xml is always included
> >>in the Axis distribution? It appears that I don't have that file. Or is
> >>required only to handle wsld files?
> >>
> >>Andre.
> >>
> >>
> >>
> >>
> >>Steven Punte wrote:
> >>
> >>
> >>>Dear Axis user group:
> >>>
> >>>   After much trial and error (being new to this package),
> >>>   I finally was able to retrive the wsld file.
> >>>
> >>>   If you are having problems:
> >>>
> >>>   1)  Look in file ~/WEB_INF/server-config.xml
> >>>
> >>>   2)  Find block <service> that matches your service.
> >>>
> >>>   3)  <service> block will have attribute, "pivot",
> >>>       and also "name."
> >>>
> >>>   4)  In my case name is "urn:yada-yada-yada"
> >>>
> >>>   5)  In your web browser, then use URL:
> >>>
http://localhost/axis/servlet/AxisServlet/urn:yada-yada-yada?wsdl
> >>>
> >>>    Works for me!  :-)
> >>>
> >>>       </steve punte>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>_______________________________________________________
> >>>Send a cool gift with your E-Card
> >>>http://www.bluemountain.com/giftcenter/
> >>>
> >>>
> >>>
> >>>
> >>
> >>--
> >>Andre H. Juffer              | Phone: +358-8-553 1683
> >>The Biocenter and            | Fax: +358-8-553-1141
> >>     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
> >>University of Oulu, Finland  | WWW:
> >>
> > http://www.biochem.oulu.fi/Biocomputing/
> >
> >
>
>
> --
> Andre H. Juffer              | Phone: +358-8-553 1683
> The Biocenter and            | Fax: +358-8-553-1141
>      the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
> University of Oulu, Finland  | WWW:
http://www.biochem.oulu.fi/Biocomputing/
>


Mime
View raw message