[jboss-dev-forums] [jBPM Development] - Re: How to delete existing BPMN processes from the guvnor repository
uvijayreddy657
do-not-reply at jboss.com
Wed Oct 5 02:58:18 EDT 2011
uvijayreddy657 [http://community.jboss.org/people/uvijayreddy657] created the discussion
"Re: How to delete existing BPMN processes from the guvnor repository"
To view the discussion, visit: http://community.jboss.org/message/630174#630174
--------------------------------------------------------------
I replaced jar jsr311-api-1.0.jar to *jsr311-api-1.1.1.jar* solved the URIBuilder Error Issue. Now I am able to delete the process from the guvnor repository using the following code snippet.
WebClient client = WebClient.create(" http://localhost:8080/drools-guvnor/rest/packages/SDS/assets/ http://localhost:8080/drools-guvnor/rest/packages/SDS/assets/"+ asset.getName(), "admin", "admin", null);
Response response = client.delete();
I hope this would help someone.
Thanks Tihomir.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630174#630174]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111005/b7e41b32/attachment.html
More information about the jboss-dev-forums
mailing list