You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Michael Imhof (JIRA)" <ji...@apache.org> on 2007/02/21 11:55:05 UTC
[jira] Created: (OFBIZ-743) Namespace declaration of services.xml
has no affect on wsdl generation
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.
[jira] Updated: (OFBIZ-743) Namespace declaration of services.xml
has no affect on wsdl generation
Posted by "Michael Imhof (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Imhof updated OFBIZ-743:
--------------------------------
Attachment: patch743.txt
> 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
> Attachments: patch743.txt
>
>
> <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.