You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "YG Park (JIRA)" <ji...@apache.org> on 2007/05/29 13:07:15 UTC

[jira] Created: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

Posted by "YG Park (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500730 ] 

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

No, I used the default axis2.xml in the Axis2 1.2 distribution.

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499789 ] 

Davanum Srinivas commented on AXIS2-2723:
-----------------------------------------

did you play with entries in the axis2.xml? (WEB-INF/conf/axis2.xml)

thanks,
dims

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2723:
------------------------------------

    Assignee: Deepal Jayasinghe

> 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
>            Assignee: Deepal Jayasinghe
>            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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-2723.
--------------------------------------

    Resolution: Fixed

> 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
>            Assignee: Deepal Jayasinghe
>            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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2723) Problem with the generated WSDL and AxisServlet

Posted by "YG Park (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org