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

[juddi-Users] Problem using FindBusiness by tModel key

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

__________________________________________________________________
Stiftung Warentest vergibt Note "gut" für Lycos Mail!
Top SPAM- und Virenschutz, 15MB Megaspeicher und SMS schon ab 5 Cent!  <br> Noch Fragen? http://mail.lycos.de