users@glassfish.java.net

Re: WSDL Path "." replaced by "_"

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Thu, 21 Jul 2011 13:45:03 +0200

I've seen this one too, but it's _unlikely_ to be a Maven issue. Just
create an EAR containing an EJB, having a @WebService, and deploy it on
3.1. When you try to open the ?wsdl or the tester from the admin console
it should fail. The project version should contain a '.' (like 1.0-SNAPSHOT)

Peter

On 2011-07-21 13:40, Martin Gainty wrote:
> which plugin are your using and which version?
> what configuration parameters are you supplying to the plugin?
>
> this question is specific to Maven please post your question to
> users_at_maven.apache.org
> please post your pom.xml
> Martin
>
>
>
>
> > To: users_at_glassfish.dev.java.net
> > Subject: WSDL Path "." replaced by "_"
> > From: forums_at_java.net
> > Date: Thu, 21 Jul 2011 02:19:06 -0500
> >
> > Hello I have a WAR-Project in Maven that implements a
> WebServiceClient. The
> > WSDL is packed within the WAR. Now i wanted to pack the WAR in an
> EAR. As a
> > result Maven adds to the Projectname a Versionnumber(ex.
> > TestProject-1.0-SNAPSHOT)
> >
> > When i deploy that procet not to my Glassfish 3.1 Server the creation
> of the
> > webserivce fails because it cant find the wsdl. When i checked the path i
> > noticed that it had replaced the "." in the path with a "_".
> >
> > Example:
> >
> > Real path on the server:
> >
> path_to_domain/applications/test-ear/TestProject-1.0-SNAPSHOT/WEB-INF/wsdl/Test.wsdl
> >
> > Path displayed on the error msg:
> >
> path_to_domain/applications/test-ear/TestProject-1_0-SNAPSHOT/WEB-INF/wsdl/Test.wsdl
> >
> > Any idea what i'm doing wrong?
> >
> >
> > --
> >
> > [Message sent by forum member 'arabesh']
> >
> > View Post: http://forums.java.net/node/824612
> >
> >