How to use JSON instead of XML in Acumatica Web Services - acumatica

I understand that Acumatica Web services uses XML and SOAP, but our project requires JSON format to and fro integrating with a Ruby-based web service. How can we use JSON?

In 6.0 version (coming soon) will be added rest interface to web service API. You should wait.

Related

How to call Soap webservice in Sap Cloud Sdk for javacript project

As the title mentioned, do I have any way to call soap service in a SAP Cloud SDK for JavaScript project?
In the feature matrix at sap.github.io as the picture shows, SOAP is not supported in the Cloud SDK for JavaScript. Is there a way to call a SOAP webservice in this scenario?
The SAP Cloud SDK for JavaScript doesn't support SOAP and there are no plans for it. As you can see from the feature matrix we suggest using node-soap. Another option would be switching to Java where we provide full SOAP support.
The SOAP is infrequently requested for the JS ecosystem. That's the reason the SDK can't allocate resources there.

Swagger connected to Azure ..now what?

I connected my swagger PetStore api to Azure using swagger Azure API Management integration.
Now that it made it in azure; Where do I implement the actual logic of querying my azure database etc?
Using swagger if I generate a Node server stub I get the following generated. But these are not available if I use API management integration.
In the Backend section I only see Logic Apps and endpoint options. I tried the Logic App stuff but it seems I need 50 logic apps if I have api that large...Am I missing something?
Maybe you need to use SwaggerHub.
The Swagger UI you are currently using belongs to the community version and should not support direct integration. Assuming there are 100 api interfaces, you need to add 100 times in azure apim.

How do I setup web pages within Azure Service Fabric Stateless Web API?

I am using VS 2017 and have successfully setup to use Stateless Web API. I can see the output of the default controller when I run it.
Now, I want to create web pages within this project and use AngularJS SPA within it to access its own API.
I am unable to find any examples which clearly show how to do this. Note this is ASP.NET Web API - not ASP.NET Core.
Someone please help.
I opened a support ticket with Microsoft and this can be done with the ASP.NET Web API support in service fabric. Web pages can be added to the self-hosted web api project, but each file has to be individually configured for this project - if you have hundreds of files, it does not allow you to configure the entire folder contents for the project, because you have to mark each file to build as content. The example they sent me is an obscure article in a Microsoft blog from a Microsoft Engineer nobody has heard of before.
Not worth it. Use the ASP.NET Core support.

How do add a custom http module to a running Azure Webapp programmatically?

I have a custom http module (.DLL developed in .NET) that I'd like to add /programmatically/ to a running Azure Web App. I have access to management certificate or ARM token that WebApp is running under. I'm using .NET code to talk to Azure Management API, so examples with their Management libraries are preferred
I've looked at the client.WebSites.UpdateConfiguration call and its HandlerMappings property, but these look to be Website extensions that are shown as HTML pages that help manage the WebApp, not analyze live traffic.
Basically, I need to add custom .NET DLL library that analyzes web requests.
Not sure of any specific way. But Can be Done in your App Start
Please Follow the link
http://blog.davidebbo.com/2011/02/register-your-http-modules-at-runtime.html

Azure Service Management API metadata

I'm trying to locate metadata (preferably a WSDL spec) for the APIs described in http://msdn.microsoft.com/en-us/library/ee460799.aspx. IIUC, WCF services (which I presume was used to implement these REST services) nearly automatically provide their metadata. If so: how to access such a description? If not: is a WSDL spec for them available elsewhere?
I don't think WSDL is available for the Windows Azure Service Management API, sorry.

Resources