in

Surgient Success

Surgient Community Forums

Using SOAP API, what are steps to deploy an AppConfig to running Service?

Last post 03-08-2010 2:49 PM by jgross. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-05-2010 10:03 AM

    Using SOAP API, what are steps to deploy an AppConfig to running Service?

     

    The topic says it all.    My code returns without error, but the GUI shows this Unrecoverable Error:

    Surgient.Platform.Commands.CommandException: 00050011 Command 'Engine.Script.manage-nail-for-deployment-group' did not complete successfully. Address: <no target server -- script invocation>. Result: Failed. Message: 00190011 Unexpected runtime exception thrown by service method invocation. --- An item with the same key has already been added.

     

    Further, my session type shows up as Virtual Lab, instead of Test Environment.

    Thanks,

     

  • 03-08-2010 2:49 PM In reply to

    Re: Using SOAP API, what are steps to deploy an AppConfig to running Service?

    There is a decent example for deploying an Application Configuration within the Usage Examples of the SOAP API guide.  However, where the example would use the Schedule() method, you would use the ScheduleAppSessionToJoinService() method, and likely have to do a little work prior to that to get the Service you wish to join so that the JoiningServiceSpec() can properly be passed in.

    Without seeing your code and more detailed logging, it is difficult to know what you're doing wrong, if anything.  If you want to include the snippet here or through support, someone can take a look at it for you and see if we can hazard a guess as to your issue.  The session type should have no relevance for what you're trying to do - my guess is that the context under which the APIs are called aren't necessarily specific to the dev/qa product and thus the discrepancy.

    Jackie.

Page 1 of 1 (2 items)