WPF application should communicate with endpoints

How   WPF application should communicate with endpoints?

Hi ,
Thanks for posing!
Do you want to using WPF call endpoint in azure service? I suggest you could create a WCF service as web role or a worker role on azure project, and use your WPF application call WCF service. You could set the endpoint in WCF configuration and WPF configuration.
You could refer to this sample code:
http://www.codeproject.com/Articles/188464/Host-WCF-Services-in-an-Azure-Worker-Role
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Vix file in UI builder doesn't recieve data from Webservice application that communicates with SQL server database

    I have created Web service VI ("Prikaz insolacije.vi") which has two input string terminals (FROM / TO) for dates and two output terminals for data (1-D array) collected from database (MS SQL server). This VI communicates with database using functions from database palette with appropriate DSN and SQL query. There are two tables with two data columns (Time and Insolation) in Database.
    This VI works when you run it in Labview 2010, but when I used it as sub VI in UI builder it doesn't return any data.
    Could you please help me find a solution. Is it possible to communicate with SQL server database this way or there is another way?
    There are two attachmet files: Image of .vix file in UI builder and .vi file ("Prikaz insolacije.vi")
    Please help me ASAP!
    Thanks,
    Ivan
    Solved!
    Go to Solution.
    Attachments:
    vix file in UI builder.png ‏213 KB
    Prikaz insolacije.vi ‏35 KB

    Status is False and source string is empty. It behaves like there is no code in VI.
    I tried to access web service directly using following URL:
    http://localhost:8080/WSPPSunce/Prikaz_insolacije/2009-11-05/2009-11-01
    and it doesn' t work. It returns zeros.
    The response is:
    <Response><Terminal><Name>Insolacija</Name><Value><DimSize>0</DimSize></Value></Terminal><Terminal><Name>Vrijeme</Name><Value><DimSize>0</DimSize></Value></Terminal></Response>

  • Can I use our PC with existing SCXI setup (conencted to a PC by PCI-MIO-16E4) and use one labview application to communicate with FP and SCXI systems at the same time?

    We have an existing PC with SCXI setup. can i plug in a PCI-485/2 card connected to a FP-1001 network, and get both systems to be utilized in a single labview VI?

    Yes, you can utilize both sets of resources (SCXI and FieldPoint) at the same time from the same VI.
    If you were using the SCXI RS-485 interface, the SCXI and FieldPoint system would have to be on separate serial ports. Beyond that, there should be no real restrictions on accessing both of them.
    Regards,
    Aaron

  • Java application communicate with java card applet without java card

    Can I write java application to communicate with java card applet without using java card?
    Can I send APDU to java card applet on computer(not install in java card)? If it's not, how can I write?
    Best Regard,
    Thanawan

    Your JCOP simulator implements a JCVM/JCRE according
    to specs. The CREF does that same thing excepts it's
    only simulates the API without crypto or third party
    applets. JCOP simulator is more then that. They are using thesame_ codebase for simulator and for oncard JCVM. Basically you are dealing with the same environment in both cases.

  • How JavaFX can communicate with server?

    What is about communications with server from my JavaFX applet? Nowhere here found any of turorial or info how to support this thing. I need to develope web application, where my javaFX web app will not only makes different animations but should communicate with server very much. What approach to use in this case? Will we see here good example of how this could be managed?For now I see only client side stand-alone application.

    There are examples of JavaFX programs using Web services in the mentioned samples. For example [LocalSearch: Location-Based Coffee Shop Search With Yahoo Webservices|http://www.javafx.com/samples/LocalSearch/index.html], [Shopping Service: Accessing Yahoo's Shopping API from JavaFX|http://www.javafx.com/samples/ShoppingService/index.html], [Weather Widget: Getting Weather Forecast from Yahoo!|http://www.javafx.com/samples/WeatherWidget/index.html], and some others.

  • SOA_server1 not able to communicate with AdminServer

    Hi Everybody,
    I am trying to setup SOA environment on my laptop, i am stuck with this following problem , It will be great help if somebody suggest me some solution.
    problem Description:
    1) I started SOA admin server using startManagedWeblogic.cmd on my windows its starting fine with out any issues.
    2) when I started soa_server1 using following command
    C:\Oracle\Middleware\user_projects\domains\soadomain\bin>startManagedWebLogic.cm
    d soa_server1 http://myalya_pc:7001
    following is the error i am getting on the console
    Unable to establish JMX Connectivity with the Adminstration Server AdminServer at service:jmx:t3://[
    2001:0:4137:9e76:1093:2f13:9ce0:460c]:7001/jndi/weblogic.management.mbeanservers
    .domainruntime.
    interestingly server is running are ready to accept the requests .
    here are my questions related to this subject.
    1) How to make this error go away.
    2) is it really mandatory that "soa_server1" managed server should communicate with AdminServer to build and test Oracle composite applications ?
    i look forward to hear back from Oracle SOA gurus .
    regards,
    Mlya.

    startManagedWebLogic.cmd soa_server1 http://localhost:7001
    So was it really was due to the IPv6 address then?
    Earlier you were using
    startManagedWebLogic.cmd soa_server1 http://Suhel-PC:7001
    If you open your hosts file, you might see that Suhel-PC is mapped to the IPv6 address
    2001:0:4137:9e76:1093:2f13:9ce0:460c (before an IPv4 address?) OR getting bound to an IPv6 address via DHCP because IPv6 is enabled on your machine.
    While localhost is mapped to 127.0.0.1 (before 0::1)
    And due to your version of java, the following connection failed:
    jmx:t3://[2001:0:4137:9e76:1093:2f13:9ce0:460c]:7001/jndi/weblogic.management.mbeanservers.domainruntimeWhile now your connection might be using:
    jmx:t3://[127.0.0.1]:7001/jndi/weblogic.management.mbeanservers.domainruntime

  • DMZ Ports to Communicate with SCCM Primary Server

    Hello,
    I have searched and came to know that on firewall, following ports should be open for DMZ to communicate with SCCM primary server 
    HTTP 80 and 443
    8530
    TCP 10123
    TCP 135TCP 445
    We are planning to implement a software on DMZ server which should communicate with SCCM primary server.
    Do the above ports work for communication from DMZ to Primary or if there are more ports required for it?
    Is it possible to achieve this without the SCCM client installed on the DMZ server as i would like the software to communicate via its own methods but the required ports should be open.

    Could you please provide the WMI and SQL ports which would be required.
    If we talk about generically, Are below ports enough for a DMZ server to communicate with the primary site server ?
    HTTP 80 and 443
    8530
    TCP 10123
    TCP 135TCP
    445

  • Can BEA JMS C APIs be used to communicate with other JMS servers?

    Hello,
              Can BEA JMS C APIs be used to communicate with other JMS servers?
              If yes, is it enough to download, compile the JMS C APIs, and link the C applications to the libraries (shared or static) produced?
              If not, can you point me to an open source framework that can be used to enable C applications to communicate with JMS servers?
              I have HP-UX server that has both C and Java compilers (Java 1.5).

    The JMS C client is a pre-compiled library - we don't supply the source - so C applications link to it. If I recall correctly, there is an HP version. The C client library is actually thin layer that uses JNI to directly invoke a Java JMS client running in an embedded JVM.
              The library might work with other vendor's Java JMS clients, but BEA does not officially support this usage.
              Tom

  • Programming an application to communicate to an anritsu spectrum analyzer.

    Hi, i'm trying to create an application to communicate with the MS2601B, Anritsu Spectrum Analyzer through the GPIB port.
    I'm using a new GPIB card from National Instruments, model: 183617"k"-01, and the NI488.2 protocol.
    I have a problem when i send instructions as IBWRT or IBRD, the device doesn't make anythig, but it works when i send IBCLR or IBLOC, so i don't know what happens to it.
    I know it works perfectly with an old HPIB card, and using instructions as IOOUTPUTS or IOENTERS,
    Maybe to communicate with this Spectrum Analyzer it's necessary to compile the program with a special file or library that i don't have.
    Also when i start the MAX 2.0 (Measurement & Automation Explore
    r) NI program, doesn't answer to the *IDN? query or to the especific commands (to control de instrument) i send to it.
    Need your help, please. Thanks

    Hello guillem,
    Thank you for contacting National Instruments.
    Open up MAX again, expand the Devices and Interfaces tree, right click on your GBIP card and select Scan for Instruments. Make sure that it successfully finds your instrument and does not give you any errors. If it is unable to find your instrument, check your cabling and connections.
    If MAX finds your instrument, right click on the instrument and select Communicate with Instrument to open the NI 488.2 Communicator. In the Send String field, type "*IDN?". You do not have to precede it with IBWRT to send the command. Click the Query button. If your instrument does not send a response, check to ensure that your instrument is 488.2 compliant. If it is not, you will need to obtain the
    specific command set for that instrument from the manufacturer.
    If everything checks out up to this point, open up LabVIEW. Instead of using the 488.2 functions to communicate with your instrument, try using the VISA functions. I have written a small VI that illustrates how to use the VISA functions to send a command to your instrument and receive data back. I was able to locate a driver set for the MS2601 in our Instrument Driver Network. You may also want to consider trying these. They may work for your instrument.
    If you are still experiencing problems, inspect your pins and cables. It is possible that one or more of your data pins may be damaged. Also, try communicating with a different instrument using the same card. Likewise, try communicating with the same instrument using a different card, if possible. All of these steps will help isolate the problem.
    I hope this helps! If none of this works and you are still having problems, let me know.
    Matthew C
    Appli
    cations Engineer
    National Instruments
    Attachments:
    VISA_Communication.vi ‏33 KB

  • Should I use "Windows Forms Application" or "WPF Application" or ..... ?

    Hi everybody!
    I want to become a master programmer.
    I want to programming "Windows Desktop"  
    I am using Visual Studio Ultimate 2013 by language C# on  Windows 8 OS
    I am confusing because Should I use "Windows Forms Application" or "WPF Application" or .....?
    which one is better?
    Help me!!!!!!!! Please!!!!!
    Thanks a lot!
    if possible, please send me "step by step exercises about the WPF Application to email: [email protected]
    thanks again

    Although I don't have much experience with WPF, only Windows Forms, this blog post might shed some light on which decision you should make:
    http://rachel53461.wordpress.com/2012/10/12/switching-from-winforms-to-wpfmvvm/
    If you are looking to just add a quick and dirty UI on top of a small script or executable tool, Windows Forms would be the answer, as it is very easy to learn and use. However, since you have the best tools currently available, and you say you want to do
    it the right way, I would say learn WPF now. You will benefit from it later on.

  • Can i communicate by the USB port, if my application is set up to communicate with the serial RS232 port???

    Hi to all labview users... Please help me with my deadly problem. Last Deadline is on monday next week!.
    I got a complete program now, written and tested OK. It communicates with a slave to control a motor. I've set up the program to communicate with the slave by the VISA RS232 Serial Port commuication.  and all works fine...
    Now the problem is.. that The communication should have been by the USB port instead. So what I have done now, is that i used a USB to RS232 converter.  So that the USB Plug is plugged to the PC, and the RS232 end to my SLAVE,
    When I send a command to my SLAVE,  the SLAVE seems to understand it and it executes the command. But I must read some data at the port after sending my command to the SLAVE, coz, this command ask the SLAVE to start streaming data to me.
    All communication to me from the Slave  crashes so that i get ( sometimes if I get data ) wrong unknown data i cant understand.
    So the big question is: Can i use USB communication although my Application is set up with serial communication if I use a USB to RS232 converter???  ( the Driver for the USB - SERIAL conv. is installed well.)
    Baudrate :115200.. parity : none,  Data bits: 8, stop bit : 1.
    Please help me.....
    Hassan Zamzam
    Pictures attached
    HFZ
    Attachments:
    Connection diagramJPG.JPG ‏33 KB
    Serial ReadJPG.JPG ‏107 KB
    Serial ConfigJPG.JPG ‏104 KB

    Hi ZamZam,
    Thanks for your detalied description of the problem. However I think the problem is how your USB-RS232 converter is converting the incoming serial command to the USB port. All Labview can see is a "normal" serial port. Do you have some information on the converter? You might also want to contact them to see if they are aware of this issue.
    Thanks! 
    Dennis Morini
    Field Sales Engineer
    National Instruments Denmark
    http://www.ni.com/ask

  • Communicate with LabVIEW RunTime Application

    Hi all.
    I have an application created in LabVIEW, and I built an executable file from it (Let's call it App1.exe).
    While App1 is running it sometimes generates an exception and is aborted. The problem is that the Run-Time APP1.exe GUI remains open (Which is undesirable). I need a way to close it somehow. I realized that the only way to close it is from another application (Let's call it App2).This solution can be realized in 2 different ways:
    1) App2 communicates with App1 and closes it if App1 is not alive. The problem is that sometimes App1 is simply working slowly because of system problems and I might shut it down even though It's still running
    2) To somehow obtain from the Run-Time engine what's the state of App1. I think that this way is preferable but i don't know how to communicate with the Run Time Engine.
    I'll appreciate any suggestions (Preferably with some kind of example code)
    Thanks, Nadav 
    P.S. I'm using LabVIEW 8.2.1.

    What do you mean that it is "causing an exception"? Typically, an exception is a pretty serious failure that would kill the runtime engine too (thus closing all windows associated with it). What sort of error is stopping your application, but not the runtime engine executing it? It sounds like you possible have an internal error state that you haven't handled adequately. Part of the handling for a non-recoverable error should be orchestrating an orderly shut down of the application.
    For what it's worth, if the runtime engine is still alive you can connect to it using VI Server and ask the execution state of the top-level VI. If it comes back "Idle" your code has stopped.
    Mike...
    Message Edited by mikeporter on 05-21-2007 12:43 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Issue with worksheet.Select(true) after hosting Excel window in WPF application

    The issue is with Office 2013.
    We are hosting excel workbook window in WPF application using HwndHost class. In overridden BuildWindowCore method of HwndHost class, we are creating a MDICLIENT Window and setting this MDICLIENT window handle as parent for Excel
    main window handle and returning HandleRef object of MDICLIENT window handle from BuildWindowCore method.
    Once HwndHost control is loaded, we are selecting sheet of excel in the loaded event of HwndHost control. The code for selection of sheet is given below.
    dynamic workSheet =
    this.excelApplication.Workbooks[1].Worksheets[sheetName];
    this.excelApplication.Workbooks[1].Activate()
    workSheet.Activate();
    workSheet.Select(true);
    The first time execution of
    workSheet.Select(true)
    halt for few seconds and then it throws exception “System.Runtime.InteropServices.ComException”
    with message “The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))”.
    But it executes successfully without delay on subsequent calls. Sometimes the execution halt for minutes on different Systems.
    This absurd behaviour is seen only once in application instance life time and that too after excel window gets loaded in WPF application. If we execute
    workSheet.Select(true)
    before loading of window then it executes properly. Once
    workSheet.Select(true)
    executed for first time with exception, it executes successfully without delay on subsequent calls.

    No, I dont have any macro in the sheet and it is happpening with all workbooks. The problem is consistent with all workbooks and also it throws exception only for first time in the application. If I execute it again in same application instance, it works
    properly.

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • How Bridge communicates with third party applications?

    Hi,
    Is it possible to communicate between Adobe Bridge and a third party application using Bridge SDK?
    I want to learn how Bridge can communicate with other application? Bridge SDK have samples that explain how Bridge communicates with other Adobe applications like Photoshop and Indesign. Can anyone guide me or provide me a sample where Bridge communicates with a third party application?
    Thanks.

    As an example, this shows one way of getting a list of selected files from Bridge via Photoshop using C#
    using System;
    using System.Collections;
    using ps = Photoshop;
    namespace getBridgeFiles
        class Program
            static void Main(string[] args)
                ps.ApplicationClass app = new ps.ApplicationClass();
                String Code = "var fileList;"+
    "if ( BridgeTalk.isRunning( 'bridge' ) ) {"+
    "var bt = new BridgeTalk();"+
    "bt.target = 'bridge';"+
    "bt.body = 'var theFiles = photoshop.getBridgeFileListForAutomateCommand();theFiles.toSource();';"+
    "bt.onResult = function( inBT ) { fileList = eval( inBT.body ); }"+
    "bt.onError = function( inBT ) { fileList = new Array(); }"+
    "bt.send(8);"+
    "bt.pump();"+
    "var timeOutAt = ( new Date() ).getTime() + 5000;"+
    "var currentTime = ( new Date() ).getTime();"+
    "while ( ( currentTime < timeOutAt ) && ( undefined == fileList ) ) {"+
    "bt.pump();"+
    "$.sleep( 100 );"+
    "currentTime = ( new Date() ).getTime();"+
    "}}"+
    "if ( undefined == fileList ) {"+
    "fileList = new Array();}"+
    "fileList = decodeURI(fileList.toString());";
                String RC =  app.DoJavaScript(Code, null, null);
                ArrayList list = new ArrayList();
                list.AddRange(RC.Split(new char[] { ',' }));
                for (int index = 0; index < list.Count; index++){
                    Console.WriteLine(list[index]);
                Console.ReadLine();

Maybe you are looking for

  • If your ipod freezes, skips songs, and wont load, read this

    ok, i have a 4th gen 40gb ipod which worked fine until i upgraded to itunes 5. now my ipod shows a folder with !, songs skip, and it freezes after 5 songs.disk mode didnt help either, as it didnt show up on my computer even though the ipod displayed

  • How do I  get iBooks to read to me

    i understand that I can get iBooks to read my books. How do I do that?

  • ITouch iTunes and Podcasts

    Does anyone know how to best manually manage podcasts and songs on the iTouch so that one can completely avoid the cloud and auto syncing.  I had no problem doing this with the old OS but since the recent upgrades every time I set one preference to n

  • ADE doesn't support Windows 8

    Hi, After waiting for a week for an answer why I couldn't authentiate my Adode Digital Edition a got an answer from the chat. ADE doesn't support Windows 8!!! http://www.adobe.com/in/products/digital-editions/tech-specs.html If you using Windows 7 64

  • [Solved] KDE 4.10-1 problems after update

    Hi, Yesterday I updated my system with pacman -Syu and all of the KDE packages were upgraded to 4.10.1-1 and now I'm having some weird problems.. KDE logs in but the window decorations are gone(some applications start but I can't move them while othe