axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Ferguson (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1267) Wsdl generated by AxisServlet has targetNamespace="http://ws.apache.org/axis2" instead of one relevant to Service.
Date Fri, 29 Sep 2006 02:59:54 GMT
Wsdl generated by AxisServlet has targetNamespace="http://ws.apache.org/axis2" instead of one
relevant to Service.
------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-1267
                 URL: http://issues.apache.org/jira/browse/AXIS2-1267
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
            Reporter: William Ferguson


This issue came out of http://issues.apache.org/jira/browse/AXIS2-957.

Essentially when using the AxisSevlet to retrieve the WSDL for a Service defined by a services.xml
and a Service implementation class, the WSDL generated by the AxisServlet has targetNamespace="http://ws.apache.org/axis2"
instead of any naming relevant to the original Service implementation class, whereas the xs:schema
of the wsdl:types (in the generated WSDL) has targetNamespace="http://simplews.hubbub.com.au/xsd"
which does have at least some relevance to the package name of the Service implementation
class (package au.com.hubbub.simplews).

IMO the targetNamespace should match that of the package for the service implementation as
should the targetNamespace for the wsdl:types. This would ensure that classes generated from
the WSDL are cerated in the same package as the classes from which the WSDL was generated.

So for mine, the targetNamespace of both the service WSDL and the schema of the wsdl types
match the package of the Service implementation class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message