Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    kate James
    VB.Net and Soap web services
    Topic posted September 12, 2019 by kate JamesRed Ribbon: 250+ Points, tagged SOAP 
    39 Views, 5 Comments
    Title:
    VB.Net and Soap web services
    Summary:
    .NET API to create user accounts
    Content:

    Hi,

    I am looking to automate the account provisioning for users. I've found useful information in the oracle documentation for Java, C# and so on. However, I am looking to use VB.Net, so I would like to know if someone in the community has attempted to do this. If so, can you please comment on your experience and challenges you encountered

    Thanks,

    Kathy

    Version:
    19A

    Comment

     

    • Robert Surujbhan

      Hi Kathy, I have personally created and have helped many others create standalone VB.NET apps that consume the Service Cloud Connect Web Services (SOAP) API.  It is definitely possible and pretty straightforward.  Very similar to how you would do it using C# (by adding a Service Reference within the VS Solution and so on).  No major challenges.

      What type of app are you looking to create for the account provisioning?  A simple Console-style CLI app, WPF, WinForms, etc.?

      • kate James

        Hi Robert,

        Thank so much for your reply. 

        I will be using the ASP.NET Web app to build the website and consume the OSC web services. I've added the service reference to the project but having some issues with the APIAccessRequestHeader. 

        Could you please kindly provide a sample  code to access the APIAccessRequestHeader & APIAccessResponsetHeadertype?

        Thanks,

        Kate

        • Robert Surujbhan

          Hi Kate, sure thing.  Which SOAP operation are you starting with that you'd like to see a code sample for? (Create, Get, GetValuesForNamedID, etc.)

          • kate James

            Hi Robert,

            Any sample code that include create and get values will be enough.

            I was trying to set a name to the account through PersonName, but does not seem to work. I think the access to this property is not dynamic like C#; any comments?

            newAccount.Name = personName

            Thanks for your help

            Kate

             

    • Fred

      I am trying to use VBA (in excel) to download data related to requisitions and then do some internal data processing. Can you provide any sample code for that? and what object do I need to add references to?

       

      Thanks