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

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

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

Nicolas Malin (Jira)
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.

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 ]

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.