I found a solution to this - I had to add a namespace to a beanmapping I had for an exception that the method could throw. The method itself worked without this, but not the wsdl generation.

Weird.

bye-Ben


From: "Benjamin Drasin" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: ?wsdl links not working on service list page
Date: Wed, 21 Dec 2005 17:46:31 +0000

Jason,

The links come out like:
http://localhost:8081/NG/services/urn:mavent.review.asynchronous.poll?wsdl

Note that I didn't define this URL anywhere - it seems to have been automagically generated by Axis by concatenating the axis servlet path with the urn of the service.

I don't see any error in the console or in the servlet log (I'm using Tomcat 5.0.28)

bye-Ben


From: Jason Cwik <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: ?wsdl links not working on service list page
Date: Wed, 21 Dec 2005 10:00:16 -0600

I have three AxisServlet mappings:

  <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>/servlet/AxisServlet</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>*.jws</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>


What's the URL that you're getting 404'd on?

On 12/20/05, Benjamin Drasin <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> Please excuse me if this is covered somewhere; I looked in the
> documentation, in the mail archive, and on the wiki and could not find
> anything promising.
>
> I have written some web services (which are working). Here is my web.xml:
>
> ...
> ...
>     <servlet>
>         <servlet-name>AxisServlet</servlet-name>
>         <display-name>Apache-Axis Servlet</display-name>
>         <servlet-class>
>             org.apache.axis.transport.http.AxisServlet
>         </servlet-class>
>     </servlet>
>
>     <servlet-mapping>
>       <servlet-name>AxisServlet</servlet-name>
>       <url-pattern>/services/*</url-pattern>
>     </servlet-mapping>
> ...
> ...
>
> I then added the file server-config.wsdd with my web services:
>
> ...
> <service name="urn:mavent.review.asynchronous.poll" provider="java:RPC">
>   <parameter name="allowedMethods" value="reviewDocument"/>
>   <parameter name="className"
> value="com.inventigo.mavent.comply.expert.portal.web.service.AsyncReview
> "/>
> </service>
> <service name="urn:mavent.review.view" provider="java:RPC">
>   <parameter name="allowedMethods" value="getReviewResult"/>
>   <parameter name="className"
> value="
> com.inventigo.mavent.comply.expert.portal.web.service.GetReviewResult
> "/>
> </service>
> ...
> ...
>
> The URL http://localhost/app/services now lists my web services (and the
> web services work with the client I wrote), but the links lead to 404
> error
> pages - is there another step I need to publish the wsdl files or
> something?
>
> Thanks in advance
>
> Bye-Ben
>
>
>




Reply via email to