Luciano,
that's very interesting. I wouldn't call my WebService simple (More than
twenty complex types) and wondered why schema validation didn't work. Now I
know. I did a generate-wsdl-on-the-fly and the information regarding the schema
is indeed missing.
How do you do the deployment of a wsdl? How do you tell axis about it?
Mariano
<[EMAIL PROTECTED]>
25.02.2004 19:10
Bitte antworten an [EMAIL PROTECTED]
An: <[EMAIL PROTECTED]>
Kopie: (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
Thema: RE: Antwort: RE: Antwort: RE: Antwort: Re: Antwort: Re: Antwort: newbie:
help with generating wsdl thru url
Mariano,
actually is my mistake. Axis can generate wsdl on the fly when the wsdd is not
very complex (ie. complex datatypes or DataHandler).
In general I prefer to copy my own wsdl to Axis. In case of simple webservices
it is ok to let Axis generate the wsdl.
Luciano
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday 25 February 2004 19:05
To: [EMAIL PROTECTED]
Subject: Antwort: RE: Antwort: RE: Antwort: Re: Antwort: Re: Antwort:
newbie: help with generating wsdl thru url
Luciano,
� well, I built a wsdl by hand, generate the classes and deploy the classes plus
the wsdd, but not the wsdl. Axis does then generate the wsdl on the fly if
invoked with servicename?wsdl.
� At least that is the way it works for me. I am positive about not exporting my
wsdl to axis, just the classes and the wsdd. And in my non-expert opinion that
has all the information needed, does it?
� But as you are so firm on your point of view it makes me think if my other
problem (see "How to turn on validation? Axis 1.1") is related to this. With my
approach the schema information is lost.
Cheers,
Mariano
<[EMAIL PROTECTED]>
25.02.2004 18:57
Bitte antworten an [EMAIL PROTECTED]
An:���� <[EMAIL PROTECTED]>
Kopie:� (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
Thema:� RE: Antwort: RE: Antwort: Re: Antwort: Re: Antwort: newbie: help with
������� generating wsdl thru url
Mariano,
the wsdl of a web service is not generated when you deploy a webservice using a
simple wsdd.
Check if you are not copying the wsdl when you deploy your application.
Luciano
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday 25 February 2004 18:55
To: [EMAIL PROTECTED]
Subject: Antwort: RE: Antwort: Re: Antwort: Re: Antwort: newbie: help
with generating wsdl thru url
My axis does ;-) xyz?wsdl returns the generated wsdl....
That is is sync with what the documentation says.
<[EMAIL PROTECTED]>
25.02.2004 18:50
Bitte antworten an [EMAIL PROTECTED]
An: <[EMAIL PROTECTED]>
Kopie: (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
Thema: RE: Antwort: Re: Antwort: Re: Antwort: newbie: help with generating wsdl
thru url
No, axis does not generate a wsdl automatically. Once you have
written/generated your wsdl
you have to copy it to Tomcat along with your application.
Luciano
-----Original Message-----
From: Chiang Seng Chang [mailto:[EMAIL PROTECTED]
Sent: Wednesday 25 February 2004 18:47
To: [EMAIL PROTECTED]
Subject: Re: Antwort: Re: Antwort: Re: Antwort: newbie: help with generating
wsdl thru url
aha !
that's one of my question, isn't wsdl generated automagically ?
i grep'd the axis webapp dir and cant seems to find and precoded wsdl, so i
assume it's automagic.
-cs
----- Original Message -----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:44 PM
Subject: RE: Antwort: Re: Antwort: Re: Antwort: newbie: help with generating
wsdl thru url
Are you sure that the wsdl exists on the webserver?
Luciano
-----Original Message-----
From: Chiang Seng Chang [mailto:[EMAIL PROTECTED]
Sent: Wednesday 25 February 2004 18:43
To: [EMAIL PROTECTED]
Subject: Re: Antwort: Re: Antwort: Re: Antwort: newbie: help with
generating wsdl thru url
i am using jrun31 with axis 1.1
happyaxis found all required lib, only complains about the optional security
lib and recomending xerces2
the services seems to run fine, i get the envelope xml outputs.
the "only" thing is that it cant produce wsdl via url :-(
-cs
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 12:40 PM
Subject: Antwort: Re: Antwort: Re: Antwort: newbie: help with generating
wsdl thru url
> ok, then forget my other mail.
>
> I have no clue!
>
> That shouldn't put you off though, as I am a newbie myself.
>
> One last thing... Did you run http://localhost/happyaxis.jsp? All required
> libraries are there?
>
> Cheers,
> Mariano
>
>
>
>
> "Chiang Seng Chang" <[EMAIL PROTECTED]>
> 25.02.2004 18:37
>
> Bitte antworten an [EMAIL PROTECTED]
> An:��� <[EMAIL PROTECTED]>
> Kopie: (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
> Thema:� Re: Antwort: Re: Antwort: newbie: help with generating wsdl thru
url
>
>
> hi,
>
> http://localhost/services looks fine:
>
>� And now... Some Services
>�� AdminService (wsdl)
>����� AdminService
>��� Version (wsdl)
>����� getVersion
>��� FooService (wsdl)
>����� foo
>
> -cs
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 25, 2004 12:33 PM
> Subject: Antwort: Re: Antwort: newbie: help with generating wsdl thru url
>
>
> > Hi,
> >
> >�� I am newbie myself and am not able to tell you what the log output
> means.
> >
> >� Anyway did you try to enter http://localhost/services/?
> >
> >�� It should return a list of deployed services, reflecting the entries
in
> > WEB-INF/server-config.wsdd.
> >
> >� > do I have to "hand-code" the wsdl and supply in the wsdd ?
> >� It depends. Did you have a look at the user's guide?
> >
> > Cheers,
> > Mariano
> >
> >
> >
> >
> >
> > "Chiang Seng Chang" <[EMAIL PROTECTED]>
> > 25.02.2004 18:27
> >
> > Bitte antworten an [EMAIL PROTECTED]
> > An:��� <[EMAIL PROTECTED]>
> > Kopie:� (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
> > Thema:� Re: Antwort: newbie: help with generating wsdl thru url
> >
> >
> > hi,
> >
> > source looks "empty" ?
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=Content-Type content="text/html;
> > charset=iso-8859-1"></HEAD>
> > <BODY><PRE></PRE></BODY></HTML>
> >
> > do I have to "hand-code" the wsdl and supply in the wsdd ?
> >
> > rgds.
> >
> > -cs
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 25, 2004 12:24 PM
> > Subject: Antwort: newbie: help with generating wsdl thru url
> >
> >
> > > Hi,
> > >
> > >�� are you using IE? Did you try to look at the source of the page?
> > >
> > > Cheers,
> > > Mariano
> > >
> > >
> > >
> > >
> > > "Chiang Seng Chang" <[EMAIL PROTECTED]>
> > > 25.02.2004 18:17
> > >
> > > Bitte antworten an [EMAIL PROTECTED]
> > > An:��� <[EMAIL PROTECTED]>
> > > Kopie:� (Blindkopie: Mariano Kamp/FEA_EXT/Essen/Arcor)
> > > Thema:� newbie: help with generating wsdl thru url
> > >
> > >
> > > Hi,
> > >
> > > Are there any "usual suspects" why
> > http://localhost/services/FooService?wsdl
> > > produces a blank page.
> > >
> > > I don't see any exception in the log:
> > >
> > >� DEBUG jcp-8 http.AxisServlet:218 - Enter: doGet()
> > >� DEBUG jcp-8 http.AxisServlet:1044 -
> > > MessageContext:[EMAIL PROTECTED]
> > >� DEBUG jcp-8 http.AxisServlet:1045 - HEADER_CONTENT_TYPE:null� DEBUG
> jcp-8
> > > http.AxisServlet:1047 - HEADER_CONTENT_LOCATION:null� DEBUG jcp-8
> > > http.AxisServlet:1049 - Constants.MC_HOME_DIR:/foo/webapp DEBUG jcp-8
> > > http.AxisServlet:1050 - Constants.MC_RELATIVE_PATH:/services
> > >� DEBUG jcp-8 http.AxisServlet:1052 -
> > > HTTPConstants.MC_HTTP_SERVLETLOCATION:/foo/webapp/WEB-INF
> > >� DEBUG jcp-8 http.AxisServlet:1053
> > > HTTPConstants.MC_HTTP_SERVLETPATHINFO:/FooService
> > >� DEBUG jcp-8 http.AxisServlet:1055 -
> > HTTPConstants.HEADER_AUTHORIZATION:null
> > >� DEBUG jcp-8 http.AxisServlet:1057
Constants.MC_REMOTE_ADDR:xx.xx.x.xx
> > >� DEBUG jcp-8 http.AxisServlet:1058 - configPath:/foo/webapp/WEB-INF
> DEBUG
> > > jcp-8 server.AxisServer:377 - Enter: AxisServer::generateWSDL� DEBUG
> jcp-8
> > > i18n.ProjectResourceBundle:111
> > > org.apache.axis.i18n.resource::handleGetObject(defaultLogic00)
> > >� DEBUG jcp-8 server.AxisServer:430 - Calling default logic in
AxisServer
> > > DEBUG jcp-8 i18n.ProjectResourceBundle:111 -
> > > org.apache.axis.i18n.resource::handleGetObject(transport01)
> > >� DEBUG jcp-8 server.AxisServer:455 - AxisServer.generateWSDL:
Transport
> =
> > > 'http'� DEBUG jcp-8 axis.SimpleChain:133 - Enter:
> > SimpleChain::generateWSDL
> > > DEBUG jcp-8 http.URLMapper:77 - Enter: URLMapper::invoke� DEBUG jcp-8
> > > axis.MessageContext:688 - MessageContext: setTargetService(FooService)
> > > DEBUG jcp-8 axis.MessageContext:718 - MessageContext:
> > > setServiceHandler([EMAIL PROTECTED])
> > >� DEBUG jcp-8 http.URLMapper:91 - Exit: URLMapper::invoke
> > >� DEBUG jcp-8 axis.SimpleChain:140 - Exit: SimpleChain::generateWSDL
> DEBUG
> > > jcp-8 axis.SimpleChain:133 - Enter: SimpleChain::generateWSDL� DEBUG
> jcp-8
> > > handlers.JWSHandler:338 - Exit: JWSHandler::invoke� DEBUG jcp-8
> > > handlers.JWSHandler:338 - Exit: JWSHandler::invoke� DEBUG jcp-8
> > > axis.SimpleChain:140 - Exit: SimpleChain::generateWSDL� DEBUG jcp-8
> > > axis.SimpleChain:133 - Enter: SimpleChain::generateWSDL� DEBUG jcp-8
> > > java.JavaProvider:373 - Enter: JavaProvider::generateWSDL
> > > ([EMAIL PROTECTED])
> > >� DEBUG jcp-8 http.AxisServlet:344 - Exit: doGet()
> > >
> > > Thanx.
> > >
> > > -cs
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
Any e-mail message from the European Central Bank (ECB) is sent in good faith
but shall neither be binding nor construed as constituting a commitment by the
ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any
unauthorised disclosure, use or dissemination, either in whole or in part, is
prohibited.
If you have received this e-mail in error, please notify the sender immediately
via e-mail and delete this e-mail from your system.
Any e-mail message from the European Central Bank (ECB) is sent in good faith
but shall neither be binding nor construed as constituting a commitment by the
ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any
unauthorised disclosure, use or dissemination, either in whole or in part, is
prohibited.
If you have received this e-mail in error, please notify the sender immediately
via e-mail and delete this e-mail from your system.
Any e-mail message from the European Central Bank (ECB) is sent in good faith
but shall neither be binding nor construed as constituting a commitment by the
ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any
unauthorised disclosure, use or dissemination, either in whole or in part, is
prohibited.
If you have received this e-mail in error, please notify the sender immediately
via e-mail and delete this e-mail from your system.