Www server: query string possible?

Hi,
I must write a cvi application to communicate with an iphone and android app. My idea is to use the (simple) web server in cvi. After two hours, the server runs perfect and I can fetch documents from the server.
My question is now: is there any possibility to write data (only a few queries) from the client to the web server, so that the web server is able to detect/utilize the data (client push technology)? All attempts were in vain.
Many thanks in advance
Jürgen

Hi Jürgen,
I'm not 100% sure if I understand you correctly but concerning your topic I found two Links:
Understanding Client-Server Applications -- Part I
http://zone.ni.com/devzone/cda/tut/p/id/4431
Understanding Client-Server Applications -- Part II
http://zone.ni.com/devzone/cda/tut/p/id/4433
Even the code examples are written in Labview you can have the same commands in CVI.
Best Regards
Jan

Similar Messages

  • Understanding the RH Server Query String

    Hello -
    This is my first post in the forums. I'm technically a new RoboHelp user, although I've been prepping for our company's move to RH/RH Server for a year.
    I'm configuring my projects, layouts, and server areas for our migration and populating some test content for our development team's use. I'd like to better understand the operators within the query string that is generated when I publish my project to RH Server.
    For example, when published to my server, I'm getting the following URL:
    http://10.10.10.46:8080/Production/server?&area=live&mgr=agm&agt=wsm&wnd=HLCAdmin|HSStanda rd&tpc=/Production/Production/server/live/projects/HLCAdmin/Administrator.htm?RINoLog28301 =T&ctxid=&project=HLCAdmin
    Is there a resource that lists the various operators that appear within the URL?  Or, can anyone help me identify what each of the following controls? (I've filled in the ones I believe I understand.)
    area = The Area I published to in RoboHelp Server.
    mgr = ?
    agt = ?
    wnd = The Window I defined as the default for this project.
    tpc =
    ctxid =
    project = The name of the published Project.

    Hi Aaron.
    As I suspected the tpc prefix is your context name. I am less sure about the following as they do not seem to have any values against them in any of the URLs I have.
    * mgr = ?
    * agt = ?
    These may be related to the connection settings to your DB but I am still trying to confirm this.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • QSUF (Query string url filter) and SQL Server reporting services report viewer parameters

    Hi,
    this is my issue:
    I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
    Then i have a QSUF that will be used to filter the clients list through the URL
    However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
    I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
    I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
    Any help would be appreciated
    Thanks.

    Hi,
    According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
    Did you use the Wiki page layout in your environment?
    You can change the page to a web part page, then check whether it work.
    There is a similar thread for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Getting extracter 'N' in query string from weblogic  server

    hai,
    I am using weblogic7.0 as app server and mssql2000 as database server.
    When writing sql queries i am using prepared statements.
    Ex:
    PreparedStatement pstmt=con.preparedStatement("select email from temp where tempid=?")
    pstmt.setString(1,"0000A");
    after executing the above query. If i check the query statement in database profiler
    then i am getting the following stament:
    select email from temp where tempid=N'0000A';
    here i am getting an extra character 'N' in the query string.
    Can anybody tell me how can i avoid that.
    Thanks in advance
    --durga

    durga wrote:
    hai,
    I am using weblogic7.0 as app server and mssql2000 as database server.
    When writing sql queries i am using prepared statements.
    Ex:
    PreparedStatement pstmt=con.preparedStatement("select email from temp where tempid=?")
    pstmt.setString(1,"0000A");
    after executing the above query. If i check the query statement in database profiler
    then i am getting the following stament:
    select email from temp where tempid=N'0000A';
    here i am getting an extra character 'N' in the query string.
    Can anybody tell me how can i avoid that.
    Thanks in advance
    --durgaHi. The driver is putting that there to ensure that if your parameter is a
    true-16-bit character that the DBMS doesn't corrupt it.
    If your string data are guaranteed to be simple English 7-bit ASCII
    characters, there's a driver property you can add to the pool connection
    properties that will tell the driver not to put the "N'" prefix. This is
    an important performance benefit because the "N'" will stop the DBMS from
    using varchar indexes in searches.
    If you are using the weblogic mssqlserver driver, add the useVarChars=true
    property. If you are using the MS free driver or the DataDirect driver,
    add a property sendStringParametersAsUnicode=false.
    Joe

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • Publishing server doesn't work - error 'The request URL doesn't contain the query string for the client OS'

    Hi,
    I'm trying to setup an App-V environment in my lab.
    I've used the App-V 5.0 Trial guide to help me configure all necessary components.
    I'm able to install everything without error.
    when come time to publish an app, it simply doesn't show up on my client.
    after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
    'The request URL doesn't contain the query string for the client OS'
    My setup is pretty simple.
    App-V Server managament and Publishing on the same box
    App-V database on my SQL server.
    I'm able to see the publishing "webpage" by using http:://localhost:889.
    It only display this :
    -<Publishing Protocol="1.0"
    <Packages />
    </Publishing>
    I've published one app from the management console.
    any idea what could mean this error?
    thanks

    Hi,
    thanks for the link.
    I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
    I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
    Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
    Here's the web.config
    <?xml version="1.0" ?>
    - <configuration>
    - <system.web>
    <compilation debug="false" targetFramework="4.0" />
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
    - <authentication>
    - <!-- We don't support form authentication, but this will supress x-ray security warning
    -->
    <forms requireSSL="true" />
    </authentication>
    </system.web>
    - <system.webServer>
    - <modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </modules>
    - <security>
    - <requestFiltering>
    - <verbs>
    <remove verb="GET" />
    <add verb="GET" allowed="true" />
    </verbs>
    </requestFiltering>
    </security>
    </system.webServer>
    - <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    + <behaviors>
    - <serviceBehaviors>
    - <behavior name="">
    <serviceAuthorization impersonateCallerForAllOperations="true" />
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    - <bindings>
    - <webHttpBinding>
    - <binding name="SecureBinding">
    - <security mode="Transport">
    <transport clientCredentialType="Windows" />
    </security>
    </binding>
    <binding name="UnsecureBinding" />
    </webHttpBinding>
    </bindings>
    - <protocolMapping>
    <add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
    <add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
    </protocolMapping>
    - <standardEndpoints>
    - <webHttpEndpoint>
    - <!--
    Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
    via the attributes on the <standardEndpoint> element below
    -->
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

  • Query string with flash lite, possible?

    I searched the net and Adobe website, read the complete i-mode document provided by Docomo (on adobe site) and couldn't find any information on the subject. I'm trying to figure out if this is something specific to the Japanese market or all flash lite players react the same way. I will explain my issue.
    In flash, you can pass variables as a query string like this:
    http://www.mysite.com/myFlashFile.swf?val=1&val2=2 (etc)
    Those variables will end up on the root time line. After doing some testing, I cannot receive any of those variables if the version of flash lite is lower than 3.0. It happens for Docomo, AU, Softbank carrier, all japanese ones I tested. If I test with the Docomo emulator, I can reproduce this behavior.
    Does this behavior is by design?  Nobody seems to be talking about it.
    Thank you for any information on the subject.

    Hi Collin, Did you find the solution? I am facing similar problem where I do not want to send any xml/payload. Invoke PI interface with URL only. Please help.

  • IIS Webgate losing connection to OAM server with query string in URI

    Hi,
    We have a Windows 2008 server with IIS 7/7.5 and the OAM 10.1.4.3 webgate installed on it, and are having a problem where it appears that during the processing of a request, the webgate is getting an ErrEngineDown (i.e., the webgate thinks that it's lost connection to the OAM server).
    We have a number of similarly configured IIS servers + webgates that work fine, but this problem is only occurring on one of the IIS servers, AND it appears that this only happens when the URI being requested includes a query string.
    When this happens, we see the following in the webgate oblog.log file:
    2012/10/08@16:45:10.244000     3148     2928     CONN_MGMT     DEBUG1     0x00000201     ..\src\aaa_service_client.cpp:935     "Simulating engine down reply"     
    and:
    2012/10/08@16:45:10.244000     3148     3220     WEB     TRACE     0x00000203     ..\src\iis_filt_info.cpp:554     "Function entered"     _TraceName^ObIISFiltPreprocHdrs::RedirectTo     redirectUrl^/access/oblix/apps/webgate/bin/webgate.dll?status%253D500%2520errmsg%253DErrEngineDown     
    and:
    2012/10/08@16:45:10.244000     3148     3220     ACCESS_CLIENT     DEBUG3     0x00000201     ..\src\aaa_service_client.cpp:3359     "ObAAAServiceClient::DecNumActiveReferences"     _numActiveReferences^0     AAA Client Address^0x02139730     
    2012/10/08@16:45:10.244000     3148     3220     ACCESS_SDK     ERROR     0x00000501     ..\src\obuser_session.cpp:1564     "ObError exception caught"     raw_code^124     
    We've confirmed that the IIS server connectivity to the OAM server is fine.
    When they test, they get the OAM FORM login page, then then enter the username and password, and then the browser shows an "Oracle Access Manager Operation Error" webpage (which probably corresponds to that "ErrEnginedown".
    The puzzling thing is why this would happen but only if the URI includes a query string. Also, as I mentioned, we are only seeing this problem with one IIS server (+webgate).
    We have an SR with Oracle, but that hasn't made much progress, so I was wondering if anyone has encountered something like this?
    Thanks,
    Jim

    Hi,
    It turned out that there were some application errors that were occurring and when those were fixed, this problem disappeared. We don't control the IIS application, so we're not 100% what the problems were.
    Jim

  • Is it possible to pass parameters as query string to url iview of of sap tr

    I have created sap transaction iview . and created url iview for this sap transaction iview. Now i want to pass the parameters to this url iview as query string? and this parameter values should populate in the sap transaction screen . Have any body worked on this?
    pl. help.
    thanks

    URL iview I think is not the right way to do this.
    For this we have several templates calles application integrator.
    BR, Oliver

  • Sql Server Express Query String error

    I am having trouble trying to filter my sql database using the query string against a date column in my database.  I set a date variable = "dd/mm/yyy" format but when I apply that in the sql query as:
    StartPeriod = CDate("01/" & Today.Month.ToString & "/" & Today.Year.ToString)
    EndPeriod = CDate(Today.Day.ToString & "/" & Today.Month.ToString & "/" & Today.Year.ToString)
    At this point StartPeriod = #04/01/2015#  and EndPeriod is #04/27/2015#
    sql = "SELECT * FROM Transactions WHERE  ((PaidOutDate IS Null) OR (TransDate >= '" & StartPeriod & "' AND TransDate <= '" & EndPeriod & "')
    When I execute the Sql command I get this error:
    "Conversion failed when converting date and/or time from character string"
    My Current Culture is {en-AU}
    Any help is appreciated.
    Brad
    BHend

    Visakh,
    Further to the problem above.  Your suggestion worked well on my laptop, but when I transferred the program to my desktop it failed with the error: "Conversion failed when converting date and/or time from character string" again.  Both
    computers are running the same version of Windows 8.1, both running the same version of vs express 2012 and both running the same version of ssms.  Both Windows 8.1 versions have the same English (Australia) as the Region and language.  The only
    difference that I can find is that while both have a CurrentCulture of {en=AU} and CurrentUICulture of {en-GB} the laptop, where the program works has an InstalledUICulture of {en-GB} and the PC where it doesn't work has an InstalledUICulture of {en-US}.
    Do you think this could be the problem?  If so, how would I change the InstalledIUCulture?
    As you can tell I am way our of my depth here, I've looked in the Control Panel and both computers appear to have the same settings for options that I think are relevant, but of course there could be hundreds of other settings nI don't know about. 
    I've also progressively worked through the Registry on both computers comparing their settings but could find nothing relevant. 
    Any suggestions of where to look?
    Thanks Again
    Brad
    BHend

  • Dynamic Interface in Query String does not work?

    Hi All,
    i have exposed a interface as a webservice with the help of the Define Web Service in Configuration Builder.
    In the SOAP Sender Communication Channel i have checked the options Use Encoded Headers and Use Query String
    The url of the webservice looks like this:
    http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS:CC_SOAP_SENDER&version=3.0&Sender.Service=BS&Interface=http%3A%2F%2Fnamespace.com%2Fabc%2HER%2FGlobal%5EMIOS_GetDetails
    This works which is great, i can now retrieve supplier details with this webservice. Now i want to expose another interface as a webservice. That URL looks like this:
    http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS:CC_SOAP_SENDER&version=3.0&Sender.Service=BS&Interface=http%3A%2F%2Fnamespace.com%2Fabc%2HER%2FGlobal%5EMIOS_EventBooking
    As you can see i have a different interface in the URL's of the Webservices. I want to have both make use of the same Communication Channel which is possible according to [SAP Note 856597|https://websmp130.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597] See Q: Can I set the interface name dynamically from the client? also in this document : [How to Use the XI 3.0 Soap Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79]
    The problem is that when i try to call the second web service (EventBooking) that is routes to the mapping of the GetDetails interface, i can see this in SXMB_MONI. Therefore it gives an Error.
    When i try both scenarios in Configuration Builder they both work fine, only the webservice call of EventBooking ends up in the Message Mapping of GetDetail.... Why? And how to solve this?
    Anyone have experience with the feature mentioned in the SAP note?

    After some further examination it seems that both calls are picked up by the same interface. In the RWB both the messages are picked up by the MIOS_GetDetails...
    How can i fix this?

  • Search Engine Safe query strings

    hi guys, ok i got a good one for you...
    so ive heard that google (and users) like it if you chang:
    www.abc.com/somepage.cfm?productid=1234
    into
    www.abc.com/products/red-ones/1234
    or similar.
    so if i'm going to do this which is the best format? (i'm
    building the site from scratch so have a blank canvass)
    option 1:
    www.abc.com/products/car-parts/fuel-systems/1234
    this option - looks nice but actually points to a *virtual*
    page (www.abc.com/products/car-parts/fuel-systems/1234/index.cfm)
    that is several sub directories deep; im sure i read somewhere that
    the closer a page is the root the better google will rate it... so
    maybe this is better..
    www.abc.com/car-parts-fuel-systems/1234 or
    www.abc.com/car-parts-fuel-systems-1234
    -less visually attractive to my way of thinking but perhaps
    google would rate this page higher than the option1 one?
    or how about this (which had been suggested to me but i dont
    like)
    www.abc.com/products.cfm/car-parts/fuel-systems/1234
    i dont like the above one as it isnt www3 correct is it?
    although i can see how it is possibly nicer than
    www.abc.com/products.cfm?carpartid=1234
    so what do you guys think?
    thanks very much indeed
    Nick

    hi Nick,
    whilst you handle it all in CF via stub files a much cleaner
    approach is to use web server rewrites. On IIS you need to purchase
    something called ISAPI_Rewrite and on Apache it's free called
    mod_rewrite.
    What this does is allow the web server to pattern match your
    incoming url requests via regular expressions and rewrite them on
    the fly.
    For example,
    I'm currently working on a fusebox site, that has big massive
    query strings like
    http://mysite/index.cfm?fuseaction=links.display
    with mod_rewrite, I'm actually accessing the pages as;
    http://mysites/links/display
    - much much cleaner
    and you can get as complex as you like, for example to get
    information about a product into my URL i have one for example;
    http://mysites/products/product/1234/a-super-cool-widget
    and i have a rewrite rule that is then plucking out the
    '1234' from the URL and actually serving the page;
    http://mysites/index.cfm?fuseaction=products.product&productid=1234
    have a look into that and see how you get on,
    edit: I should say that you have to write the rewrite rules
    yourself - they're not that magic and with a little bit of time you
    can usually get them working pretty quick.

  • How to customize the SharePoint 2010 search query string parameters

    Hi All,
    I am trying to redirect default SharePoint search to a custom search results page.
    I modified the Search Settings to redirect to the URL that I want.
    But my custom search page takes different query string parameters to provide the results.
    Eg: SharePoint search passes k=search term when we perform a search. But my custom page needs
    test=search term
    I would like to pass 'test' instead of 'k' as a query string. Is this possible?
    Thanks
    Carol

    There is no way out of the box to change it.  You could always write your own control that passes the value or inherit from SearchBoxEx web part (if you are using a search center) to pass a different value.  Query String Filter web part won't
    help you here I am afraid.  However, wouldn't it be easier just to change your code to take the value that SharePoint passes you?
    Corey Roth - SharePoint Server MVP blog:
    www.dotnetmafia.com twitter: @coreyroth

  • Pass multiple query strings to url using HTTPWebRequest

    I'm trying to read data from API (in Json format) and load it into SQL server using script task in SSIS.
    Dim Request1 As System.Net.HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(URL), System.Net.HttpWebRequest)
            Dim Object1 As [Object]
            Dim Response1 As System.Net.HttpWebResponse = Nothing
            Dim reader1 As System.IO.StreamReader
            Dim myResponseString As String
            Request1.Headers.Add("Authorization: Token *****")
            Try
                Response1 = DirectCast(Request1.GetResponse(), System.Net.HttpWebResponse)
                reader 1= New System.IO.StreamReader(Response1.GetResponseStream())
                myResponseString = reader.ReadToEnd()
    I'm able to do this with the URL. However, the requirement now is to pass different query strings to the URL and load the data into SQL.
    Could someone please provide the code sample to achieve this.
    Thanks

    If we sent you a code you must try and tell that it doesn't work or that's not what I want, this is better than repeating the same question again and again. Here you go another snippet for httpwebrequest with querstrings and tested:
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    Dim request As HttpWebRequest = DirectCast(HttpWebRequest.Create(New Uri("http://www.google.com?querstring1=1&querystring2=2")), HttpWebRequest)
    request.BeginGetResponse(New AsyncCallback(AddressOf ReadCallback), request)
    Catch ex As WebException
     End Try
    End Sub
    Private Sub ReadCallback(asynchronousResult As IAsyncResult)
    Dim request As HttpWebRequest = DirectCast(asynchronousResult.AsyncState, HttpWebRequest)
    Dim response As HttpWebResponse = DirectCast(request.EndGetResponse(asynchronousResult), HttpWebResponse)
    Using streamReader1 As New StreamReader(response.GetResponseStream())
    Dim resultString As String = streamReader1.ReadToEnd()
    Dim result As String = Convert.ToString("Using HttpWebRequest: ") & resultString
    End Using
    End Sub
    Fouad Roumieh

  • Keeping query strings despite an automatic 302 redirect

    is there anyway for a query string to persist despite an automatic 302 redirect by the server??
    for instance if my site has a 'tmp' directory and i want to pass a parameter to the index page in 'tmp'
    ... but I go to
    http://www.mysite.com/tmp?qvar=something
    in a browser, the server will automatically do a 302 redirect to
    http://www.mysite.com/tmp/
    so the query string variable is lost.
    i thought about having a filter run, to pick off the query string variable before the redirect, but the filter will only run after the redirect happens.
    any insight would be great.
    thanks.

    This might help: http://www.mail-archive.com/[email protected]/msg00353.html

Maybe you are looking for

  • How to use Properties Metadata global service using KM API's

    Hi, I have a requirement where I need to get the list of property Namespaces configured in the KM Portal and also all property Names associated with each Namespace. I was able to see the list of Namespaces in KM portal at "ContentManagement --> Globa

  • Naviage to another iView in Visual Composer

    I am trying to configure navigation from one iView to another. I have going through many tutorials but to no avail. The result of the steps below should be that the ”source” iView is shown. When the submit button is clicked the value in the source_fi

  • Creation of  BADI in ECC 6.0

    HI Every 1, Pls any body let me know how to create the BADI in ECC6.0. I tried in 4.7 version but presently i m workin ECC 6.0,  finding different screens . anybody let me know . rewards will be there its very urgent pls...... Madhu

  • Sleep prevented by SB 0, SS 1, AS 1

    I ran into a situation this AM where 3 separate attempts to have my mid 2009 MBP sleep failed. Its running 10.6.3 I see these messages in kernel.log (and this is every message from the time period): May 7 05:39:14 mystic kernel[0]: CoreServicesUIAg[7

  • Composition vs Delegation

    Hi, Composition is about the relationships between objects. Delegation is about passing work from one object to another. So both are different. Example for Delegation:- class RealPrinter { // the "delegate" void print() { System.out.print("something"