Changeset 7144


Ignore:
Timestamp:
01/07/10 09:57:57 (9 years ago)
Author:
mnagni
Message:

Fixed again the CDATA problem. Now if the request contains an empty <TicketID/> or does not at all, the response contains a <TicketId?>0</TicketId?> (before a <TicketId/?> returned a <TicketId/?>).
Medin Discovery Service version 1.2.1

Location:
TI01-discovery-API/trunk/MEDINDiscoveryService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-API/trunk/MEDINDiscoveryService/pom.xml

    r7126 r7144  
    44        <groupId>ndg.services.discovery</groupId> 
    55        <artifactId>MedinDiscoveryService</artifactId> 
    6         <version>1.2.0</version> 
     6        <version>1.2.1</version> 
    77        <packaging>aar</packaging> 
    88 
  • TI01-discovery-API/trunk/MEDINDiscoveryService/src/main/java/ndg/services/discovery/DiscoveryServiceMEDINSkeleton.java

    r7126 r7144  
    110110 
    111111                try { 
    112                         if (doSearch.getDoSearch() != null && doSearch.getDoSearch().getTicketId() != null) { 
     112                        if (doSearch.getDoSearch() != null  
     113                                        && ((doSearch.getDoSearch().getTicketId() != null) && !doSearch.getDoSearch().getTicketId().equals(""))) { 
    113114                                responseContent.setTicketId(doSearch.getDoSearch().getTicketId());       
    114115                        } else { 
     
    184185                PresentReturnType responseContent = response.addNewDoPresentReturn(); 
    185186 
    186                 if (doPresent.getDoPresent() != null && doPresent.getDoPresent().getTicketId() != null) { 
     187                if (doPresent.getDoPresent() != null  
     188                                && ((doPresent.getDoPresent().getTicketId() != null) && !doPresent.getDoPresent().getTicketId().equals(""))) { 
    187189                        responseContent.setTicketId(doPresent.getDoPresent().getTicketId());     
    188190                } else { 
Note: See TracChangeset for help on using the changeset viewer.