Hi again,
Juste to be more precise (It's been a long time I'm working on this issue, 
I've been quite quick in my first email):
my web.xml defines my servlet, extending AxisServlet:
<servlet-name>FSAServlet</servlet-name>
and the corresponding mapping:
<servlet-mapping>
                <servlet-name>FSAServlet</servlet-name>
                <url-pattern>/serverAuthent/*</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
        <servlet-name>FSAServlet</servlet-name>
        <url-pattern>/services/*</url-pattern>
    </servlet-mapping>
 
         <servlet-mapping>
                <servlet-name>FSAServlet</servlet-name>
                <url-pattern>/servlet/FSAServlet</url-pattern>
        </servlet-mapping>
 
    <servlet-mapping>
                <servlet-name>FSAServlet</servlet-name>
                <url-pattern>/clientAuthent/*</url-pattern>
        </servlet-mapping>

This allows under Axis1 to have its webservices reachable from the three 
access URLs.
But on Axis2, when I'm logging in to the admin pages-> Available Services, 
I see the deployes services with Service EPR: 
Service EPR : http://localhost:9080/fsaDev/services/SGPAWebService_0.0.1 

How can I define three different Service EPR for each webservice? I've 
been looking around services.xml; web.xml and axis2.xml with no chance.... 
I can't use ws:addressing as some of the clients doesn't implement it.
I'm surely missing a concept.

Thanks in advance for your help,

Pierre Casenove




[EMAIL PROTECTED] 
13/07/2007 11:15
Veuillez répondre à
[email protected]


A
[email protected]
cc

Objet
[AXIS2]Accessing webservice through multiple addresses







Hello, 
I am working on the migration from AXIS1 to AXIS2 of webservices. 
These are currently accessed through 3 different addresses: 
http://hostname/services/* 
https://hostname/serverAuthent/* 
https://hostname/clientAuthent/* 
It works flowlessly with AXIS1 but with AXIS2, only the first address is 
working. 
The two others gives me : [WebContainer : 0] 2007-07-13 10:39:34,603 DEBUG 
Servlet.java [handleFault] org.apache.axis2.AxisFault: The service cannot 
be found for the endpoint reference (EPR) 

How can I configure multiple EPR for my webservices in Axis2? 
Thanks in advance, 

Pierre Casenove

Reply via email to