locked
DeletePendingConnectPackageRequest jaxb error RRS feed

  • Question

  • I created a connection request using CreateConnectRequestRequest(). If I try and create it again the response is that a request already exists and can not be recreated. This makes since. I next tried DeletePendingConnectPackageRequest(). The name doesn't make sense but it looks like what I need to use in the Java sdk.

    DeletePendingConnectPackageRequest dpc = new DeletePendingConnectPackageRequest();
     dpc.setExternalId("12345-96");
    CreateConnectRequestResponse dpcresponse =(CreateConnectRequestResponse)requestTemplate.makeRequest(dpc);

    I get the error: com.microsoft.hsg.HVException: Invalid request.  Expecting jaxb request. 

    I haven't found much in the way of documentation or examples on this so the use of requesttemplate is a guess.

    The goal is do DOPU in Java.

    Greg R

    Monday, November 4, 2013 4:15 PM

All replies