Namespace declaration of services.xml has no affect on wsdl generation
----------------------------------------------------------------------
Key: OFBIZ-743
URL:
https://issues.apache.org/jira/browse/OFBIZ-743 Project: OFBiz (The Open for Business Project)
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Environment: SUSE Linux 10.1 & MySQL 5.0.18
Reporter: Michael Imhof
Priority: Minor
<service name="processImage" engine="simple" default-entity-name="Archivindex"
location="ch/nowhow/isgate/archiv/ArchivServices.xml" invoke="processImage" export="true">
<namespace>
http://nowhow.ch/isgate/</namespace>
..
</service>
Namespace Tag is not used!!
Solution:
======
Class: ModelService.java
Add a new method:
private String getTNS() {
if (this.nameSpace == null || this.nameSpace.length() == 0) {
this.nameSpace = TNS;
}
return this.nameSpace;
}
Replace every TNS with getTNS.
Regards
Michael
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.