-- 作者:cacaony_ada
-- 发布时间:8/18/2007 11:47:00 AM
--
我遇到的问题是 “MatchmakerResult 无法解析为类型” 出现在 assertEquals(((MatchmakerResult) mrl.get(0)).getOwlsProfile(), "http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#BravoAirProfile"); assertEquals(((MatchmakerResult) mrl.get(0)).getScore(), "36.0") 这些代码中 调试显示的信息是: log4j:ERROR Attempted to append to closed appender named [stderr]. 0 WARN RDFDefaultErrorHandler - file:///E:/workspace/matchmaker/(line 1 column 22): {W129} Encoding on InputStreamReader or FileReader does not match that of XML document. Use FileInputStream. [GBK != UTF] log4j:ERROR Attempted to append to closed appender named [stderr]. 841 WARN RDFDefaultErrorHandler - http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl(line 14 column 24): {W102} unqualified use of rdf:about is deprecated. log4j:ERROR Attempted to append to closed appender named [stderr]. 9944 WARN RDFDefaultErrorHandler - http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirService.owl(line 23 column 28): {W102} unqualified use of rdf:about is deprecated. log4j:ERROR Attempted to append to closed appender named [stderr]. 11507 WARN RDFDefaultErrorHandler - http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirGrounding.owl(line 27 column 28): {W102} unqualified use of rdf:about is deprecated. log4j:ERROR Attempted to append to closed appender named [stderr]. 16293 WARN RDFDefaultErrorHandler - http://www.daml.ri.cmu.edu/owls/xslt/BravoAirConcept.owl(line 18 column 24): {W102} unqualified use of rdf:about is deprecated. 16794 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#BravoAirProfile does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Profile.owl#has_process 17125 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#InboundDate does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17135 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#DepartureAirport does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17135 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#OutboundDate does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17135 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#ArrivalAirport does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17145 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#RoundTrip does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17145 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#ItineraryOut does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17165 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#UserName does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17165 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#Password does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17165 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#AuthkeyOut does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17175 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#AuthkeyIn does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17175 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#ItineraryIn does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17205 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#ETicket does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17265 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#ResultExpDate does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17265 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProcess.owl#EncodedKey does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17325 INFO WsdlMessageMapImpl - owls parameter already present 17325 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17325 INFO WsdlMessageMapImpl - owls parameter already present 17325 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17325 INFO WsdlMessageMapImpl - wsdl message part already present 17335 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17345 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirGrounding.owl#ConfirmFlightProcess_Grounding does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#wsdlVersion 17355 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationString 17355 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17355 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationString 17355 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17355 INFO WsdlMessageMapImpl - wsdl message part already present 17365 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17365 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirGrounding.owl#LoginProcess_Grounding does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#wsdlVersion 17365 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationString 17365 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17365 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationString 17365 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17365 INFO WsdlMessageMapImpl - owls parameter already present 17375 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17375 INFO WsdlMessageMapImpl - owls parameter already present 17375 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17375 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationString 17375 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17375 INFO WsdlMessageMapImpl - wsdl message part already present 17375 DEBUG OWLUtil - instance= null does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#xsltTransformationURI 17375 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirGrounding.owl#GetFlightProcess_Grounding does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Grounding.owl#wsdlVersion 17525 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ArrivalAirport does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17525 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#Password does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17525 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#UserName does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17525 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryIn does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17525 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#RoundTrip does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17535 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#OutboundDate does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17535 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#DepartureAirport does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17545 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#InboundDate does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17545 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryOut does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue 17545 DEBUG OWLUtil - instance= http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ETicket does not have propertyURI= http://www.daml.org/services/owl-s/1.1/Process.owl#parameterValue TransportFactory: Using transport name:org.uddi4j.transport.ApacheSOAPTransport Request body: <get_authToken cred="password" generic="2.0" userID="juddi" xmlns="urn:uddi-org:api_v2"/> Response body: <authToken generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"><authInfo>authToken:0C47DB70-4D3A-11DC-A9C7-A68BBE607ECC</authInfo></authToken> Request body: <save_business generic="2.0" xmlns="urn:uddi-org:api_v2"><authInfo>authToken:0C47DB70-4D3A-11DC-A9C7-A68BBE607ECC</authInfo><businessEntity businessKey=""><name/><contacts><contact useType="n"><personName>n</personName><phone>n</phone><email>n</email><address><addressLine>n</addressLine></address></contact></contacts><businessServices><businessService serviceKey=""><name>Add Service Name</name><description>Add text Description</description><categoryBag><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#BravoAirProfile" tModelKey="UUID:74194360-DA9E-41D7-A0CA-020629DC0A33"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl" tModelKey="UUID:4614C240-B483-66D7-8BE8-000629DC0A66"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl" tModelKey="UUID:53S4C24R-Q483-Q6RR-8QEB-0Q0629QC0A64"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#AirReservationService" tModelKey="UUID:43S4CB4R-J483-Y6RR-8QEB-0Q0679QC0AT9"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#AirTicket" tModelKey="UUID:93R4CT4E-Q4G3-N6RR-82EB-2I0629QC0A67"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ArrivalAirport" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Airport" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#Password" keyValue="http://www.w3.org/2001/XMLSchema#string" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#UserName" keyValue="http://www.w3.org/2001/XMLSchema#string" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryIn" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Itinerary" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#RoundTrip" keyValue="http://www.w3.org/2001/XMLSchema#boolean" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#OutboundDate" keyValue="http://www.w3.org/2001/XMLSchema#dateTime" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#DepartureAirport" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Airport" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#InboundDate" keyValue="http://www.w3.org/2001/XMLSchema#dateTime" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryOut" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Itinerary" tModelKey="UUID:6E926D70-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ETicket" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#ETicket" tModelKey="UUID:6E926D70-DA5E-11D7-A0CA-000629DC0A53"/></categoryBag></businessService></businessServices></businessEntity></save_business> Response body: <businessDetail generic="2.0" operator="jUDDI.org" xmlns="urn:uddi-org:api_v2"><businessEntity authorizedName="juddi user" businessKey="0C899F60-4D3A-11DC-A9C7-AEE379639D1E" operator="jUDDI.org"><discoveryURLs><discoveryURL useType="businessEntity">http://localhost:8080/juddi/discovery?businessKey=0C899F60-4D3A-11DC-A9C7-AEE379639D1E</discoveryURL></discoveryURLs><name/><contacts><contact useType="n"><personName>n</personName><phone>n</phone><email>n</email><address><addressLine>n</addressLine></address></contact></contacts><businessServices><businessService businessKey="0C899F60-4D3A-11DC-A9C7-AEE379639D1E" serviceKey="0CB14BA0-4D3A-11DC-A9C7-8C6BBB132323"><name>Add Service Name</name><description>Add text Description</description><categoryBag><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#BravoAirProfile" tModelKey="UUID:74194360-DA9E-41D7-A0CA-020629DC0A33"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl" tModelKey="UUID:4614C240-B483-66D7-8BE8-000629DC0A66"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl" tModelKey="UUID:53S4C24R-Q483-Q6RR-8QEB-0Q0629QC0A64"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#AirReservationService" tModelKey="UUID:43S4CB4R-J483-Y6RR-8QEB-0Q0679QC0AT9"/><keyedReference keyName="" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#AirTicket" tModelKey="UUID:93R4CT4E-Q4G3-N6RR-82EB-2I0629QC0A67"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ArrivalAirport" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Airport" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#Password" keyValue="http://www.w3.org/2001/XMLSchema#string" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#UserName" keyValue="http://www.w3.org/2001/XMLSchema#string" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryIn" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Itinerary" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#RoundTrip" keyValue="http://www.w3.org/2001/XMLSchema#boolean" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#OutboundDate" keyValue="http://www.w3.org/2001/XMLSchema#dateTime" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#DepartureAirport" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Airport" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#InboundDate" keyValue="http://www.w3.org/2001/XMLSchema#dateTime" tModelKey="UUID:63194360-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ItineraryOut" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#Itinerary" tModelKey="UUID:6E926D70-DA5E-11D7-A0CA-000629DC0A53"/><keyedReference keyName="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirProfile.owl#ETicket" keyValue="http://www.daml.ri.cmu.edu/iswcdemo/navn/BravoAirConcept.owl#ETicket" tModelKey="UUID:6E926D70-DA5E-11D7-A0CA-000629DC0A53"/></categoryBag></businessService></businessServices></businessEntity></businessDetail>
|