Good Morning Jackie-

In your /WEB-INF/web.xml Please display your url-mapping for the servlet-mapping you have for servlet-name of AxisServlet for example my url-pattern for servlet-name of AxisServlet specifies only the services folder e.g.
  <servlet-mapping>
       <servlet-name>AxisServlet</servlet-name>
       <url-pattern>/services/*</url-pattern>
   </servlet-mapping>

Thanks
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Jacky Rymasz-Maillot" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2007 9:18 AM
Subject: RE: [AXIS2] How to deploy service without .aar


Thank you :)
Just another question concerning your response:
What should be "MyServices"? Can it be anything? Or is it defined somewhere?

Jack

-----Message d'origine-----
De : Davanum Srinivas [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 13 avril 2007 14:49
À : [EMAIL PROTECTED]
Cc : [EMAIL PROTECTED]
Objet : Re: [AXIS2] How to deploy service without .aar

Here's how it should be if you have entries for all 3 services in the
same services.xml.

WEB-INF
  |
  +-- services
        |
        +-- MyServices
                |
                +-- META-INF
                       |
                       + services.xml
                       |
                       + ServiceName1.wsdl
                       |
                       + ServiceName2.wsdl
                       |
                       + ServiceName3.wsdl



On 4/13/07, Jacky Rymasz-Maillot <[EMAIL PROTECTED]> wrote:
I have a question about the same topic but concerning multiple services.
I don't want to use .aar and I managed to generate Java classes for all my services with Axis2 1.2RC.
It generated me one services.xml and several .wsdl (one per service)

What should look like the repository tree in services?
Should it look like some thing like that?:

WEB-INF
  |______services
                |_____ services.xml
| |_____ServiceName1
                            |_____ META-INF
|_____ ServiceName1.wsdl |_____ServiceName2
                            |_____ META-INF
                                           |_____ ServiceName2.wsdl
                |_____ServiceName3
                            |_____ META-INF
                                           |_____ ServiceName3.wsdl
                |_____etc....

Thanks for your help to all... all is very useful ;)

Jack


-----Message d'origine-----
De: Masin, Valerie [mailto:[EMAIL PROTECTED]
Envoyé: mercredi 11 avril 2007 23:07
À: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet: RE: [AXIS2] How to deploy service without .aar

Voila, you have answered my question. I didn't realize I needed to
create a directory with my servicename in the services directory with
the meta-inf under it. Thanks

-----Original Message-----
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 4:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [AXIS2] How to deploy service without .aar

I did this today. I didn't use an aar. Instead I put all the classes in
WEB-INF/classes, including schemaorg_apache_xmlbeans from resources. The
only thing I have in WEB-INF/services/ServiceName is:

META-INF/
Service.wsdl
services.xml

I tried putting some of the classes in Axis2 and the rest in
WEB-INF/classes but the classloader hierarchy (Axis2 = URLClassLoader,
Tomcat=WebappClassLoader) caused real problems along the lines you have
reported.

Put ALL classes in WEB-INF/classes. Message receivers, service skeletons
etc. and all clases from the resources directory.

hope this helps,

Alistair


--
mov eax,1
mov ebx,0
int 80h

> Hello,
> I need to have some of my .class files live in the web-inf/classes
> directory since other non-axis apps use them. I would prefer to not
> have to put some of them there and the rest in the .aar so I would
> like to put them all in web-inf/classes. I tried not using the .aar at

> all but couldn't figure out how to let axis know what service was
supported.
> Then I tried putting only the manifest and services.xml in the .aar
> and having the rest be in web-inf/classes. When I do this the
> webserver complains on startup that it can't find my MessageReceiver
> for each service in services.xml. (Strangely, though, despite these
> errors I am able to access my service.)
>
> What is the right way to deploy an axis2 app without an .aar.
> And while I am on the subject, since there are a lot of axis files
> that need to be deployed into one's webapp, what is the best approach
> to combine one's own files with the axis files into a single war?
> Should I just add my files to the axis war?
>
> Invalid service  docHarborWebServices.aar due to Processing Operations

> Modules ClassNotFoundException Error in loading message receiver
> com.docharbor.webservices.DocHarborServicesMessageReceiverInOut;
> nested exception is:
>  java.lang.ClassNotFoundException:
> com.docharbor.webservices.DocHarborServicesMessageReceiverInOut;
>
>
> Thanks, Valerie
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to