[jira] [Updated] (OFBIZ-743) Namespace declaration of services.xml has no affect on wsdl generation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-743) Namespace declaration of services.xml has no affect on wsdl generation

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-743:
----------------------------------

    Attachment: patch743.txt

Not sure it applies, but here is correct updated patch for the same

> 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
>          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, 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira