locked
Sample For Authentication and Working With : AppWebServices/Workflow.asmx RRS feed

  • Question

  • hi,

    I need to connect to workflow AppWebServices and retrieve some data,

    i have no idea about that but i found web service url : http://[my Server]/[my Org]/AppWebServices/Workflow.asmx

    now according to Below link :

    https://help.exacttarget.com/en/technical_library/web_service_guide/getting_started_developers_and_the_exacttarget_api/connecting_to_the_web_service_api_using_wcf/

    i've add webservice, and now i'd like to Use it .

    here is my code in my function:

                WFWebService.WorkflowWebServiceSoapClient service = new WFWebService.WorkflowWebServiceSoapClient();
                string str = service.RefreshWorkflowStep("{6172A307-76F0-4DE7-BEBA-FF64782411CF}");

    but there is some problem with authentication and Error is :

    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.

    is there some sample for Workflow Appwebservice ?

    What Should I Do ?

    Thanks.

    Tuesday, March 10, 2015 9:34 AM

All replies

  • It is not supported to use the AppWebServices directly - the key point in the SDK documentation is:

    The following is a list of unsupported action types:
     - The use of application programming interfaces (APIs) other than the documented
    APIs in the web services DeploymentService, DiscoveryService,
    Organization Data Service, SOAP endpoint for web resources and
    OrganizationService.

    What are you trying to achieve ? Most workflow functions can be accessed by the supported OrganizationService API


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, March 10, 2015 10:00 AM
    Moderator
  • Thanks For Reply,

    i need to create , delete, update or do More Action with Some step in specific Workflow Record, in Edit.aspx (crmweb/sfa/workflow) I saw that Application(Aspx Page) use RemoteCommand Object and the Address that Object send request is a webservice in AppWebServices Folder Called Workflow.asmx.

    For Example, I'd like to retrieve Workflow Steps HTML In Server Or set New Description For Some Step.

    How Can I Do it ?



    Monday, March 16, 2015 12:44 PM
  • I think the only way to get the workflow steps would be to use a Retrieve (using the REST or SOAP API) on the workflow entity, then parse the xaml attribute, which contains the workflow definition in XAML format

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Monday, March 16, 2015 4:32 PM
    Moderator