You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by S K <sk...@gmail.com> on 2011/10/04 02:15:23 UTC

runtime error with Delete Service web service

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>
==============

Re: runtime error with Delete Service web service

Posted by S K <sk...@gmail.com>.
ok.

On Tue, Oct 4, 2011 at 5:59 AM, Kurt T Stam <ku...@gmail.com> wrote:
> Hi Sean,
>
> That is not looking too good.. Can you open a jira for this, and add all 3
> requests, plus the log with the full stack trace?
>
> Thx!
>
> --Kurt
>
>
> On 10/3/11 8:15 PM, S K wrote:
>>
>> 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>
>> ==============
>
>

Re: runtime error with Delete Service web service

Posted by Kurt T Stam <ku...@gmail.com>.
Hi Sean,

That is not looking too good.. Can you open a jira for this, and add all 
3 requests, plus the log with the full stack trace?

Thx!

--Kurt


On 10/3/11 8:15 PM, S K wrote:
> 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>
> ==============