[ 
https://issues.apache.org/jira/browse/AXIS2-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500735
 ] 

YG Park commented on AXIS2-2723:
--------------------------------

Looking at the source code, LIST_SERVICES_SUFIX is defined as 
"/services/listServices" so I guess one will have to access listServices 
request using an URL like

http://someaddress/ContextPath/axis2/services/listServices

I don't know if this was intentional but then again, Axis2 generates the wrong 
endpoint URL so either way, I guess this is a bug?

> Problem with the generated WSDL and AxisServlet
> -----------------------------------------------
>
>                 Key: AXIS2-2723
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2723
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>            Reporter: YG Park
>            Priority: Minor
>
> If you map AxisServlet with something other than /services/*, for e.g.
>       <!-- Axis2 -->
>       <servlet>
>               <servlet-name>AxisServlet</servlet-name>
>               <servlet-class>
>                       org.apache.axis2.transport.http.AxisServlet
>               </servlet-class>
>               <load-on-startup>1</load-on-startup>
>       </servlet>
>       <servlet-mapping>
>               <servlet-name>AxisServlet</servlet-name>
>               <url-pattern>/axis2/*</url-pattern>
>       </servlet-mapping>
> then, invoking
>       http://someaddress/<ContextPath>/axis2/listServices
> won't work. However, invoking
>       http://someaddress/<ContextPath>/axis2/services/listServices
> will work but then again, generated ?wsdl points to a wrong endpoint URL like
>       http://someaddress/<ContextPath>//services/<ServiceName>
> where it should be
>       http://someaddress/<ContextPath>/axis2/<ServiceName>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to