[ http://issues.apache.org/jira/browse/AXIS2-1267?page=all ]
Eran Chinthaka reassigned AXIS2-1267: ------------------------------------- Assignee: Deepal Jayasinghe > 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 > Components: core > Reporter: William Ferguson > Assigned To: Deepal Jayasinghe > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]