How to use netsuite API to get data on mobile device? - ios

I want to get & post data to netsuite.I have explored on google but i only go to know about PhpToolKit & SuiteScript.I want to create some custom modules in NetSuite & get data from netsuite using the API.Please help me out how to do it.
Thanks in advance

NetSuite offers two different methods of pulling data from an external system:
Web Services (SuiteTalk) provides a standardized SOAP API which has pre-built libraries for PHP, Java, and C#. NetSuite provides the WSDL for this and you can build your own client to interact with the SOAP endpoint.
RESTlets (sub-type of SuiteScript) provide you the ability to write your own custom NetSuite endpoints that can accept and return custom data formats. Typically, JSON is the preferred format to interface with RESTlets as it is natively supported, but you can use any format you'd like. RESTlets accept either application/json or text/plain HTTP requests.

Related

Can Dart communicate / talk to Java?

I have a Java web service (with some server side business logic) created with jsp and servlets. Is there any useful way to let Dart and Java communicate / talk to each other? Does it make sense?
This is one solution: https://www.dartlang.org/articles/json-web-service/
Http can be sent or received by most languages.
A Dart client-side web application can indeed interact with server-side web services.
The language or platform that the server-side web services are written in and deployed on are unimportant as long as both sides support the protocols and data formats used to exchange messages.
Presumably your web service uses HTTP as the transport protocol and either XML or JSON as the data format. The article mentioned by #kpie should be a good starting point.

iOS App and youtube client

Time ago I searched informations about the integration of youtube into an ios application.
Now I need to do this again so I started looking for information on google.
After a short time are already confused.
Can I use this iOS youtube sample
or have I to use YouTube Data API (v3)?
And this?
Short answer:
The API refers to the HTTP interface for consuming Google's funcionality.
One can use these APIs by issuing HTTP requests directly, according to the
specification of the API, or by using one of the client libraries. The client libraries are a layer on top of HTTP that issue the HTTP requests and parse the responses. They give a simpler interface for invoking the API (e.g. using standard function calls in the given programming language rather than building HTTP requests) and they also simplify a lot of the complex parts such as authentication, refreshing tokens, etc.
Long answer:
An application programming interface or API is the "contract" between a provider of some functionality and the consumer of some functionality that allows both the provider and consumer of that functionality to interoperate without knowledge of the underlying implementation of the other party. This "contract" includes such things as the number and types of the inputs, the names of the inputs (if it is required to invoke the functionality), any constraints on the inputs, the expected outputs, any constraints on the outputs, failure modes, etc.
Google provides a number of HTTP-based APIs for accessing functionality from its services. Its services implement these APIs, which are consumed by issuing HTTP requests and reading the HTTP responses. HTTP is a convenient protocol to implement, because every device and language can speak HTTP; however, it is not always the most convenient to use as a developer. In many cases, the inputs and outputs you want are objects, not HTTP requests and HTTP responses. And, in many cases, matching function signatures in the language of your choosing and type-checking of inputs is more convenient than memorizing the HTTP request paths or manually serializing/deserializing your objects to HTTP requests or content sent within the request. That is where the client libraries come in. Whereas the HTTP APIs are implemented on Google's servers, the client libraries are libraries that developers include in their application and are distributed to the devices on which those applications run. The client libraries issue the HTTP requests and interpret the responses, and provide a more convenient programming language-specific wrapper, for a variety of different programming languages.
The data API link that you provided is documenting the HTTP-based API. Whereas the sample application is using the client library (which is invoking the HTTP-based API under the hood). The last link you provided, the cloud endpoints for iOS is unrelated to what you are trying to do; it is documenting a mechanism called Cloud Endpoints, a feature of App Engine, that allows developers to create their own HTTP APIs using Google's infrastructure and to auto-generate client libraries that wrap these HTTP APIs (much as Google auto-generates the client libraries for its own HTTP APIs).
Here's a sample app you can get started to build YouTube APIs on iOS.
Also there is an helper library to play YT videos in iOS.

Simple approach to Access SOAP Web services from MVC3 applications?

I need a simple approach to access a 3rd party SOAP Webservice from a MVC3/C# web application. I had hoped to use RestSharp, but I think this will only deal with RESTful Webservices.
The information I have on their API is currently:
"SOAP & JSON based APIs", and their examples are PHP/SOAP examples.

bindings in wsdl

According to http://www.w3schools.com/WSDL/wsdl_documents.asp binding means communication protocol used by a web-service.
I know of soap can someone please mention a few other communication protocols used in web-services to pass data ?
HTTP GET/POST and MIME are some alternatives specified by the W3C, from the abstract:
WSDL is extensible to allow description of endpoints and their messages regardless of what message formats or network protocols are used to communicate, however, the only bindings described in this document describe how to use WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.

Do we HAVE to generate and use client libraries to use Google App Engine's Endpoints?

I am currently developing an Swift iOS app with GAE Endpoints for the RESTful API.
It seems like all the tutorials and documents make you generate and use client libraries if you need to use the API on the client side.
I was wondering if it's possible for me to use the API by just using plain url request or Alamofire and get the result in JSON format?
Yes, it's totally possible to access endpoints via HTTP requests. The client libraries just help you to generate those requests without having to know the exact URLs. The biggest part where the client libraries help you is for authentication, but if you authenticate with Google and get an access token another way, you can just add that to the request header as
Authorization: Bearer your_access_token

Resources