ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun (JIRA)" <scout-...@ws.apache.org>
Subject [jira] Created: (SCOUT-34) DiscoveryURLs aren't constructed correctly when there is more than 1 discoveryURLs for a businessEntity
Date Mon, 14 May 2007 20:32:16 GMT
DiscoveryURLs aren't constructed correctly when there is more than 1 discoveryURLs for a businessEntity
-------------------------------------------------------------------------------------------------------

                 Key: SCOUT-34
                 URL: https://issues.apache.org/jira/browse/SCOUT-34
             Project: Scout
          Issue Type: Bug
          Components: Scout Implementation
    Affects Versions: 1.0
         Environment: win XP + sun 1.5 SDK
            Reporter: Lin Sun
         Assigned To: Anil Saldhana
             Fix For: 1.0
         Attachments: scout34.patch

This was working fine for scout 0.5, but not with the latest trunk.  If a businessEntity contains
more than one discoveryURLs, it will be constructed as this:

<urn:discoveryURLs>
  <urn:discoveryURL useType="businessEntityExt">http://localhost:8080/page2.html
  </urn:discoveryURL>
</urn:discoveryURLs>
<urn:discoveryURLs>
  <urn:discoveryURL useType="businessEntityExt">http://localhost:8080/page1.html
  </urn:discoveryURL>
</urn:discoveryURLs>

This will cause prob in juddi when abstractservice doPost is called and one of the discoveryURLs
won't get processed and will be lost.  The fix is to call biz.addNewDiscoveryURLs() only once
per iteration  (result below) so that only same as scout 0.5.

<urn:discoveryURLs>
  <urn:discoveryURL useType="businessEntityExt">http://localhost:8080/page2.html
  </urn:discoveryURL>
  <urn:discoveryURL useType="businessEntityExt">http://localhost:8080/page1.html
  </urn:discoveryURL>
</urn:discoveryURLs>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: scout-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: scout-dev-help@ws.apache.org


Mime
View raw message