Reframing my Question for RESTful 3rd Party WebService

My last posted question did not produce any feedback for what I was looking for, so I'm trying this again.
I have a Driver entity, and an gpsVehicleData entity. Drivers can have one gpsVehicleData (relationship)
In a grid screen I use; for THE most basic understanding I can get, I have one field I need updated from my 3rd party webservice. We'll call it gpsVehicleData.MotionStatus, and I need to use Driver.DriverID in the service to find his MotionStatus.
This is the example connection snippet I was given by the vendor.
Dim responseData As String = ""
Dim uri As String = "http://ws.samplegps.com/DriverWebService.svc/drivers/"
Dim request As System.Net.HttpWebRequest = Net.HttpWebRequest.Create(uri)
request.Method = "GET"
Dim companyLoginId As String = "12345"
Dim username As String = "John"
Dim password As String = "Doe4321"
Dim auth As String = companyLoginId + "|" + username + ":" + password
Dim authHeader As String = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(auth))
request.Headers("Authorization") = authHeader
Try
Dim httpWebResponse As System.Net.HttpWebResponse = request.GetResponse()
If httpWebResponse.StatusCode = Net.HttpStatusCode.OK Then
Dim responseStream As IO.StreamReader = New IO.StreamReader(httpWebResponse.GetResponseStream())
responseData = responseStream.ReadToEnd()
Console.WriteLine(responseData)
Console.ReadKey()
End If
Catch ex As Exception
responseData = "An error occured: " & ex.Message
Console.WriteLine(responseData)
Console.ReadKey()
Great. So this works when I run in it's own solution, and it pops up a console window and shows all data for each of my drivers. My problem is, I cannot find an example I can follow to update the Motion property in EACH ROW (each driver of my Screen with
this snippet.
(A button function seems appropriate instead of Validate method, but honestly as long as it works I don't care.
This is the closest I have found but I'm not using Soap.
LightSwitch - Consuming Web Services
This is too, but much different than the first example!
Calling Web Services to Validate Data in Visual Studio LightSwitch
One example has something and not the other, and the other example has this but not that. Very frustrating for a new person!
I do not need to dive into RIA right now which has been suggested before.
I know I am not very knowledgeable in VB, but I need to use something applicable to my environment I can make more sense of. Thanks in advance

This is the closest I have found but I'm not using Soap.
LightSwitch - Consuming Web Services
From your description, you can consider using method above, as I know, this way is available/convenient for your situation.

Similar Messages

  • Use This Thread for All 3rd Party Extension Questions (Migrating from v3-v4)

    This thread is for the 3rd Party Extension developers as they update their extensions to be compatible with the new framework in SQL Developer v4.0.
    To get started with the process, consult this post from the JDeveloper team. If you have questions, post them here.

    What is the correct way to deploy migrated extension on local installation of SQL Developer 4 for testing?
    Could such operation be automated with help of JDeveloper 12c?

  • Problems connecting 3rd party webservices from workerrole

    Hello,
    I have the problem that since 2015.01.28 ~22:00, my service deployed as a workerrole in an Azure instance cannot reach 3rd party webservices. This was a sudden issue as it worked for half a year without any changes.
    The 3rd party webservices work fine, I can reach them from my development environment without any trouble, the provider of these webservices also could assure me that it works fine for others.
    The call that fails is a simple WebClient call (with credentials) to a URL in order to read a (tiny) file and take followup actions.
    The call fails with the following error:
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond
    after a period of time, or established connection failed because connected host has failed to respond <ip:port>
    The question: have there been any changes recently, either in the Azure services environment or networking that could explain this?
    If i connect remotely to the instance and attempt to make the calls manually via IE, they succeed, but very slowly.
    I have deployed the service to another datacenter as a test, so right now I have one running in East US and Western Europe, but both face the same issues. The service is running on Azure SDK 2.1, the instance is running on windows server 2012R2.
    The service works fine when I run it on my development environment via compute emulator. No connection issues.
    Any help is welcome, thanks ahead.

    Looks like a timeout issue. Try to increase timeout of your call to see if you get any success. If OK, then for sure it is timeout problem. Then check if it is DNS problem. Use IP address to call instead of hostname. You mention it is slow in IE. Where
    is IE located? You can also try to call using IP address instead of hostname to see if it speeds up. Is it slow only the first call?
    Frank

  • Is it possible for a 3rd party program to create a list item in sharepoint online 2013?

    I have limited experience with the online version of sp. I've been asked if it's possible for a 3rd party app that our company is beginning to use, to programmatically add items to a list.    I don't have any details about the program yet,
    but I've been told that a batch would run at night and they would like it to create items in a SP list and pass along several fields of metadata.   
    Is this possible in the online version?   I know that Power Shell can do this, but is it possible for an app to get access to run a PS command?   
    thanks,

    Yes.
    There is something known as the Client Side (?) Object Model or CSOM. This allows you to create list items, lists and even sites with .Net code from a non server machine.
    You could run 'classic' Server Object Model  C#/VB.NET or PowerShell to do the same job and it might be easier as there's alot more material out there on how to do it. On the other hand it's probably going to make your solution more complicated and
    harder to maintain over the long run.
    This article introduces you to the CSOM and how to use it and is applicable to O365 as well as on-premise:
    http://msdn.microsoft.com/en-us/library/office/fp179912%28v=office.15%29.aspx
    As an alternative you can look at the REST API which allows you to use web services to interact with SharePoint.
    http://msdn.microsoft.com/en-us/library/office/fp179912%28v=office.15%29.aspx

  • Receiver Axis Adapter to 3rd party webservice

    Hi,
    My scenario is ABAP Proxy --> PI --> 3rd party webservice using Soap Adapter with Axis protocal.
    I'm getting the following error when attempting to post to the 3rd party web service:
    nested exception is: java.net.SocketException: Connection timed out:could be due to invalid address
    We do have to go through a proxy server to go outside the firewall.  I'm not sure if this may be the issue, but I don't even see where you can set this in the AXIS adapter.
    Can anyone shed some light on the topic?
    Thanks and regards,
    Duke

    Configured as stated below, and the issue was resolved.
    How can I call some service over an HTTP proxy server?
    The Axis's standard and adapter's HTTPSender and CommonsHTTPSender handlers recognize the java's standard network properties (http.proxyHost, http.proxyPort, http.nonProxyHosts) for HTTP proxy setting. Please check that these System properties are correctly set at the J2EE server's System properties page. For more information on how to set Java System properties, please refer to the J2EE server's documentation (SAP Note 710146 How to change J2EE Engine JVM Settings).
    Thanks and regards,
    Duke
    Edited by: Duke on Aug 5, 2010 5:37 PM

  • How to publish a 3rd party webservice ?

    Hi Guys,
    I have a wsdl file of the 3rd party webservice and now i need to consume this service in ABAP on ECC 6.0.
    I am following the video presentation by Thomas Jung
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap
    while doing so the service already exists in SOAMANAGER under services so that it will be aviable for consuming. How can i make my 3rd party WSDL to be available there. Do i need to publish my service ?
    any suggestions or ideas would be appreciated
    Thanks,
    Raj

    Hi Rajeev,
    I have consumed the the 3rd party WSDL and created the consumer proxy object with out publishing the service.
    I have tried to define the Logical Port for this proxy in the SOAMANAGER and when i have provided all the details of the URL and Login details for the WSDL access settings with the option HTTP access.
    I am getting the errros as below
    SRT Framework Exception: Error in WSDL access: Exception occured in communication Framework:
    Error in HTTP Framework:
    I have tried the same URL in the browser with the login details and i am able to access the WSDL but from different server.
    I am tryinng all these by logging into ECC 6.0 from the webgui on a different server. Do you think the actual ECC 6.0 server from where the request goes the might be blocked?
    any help or suggestions would be appreciated
    Thanks,
    Raj

  • IDOC XML to 3rd Party WebService

    Hello,
    I am new to XI.  I want to now the possiblity and effort involved in using XI to receive an IDOC from an R/3 system and forward that IDOC as IDOC-XML to a WebService on a target 3rd Party application.  The 3rd Party WebService would have as oe of its input the IDOC-XML and will return a status of success or failure of RECEIPT.
    Is this a complex map in XI?
    Thanks in advance for any information here.

    Hi,
    >>>>>Is this a complex map in XI?
    the mapping itself - depends how many values you
    need to change (materials, partners ) and how
    lookup etc.
    the process - if you want to use the web service
    in a sync way (to know the status) you will need
    to use a BPM:
    IDOC - BPM - sync WS
    if the mapping will be easy (or non at all - just IDOC-XML) then the dev should take 1 day
    + tests etc...
    Regards,
    michal

  • Should i use Business system or Business service for a 3rd party file sys?

    Hi Gurus
    My requirement is to send a file from 3rd party client system to SAP ECC system.
    I want to confugure a file sender CC to pickup the file and send it to ECC system thru proxy.
    Now, after going thru the SAP definitions of 3rd party Business system (if the system is present the landscape and technical details are available) and Business service (if system's technical details is not available because it is not present in the landscape. Only the interface details are available, for ex: external webservice), i am not sure which one to use.
    What is the use of using a 3rd Business system instead of using business service in my current situation?
    In both the cases, i can use a file sender CC and pickup the file from a folder using FTP protocol.
    What is the criteria based on which i need to take this decision?
    And finally, how are the system name & host name details, which we given during 3rd party technical system definition in SLD useful?
    Many Thanks
    Chandra

    Hi Chandra
    Its always preferred to use Business service for communication with systems outside the landscape. As it does not refer to any SLD components and safe to use on internet etc.
    What is the use of using a 3rd Business system instead of using business service in my current situation?
    If you want to use 3rd party system you need to define party based communication and it acts as a party in production environment. You can also create a Standalone sytem in SLD for your use. Standalone technical system mostly refers to standalone Java applications in landscape.
    n both the cases, i can use a file sender CC and pickup the file from a folder using FTP protocol.
    What is the criteria based on which i need to take this decision?
    If your communication is party based and the 3rd party you refer is a party for ERP then it make sense to use a third party communication and use party name as well.By this i mean business wise. Else its always good to use Business service.
    And finally, how are the system name & host name details, which we given during 3rd party technical system definition in SLD useful?
    To use this third party system you need to register products on TS else you will not be able to see any Interface etc while configuring in ID. you need to add all details to it in SLD.
    Thanks
    Gaurav

  • User-Exit / Badi / BTE for STWB_WORK for integrating 3rd party tool

    Hi,
                 I need a user-exit / badi / BTE for the transaction STWB_WORK user test worklist. I'm trying to integrate a 3rd party tool to this transaction. When a worklist from this transaction is selected, i'll run the 3rd party tool executable from abap coding in the user-exit/badi/bte. Can anybody help me find one?
    thanks,
    Venky

    Hello Venky,
    I saw your question in sdn and I am wondering, if you got a solution for your question.
    I will be very happy, if you can help me you. I have the same problem as you.
    cu Manfred

  • Service for Intercompany 3rd party items

    Hi,
    We are doing Intercompany sales. But we get requests from the Intercompanies for doing service for non-company products.
    What I mean is, even if the parts are not made by our company, just for helping in doing the service for Intercompany's Purchased parts, is there a standard solution in SAP to support this?
    I know that in SD, we have Service Contracts & also in Customer service we have Feild Service module to handle Service for warranty parts.
    But how to use SAP to do service for 3rd party items?
    Please do forward me some links to learn.
    Thanks,
    Pri

    close

  • Securing 3rd party webservice

    I would like some advice please.
    We are building a flex application which is consuming a 3rd
    party web-service. We want to make sure that only the flex
    application we made can have access to this 3rd party web-service.
    The flex application will be publicly available, so there is no way
    of putting in some authentication here. How should I configure the
    proxy-config.xml to prevent other consumers (other than our flex
    app) from using the web-service available through the flex proxy.

    Hi,
    There are ways to secure destinations. Please visit the URL
    below for details on how to secure destinations.
    http://livedocs.adobe.com/blazeds/1/blazeds_devguide/services_config_3.html
    Hope this helps.

  • HRFORMS and Downloading for a 3rd Party Print Service.

    Hi there
    I was wondering if someone could help.
    We are currently testing our printing of the NEW HRFORM for GB.  This has been created in "FORM BUILDER" format
    We print the forms in the back ground and this creates a spool, but the spool contains Part List of PDF Spool.
    We use a 3rd Party Print provider and would like to Secure FTP the actual PDF File to them, but cannot download this file.
    Anyone got any ideas on how this PDF containing the Payslips be downloaded.
    Gary

    Anyone able to assist on this at all?

  • Best practice / configuring SAP for hosting 3rd party users

    We're trying to understand what the best approach is for supporting a 3rd party using our SAP instance.
    Our company has always operated with the expectation we're the only users using and putting data into the system.
    Now we're required to support (consider it to be application hosting) another organization's use of SAP.
    The two options we've been considering are:
    1. Separating the data via role assignment / authorization objects
    or
    2. Creating a separate SAP client to support the 3rd party.
    Is there a best / recommended practice to accomplish this goal? We have some of our team in each camp and don't want to re-invent the wheel as others must have already crossed this bridge.
    We're in a 4.7 environment.

    We're trying to understand what the best approach is for supporting a 3rd party using our SAP instance.
    Our company has always operated with the expectation we're the only users using and putting data into the system.
    Now we're required to support (consider it to be application hosting) another organization's use of SAP.
    The two options we've been considering are:
    1. Separating the data via role assignment / authorization objects
    or
    2. Creating a separate SAP client to support the 3rd party.
    Is there a best / recommended practice to accomplish this goal? We have some of our team in each camp and don't want to re-invent the wheel as others must have already crossed this bridge.
    We're in a 4.7 environment.

  • Looking for compatable 3rd party web cam's

    I have IChat 3.1 (v417) and looking for a compatable 3rd party web cam's for me and my girlfriend and we both have iBooks with OS 10.3.4
    just looking for a list of compatable web cams

    Hi
    Camcorders http://www.apple.com/macosx/upgrade/camcorders.html
    Use the URL in the first paragraph of this link http://www.apple.com/downloads/macosx/drivers/firewirewebcamdriver.html for Firewire Webcam. Actually many in this list will work with out this driver install. Regard it as a list only
    This Add-On http://www.ecamm.com/mac/ichatusbcam/ and their list of cameras.
    Ralph

  • EJB module for a 3rd party adapter not getting called

    Hello All,
    I have written and adapter module EJB code and calling it from Sender 3rd party Ariba cXML adapter.
    This EJB is successfully build and deployed on the server but after I added it in channel in ID....the cXML channel stopped picking up the messages. When I removed the config from the channel, it started working again.
    I think its a known bug in Ariba adapter that the audit logs can not be seen in RWB so it has made it more dificult for me to trouble shoot.
    How can i check if the adapter was called at all and what went wrong ?
    Is there a different way of adding custom modules in 3rd part adapters ?
    Please help.

    Hi Ranjeeth,
    Even I had same issue...after lot of debugginh realise path specified in CC for calling adapter module was incorrect...please check if you are pointing to correct location where you have deployed your module...
    Check this doc here:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    According to it, if you properly configure the ejb-j2ee-engine.xml file, then you'd call your module using "localejbs/<JNDIName>".
    Hope this will help.
    Nilesh

Maybe you are looking for