juddi 3-1-0 is encountering a runtime error when deleting a registered service.

These are the soap msg that I invoke sequentially --

1. first create a business entity
2. create a service
3. delete that service



<?xml version="1.0" ?>
   <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/";>
      <S:Body>
         <ns2:delete_service xmlns:ns2="urn:uddi-org:api_v3"
xmlns:ns3="urn:uddi-org:custody_v3" xmlns:ns4="urn:uddi-org:repl_v3"
xmlns:ns5="http://www.w3.org/2000/09/xmldsig#";
xmlns:ns6="urn:uddi-org:sub_v3" xmlns:ns7="urn:uddi-org:subr_v3"
xmlns:ns8="urn:uddi-org:vscache_v3" xmlns:ns9="urn:uddi-org:policy_v3"
xmlns:ns10="urn:uddi-org:vs_v3"
xmlns:ns11="urn:uddi-org:policy_v3_instanceParms">
            
<ns2:authInfo>authtoken:849d48b0-7018-4eb9-a8b5-460fcb802a7d</ns2:authInfo>
            
<ns2:serviceKey>uddi:mydomain.net:9f56867b-032a-4321-a2d7-67acc9d2bb63</ns2:serviceKey>
         </ns2:delete_service>
      </S:Body>
   </S:Envelope>==== Response ====
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 289
Date: Tue, 04 Oct 2011 00:11:20 GMT
Connection: close

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>org.apache.juddi.model.BusinessEntity cannot be
cast to org.apache.juddi.model.BusinessService</faultstring>
      </soap:Fault>
   </soap:Body></soap:Envelope>
==============

Reply via email to