You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Ronny Mailindra <ma...@yahoo.com> on 2003/09/23 12:59:13 UTC

[juddi-Users] Problem with FindBusiness by tModelKey

Hallo All,
First of all, sorry for this long posting.
I try to FindBusiness by tModelKey inside juddi 0.8.0
and 0.7.0. 
Both do not give me the expected result.
Below is my Business entity:

<businessEntity authorizedName="mailindra"
businessKey="6E59F950-EDDB-11D7-B950-EB50D9AD0B73"
operator="jUDDI.org">
                  <discoveryURLs>
                     <discoveryURL
useType="businessEntity">http://localhost:8080/juddi/discovery?businessKey=6E59F950-EDDB-11D7-B950-EB50D9AD0B73</discoveryURL>
                  </discoveryURLs>
                  <name>Fake Enterprise</name>
                  <description>this ini only
testing...</description>
                  <contacts>
                     <contact>
                       
<personName>Mr.Dump</personName>
                        <phone
useType="Headquarter">22334455</phone>
                        <email
useType="information">info@our.com</email>
                        <address useType="Head
quarter">
                           <addressLine>Siemens str
22</addressLine>
                          
<addressLine>Frankfurt</addressLine>
                          
<addressLine>Germany</addressLine>
                        </address>
                     </contact>
                  </contacts>
                  <businessServices>
                     <businessService
businessKey="6E59F950-EDDB-11D7-B950-EB50D9AD0B73"
serviceKey="C5964E00-EDE3-11D7-8E00-F2BF52B3C887">
                       
<name>PurchaseServiceService</name>
                        <description></description>
                        <bindingTemplates>
                           <bindingTemplate
bindingKey="C696F520-EDE3-11D7-B520-B92D0F436F9E"
serviceKey="C5964E00-EDE3-11D7-8E00-F2BF52B3C887">
                             
<description></description>
                              <accessPoint
URLType="http">http://localhost:8000/vendor/services/PurchaseService</accessPoint>
                              <tModelInstanceDetails>
                                 <tModelInstanceInfo
tModelKey="uuid:95F9AED0-EDDE-11D7-AED0-9F95F851BB9E">
                                    <instanceDetails>
                                       <overviewDoc>
                                         
<overviewURL>http://localhost:8080/vendor/test.wsdl</overviewURL>
                                       </overviewDoc>
                                    </instanceDetails>
                                 </tModelInstanceInfo>
                              </tModelInstanceDetails>
                           </bindingTemplate>
                        </bindingTemplates>
                        <categoryBag>
                           <keyedReference
keyName="Vending machines merchant wholesalers"
keyValue="421440"
tModelKey="uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2"/>
                        </categoryBag>
                     </businessService>
                  </businessServices>
                  <identifierBag/>
                  <categoryBag>
                     <keyedReference keyName="Vending
machines merchant wholesalers" keyValue="421440"
tModelKey="uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2"/>
                  </categoryBag>
               </businessEntity>
               
       
       
       Then I send inquiry to juddi, below is the
message:
       
       <?xml version="1.0" encoding="UTF-8"?>
          <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

             <soapenv:Body>
                <find_business generic="2.0"
xmlns="urn:uddi-org:api_v2">
                   <findQualifiers>
                     
<findQualifier>caseSensitiveMatch</findQualifier>
                   </findQualifiers>
                   <tModelBag>
                     
<tModelKey>uuid:95F9AED0-EDDE-11D7-AED0-9F95F851BB9E</tModelKey>
                   </tModelBag>
                </find_business> 
             </soapenv:Body>
   </soapenv:Envelope>
   
   
   But, instead of sending me the above business
entity, juddi-0.8.0 sends me this soap fault:
   
   <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

         <soapenv:Body>  
            <soapenv:Fault>   
              
<faultcode>soapenv:Server.userException</faultcode>   
              
<faultstring>java.lang.NullPointerException</faultstring>
  
               <detail/>  
            </soapenv:Fault> 
         </soapenv:Body>
   </soapenv:Envelope>
   
   
   If I use juddi-0.7.0, it sends me this soap fault:
   
   <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

         <soapenv:Body>
            <Fault>
               <faultcode></faultcode>
               <faultstring></faultstring>
            </Fault> 
         </soapenv:Body>
   </soapenv:Envelope>
   
 is it a known bug or am i missing something?
   I use jdk 1.4.1, tomcat 4.1.24, mysql, axis 1.1
running on win 2000.
   
TIA for any respose.
   
   
regards,
   
Mailindra
       
       

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



Re: [juddi-Users] incorrect OverviewURL in binding template

Posted by Jeff Lansing <je...@polexis.com>.
This fixes it. Very nice.

Jeff

Anou Manavalan wrote:

>Jeff,
>This should fix it. Let me know, if it does, I will commit the changes to
>CVS.
>
>-Anou
>
>-----Original Message-----
>From: juddi-users-admin@lists.sourceforge.net
>[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
>Lansing
>Sent: Tuesday, September 23, 2003 5:27 PM
>To: juddi-users@lists.sourceforge.net
>Subject: [juddi-Users] incorrect OverviewURL in binding template
>
>
>Hi,
>
>This problem can be seen by executing the BindingTemplateExample.java
>that comes with uddi4j.
>
>The problem shows up at the "Find the Binding Template" step, where this
>query:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <find_binding generic="2.0" maxRows="5"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908"
>xmlns="urn:uddi-org:api_v2">
>            <tModelBag>
>
><tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
>            </tModelBag>
>         </find_binding>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>returns this result:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <bindingDetail generic="2.0" operator="jUDDI.org"
>xmlns="urn:uddi-org:api_v2">
>            <bindingTemplate
>bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
>               <accessPoint URLType="http">www.uddi.org</accessPoint>
>               <tModelInstanceDetails>
>                  <tModelInstanceInfo
>tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
>                     <instanceDetails>
>                        <overviewDoc>
>
><overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
>                        </overviewDoc>
>
><instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
>                     </instanceDetails>
>                  </tModelInstanceInfo>
>               </tModelInstanceDetails>
>               <categoryBag/>
>            </bindingTemplate>
>         </bindingDetail>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>Note that the overview URL does not conform to URL syntax (among other
>problems, such as that it is totally spurious).
>
>The example was executed against a completly fresh database.
>
>Jeff
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>  
>





RE: [juddi-Users] incorrect OverviewURL in binding template

Posted by Anou Manavalan <am...@sybase.com>.
Jeff,
This should fix it. Let me know, if it does, I will commit the changes to
CVS.

-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
Lansing
Sent: Tuesday, September 23, 2003 5:27 PM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] incorrect OverviewURL in binding template


Hi,

This problem can be seen by executing the BindingTemplateExample.java
that comes with uddi4j.

The problem shows up at the "Find the Binding Template" step, where this
query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <find_binding generic="2.0" maxRows="5"
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908"
xmlns="urn:uddi-org:api_v2">
            <tModelBag>

<tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
            </tModelBag>
         </find_binding>
      </soapenv:Body>
   </soapenv:Envelope>

returns this result:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <bindingDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2">
            <bindingTemplate
bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37"
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
               <accessPoint URLType="http">www.uddi.org</accessPoint>
               <tModelInstanceDetails>
                  <tModelInstanceInfo
tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
                     <instanceDetails>
                        <overviewDoc>

<overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
                        </overviewDoc>

<instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
                     </instanceDetails>
                  </tModelInstanceInfo>
               </tModelInstanceDetails>
               <categoryBag/>
            </bindingTemplate>
         </bindingDetail>
      </soapenv:Body>
   </soapenv:Envelope>

Note that the overview URL does not conform to URL syntax (among other
problems, such as that it is totally spurious).

The example was executed against a completly fresh database.

Jeff




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users

RE: [juddi-Users] incorrect OverviewURL in binding template

Posted by Anou Manavalan <am...@sybase.com>.
It is TMODEL_INSTANCE_INFO. But, the file I sent earlier (
TModelInstanceInfoTable.java )  should have fixed it. Did you give that a
try ?

-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
Lansing
Sent: Wednesday, September 24, 2003 2:52 PM
To: juddi-users@lists.sourceforge.net
Subject: Re: [juddi-Users] incorrect OverviewURL in binding template


Anou,

Ok, where do I look (which tables)?

Jeff


Anou Manavalan wrote:

>Jeff,
>
>Could you check your DB to see what is stored in there for the OverviewURL
>and instanceParms ?
>
>-Anou
>
>-----Original Message-----
>From: juddi-users-admin@lists.sourceforge.net
>[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
>Lansing
>Sent: Tuesday, September 23, 2003 5:27 PM
>To: juddi-users@lists.sourceforge.net
>Subject: [juddi-Users] incorrect OverviewURL in binding template
>
>
>Hi,
>
>This problem can be seen by executing the BindingTemplateExample.java
>that comes with uddi4j.
>
>The problem shows up at the "Find the Binding Template" step, where this
>query:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <find_binding generic="2.0" maxRows="5"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908"
>xmlns="urn:uddi-org:api_v2">
>            <tModelBag>
>
><tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
>            </tModelBag>
>         </find_binding>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>returns this result:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <bindingDetail generic="2.0" operator="jUDDI.org"
>xmlns="urn:uddi-org:api_v2">
>            <bindingTemplate
>bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
>               <accessPoint URLType="http">www.uddi.org</accessPoint>
>               <tModelInstanceDetails>
>                  <tModelInstanceInfo
>tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
>                     <instanceDetails>
>                        <overviewDoc>
>
><overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
>                        </overviewDoc>
>
><instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
>                     </instanceDetails>
>                  </tModelInstanceInfo>
>               </tModelInstanceDetails>
>               <categoryBag/>
>            </bindingTemplate>
>         </bindingDetail>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>Note that the overview URL does not conform to URL syntax (among other
>problems, such as that it is totally spurious).
>
>The example was executed against a completly fresh database.
>
>Jeff
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users




Re: [juddi-Users] incorrect OverviewURL in binding template

Posted by Jeff Lansing <je...@polexis.com>.
Anou,

Ok, where do I look (which tables)?

Jeff


Anou Manavalan wrote:

>Jeff,
>
>Could you check your DB to see what is stored in there for the OverviewURL
>and instanceParms ?
>
>-Anou
>
>-----Original Message-----
>From: juddi-users-admin@lists.sourceforge.net
>[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
>Lansing
>Sent: Tuesday, September 23, 2003 5:27 PM
>To: juddi-users@lists.sourceforge.net
>Subject: [juddi-Users] incorrect OverviewURL in binding template
>
>
>Hi,
>
>This problem can be seen by executing the BindingTemplateExample.java
>that comes with uddi4j.
>
>The problem shows up at the "Find the Binding Template" step, where this
>query:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <find_binding generic="2.0" maxRows="5"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908"
>xmlns="urn:uddi-org:api_v2">
>            <tModelBag>
>
><tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
>            </tModelBag>
>         </find_binding>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>returns this result:
>
><?xml version="1.0" encoding="UTF-8"?>
>   <soapenv:Envelope
>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <soapenv:Body>
>         <bindingDetail generic="2.0" operator="jUDDI.org"
>xmlns="urn:uddi-org:api_v2">
>            <bindingTemplate
>bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37"
>serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
>               <accessPoint URLType="http">www.uddi.org</accessPoint>
>               <tModelInstanceDetails>
>                  <tModelInstanceInfo
>tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
>                     <instanceDetails>
>                        <overviewDoc>
>
><overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
>                        </overviewDoc>
>
><instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
>                     </instanceDetails>
>                  </tModelInstanceInfo>
>               </tModelInstanceDetails>
>               <categoryBag/>
>            </bindingTemplate>
>         </bindingDetail>
>      </soapenv:Body>
>   </soapenv:Envelope>
>
>Note that the overview URL does not conform to URL syntax (among other
>problems, such as that it is totally spurious).
>
>The example was executed against a completly fresh database.
>
>Jeff
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>juddi-users mailing list
>juddi-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/juddi-users
>
>  
>





RE: [juddi-Users] incorrect OverviewURL in binding template

Posted by Anou Manavalan <am...@sybase.com>.
Jeff,

Could you check your DB to see what is stored in there for the OverviewURL
and instanceParms ?

-Anou

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jeff
Lansing
Sent: Tuesday, September 23, 2003 5:27 PM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] incorrect OverviewURL in binding template


Hi,

This problem can be seen by executing the BindingTemplateExample.java
that comes with uddi4j.

The problem shows up at the "Find the Binding Template" step, where this
query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <find_binding generic="2.0" maxRows="5"
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908"
xmlns="urn:uddi-org:api_v2">
            <tModelBag>

<tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
            </tModelBag>
         </find_binding>
      </soapenv:Body>
   </soapenv:Envelope>

returns this result:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <bindingDetail generic="2.0" operator="jUDDI.org"
xmlns="urn:uddi-org:api_v2">
            <bindingTemplate
bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37"
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
               <accessPoint URLType="http">www.uddi.org</accessPoint>
               <tModelInstanceDetails>
                  <tModelInstanceInfo
tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
                     <instanceDetails>
                        <overviewDoc>

<overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
                        </overviewDoc>

<instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
                     </instanceDetails>
                  </tModelInstanceInfo>
               </tModelInstanceDetails>
               <categoryBag/>
            </bindingTemplate>
         </bindingDetail>
      </soapenv:Body>
   </soapenv:Envelope>

Note that the overview URL does not conform to URL syntax (among other
problems, such as that it is totally spurious).

The example was executed against a completly fresh database.

Jeff




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users




[juddi-Users] incorrect OverviewURL in binding template

Posted by Jeff Lansing <je...@polexis.com>.
Hi,

This problem can be seen by executing the BindingTemplateExample.java 
that comes with uddi4j.

The problem shows up at the "Find the Binding Template" step, where this 
query:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <find_binding generic="2.0" maxRows="5" 
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908" 
xmlns="urn:uddi-org:api_v2">
            <tModelBag>
               
<tModelKey>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</tModelKey>
            </tModelBag>
         </find_binding>
      </soapenv:Body>
   </soapenv:Envelope>

returns this result:

<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
         <bindingDetail generic="2.0" operator="jUDDI.org" 
xmlns="urn:uddi-org:api_v2">
            <bindingTemplate 
bindingKey="9F38B3A0-EE1B-11D7-B56E-90AEE5899C37" 
serviceKey="9E7FC3E0-EE1B-11D7-B56E-F70B39E95908">
               <accessPoint URLType="http">www.uddi.org</accessPoint>
               <tModelInstanceDetails>
                  <tModelInstanceInfo 
tModelKey="uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F">
                     <instanceDetails>
                        <overviewDoc>
                           
<overviewURL>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</overviewURL>
                        </overviewDoc>
                        
<instanceParms>uuid:9EDB7870-EE1B-11D7-B56E-ECEC92F87F1F</instanceParms>
                     </instanceDetails>
                  </tModelInstanceInfo>
               </tModelInstanceDetails>
               <categoryBag/>
            </bindingTemplate>
         </bindingDetail>
      </soapenv:Body>
   </soapenv:Envelope>

Note that the overview URL does not conform to URL syntax (among other 
problems, such as that it is totally spurious).

The example was executed against a completly fresh database.

Jeff