Error 66 and error 18500 using HTTP GET control: SOLVED

Hello, I'm new as a member and as a LabView user but I spent many hours trying to get the URL_Get_HTTP vi to play nicely with my code, and as a courtesy I thought I would post the problems I was having and the resolution(s).
First of all, I was receiving an Error 66 every time I would attempt to make a connection.  This implies that the server terminated the connection, but I knew that this was not the case as I could connect just fine in other manners (browsers, PHP, etc)...
1) I changed the "bytes to read" input of the "TCP Read" control residing in the middle of the "TCP Buffered Read.vi" from a constant of 1024 to 1.  I have not confirmed that this step is required and you may want to apply step #2 on its own. 
2) I stripped the Error 66 from the "URL Get HTTP Document.vi" inbetween the "TCP Buffered Read" control and the "TCP Read Stream" control.  You can do this by disconnecting the wire, adding a "Clear Error" control on that wire, or perhaps least offensively using my attached control which selectively removes only Error 66.  You should review my control before using it, as I am a new LabView user!  If you think this is "bad form" to strip and ignore an error I would completely agree, but I'm going to classify this as a bug in the control itself, and would also point out that the 4th post of the following thread concluded the same thing.
http://forums.ni.com/t5/LabVIEW/Can-t-read-page-containing-XML-using-GET-HTTP-Document/m-p/1191803#M... 
3) To this point the Error 66 is no longer showing up, but now Error 18500 is, which is labeled as "undocumented" which was not very helpful.  Most people will probably not suffer from this problem, but ultimately the cause was that my URL string ended in a carriage return.  The HTTP control does not appreciate this in any way, and a simple Trim on the string before sending it resolved this issue.
Anyway, good luck!
Attachments:
filter_error.vi ‏24 KB

Try to send some valid data in COMP_CODE.
It seems that SAP is returning some reply which is not fitting your response Schema.
SAP Call is made and problem is in generating response document.
Use the design console to test the view again. and try to see the XML resquest document and response document. Compare your request xml with that in design console.

Similar Messages

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • Is it possible to use HTTP GET navigation links?

    Hi,
    I'm learing JSF technology, I found it very powerful.
    But I'm not able to understand how generate navigation links that use HTTP GET method. Do anyone Help me?
    It seems impossilbe, but I don't want believe that it is true.
    Building a web site using only HTTP POST methods is out of the W3C for Web Site suggestions.
    A "good" serach engine for example dosen't take in cosideration HTTP POST Links.
    I hope that someone tell me how generate using JSF HTTP GET links for navigation.
    Bye

    Balusc, thanks for you help.
    The blog is very good!
    I make help classe (FacesUtils) who you show in blog, but not find the property on request context map, but I use the param variable on faces-config.xml and Request Managed Bean and all work fine.
    thanks.
    I'm wrong where I think the Request Managed Bean is create for each request on all pages, the Request Managed Bean is create only on requeste page reference its.
    Parte of my faces-config where I put the Request Managed Bean:
    <managed-bean>
              <managed-bean-name>uuidParamManager</managed-bean-name>
              <managed-bean-class>
                   br.srv.full.virtual.managers.request.UUIDParamManager
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
                   <managed-property>
                   <property-name>loginManager</property-name>
                   <property-class>
                        br.srv.full.virtual.managers.LoginManager
                   </property-class>
                   <value>#{loginManager}</value>
              </managed-property>
              <managed-property>
                   <property-name>uuid</property-name>
                   <property-class>java.lang.String</property-class>
                   <value>#{param.UUID}</value>
              </managed-property>
         </managed-bean>Where UUIDParamManager is create on request its receive first the LoginManager Instance, and later its receive the UUID param.
    I put the prototype of project on virtual.full.srv.br.
    thanks.

  • TS1702 When I try and use the Kindle app on my touch it keeps telling me to register the kindle. I register it using the account and password I used to get the app but it tells me there is no customer found for the email address and password. help

    When I try and use the Kindle app on my touch it keeps telling me to register the kindle. I register it using the account and password I used to get the app but it tells me there is no customer found for the email address and password. help

    No, it is asking you to register with your Amazon user id and password. Your Apple ID won't work.

  • Retrieving image using HTTP GET method?

    I want to send a image to a client browser. My servlet's HTML response to the client browser contains the <img src="..."> tag. The client browser uses the HTTP GET method to call my servlet's DoGet method, and I must transfer the desired image to the client browser in this DoGet method at servlet. Now, the problem is that, what should be the source URL in the image(img) tag that is present in my servlet response to client?
    For eg: the img tag should be like this
    <img src="http://<hostname>:<portname>/<servletname>/...?[var1=value1]">
    Now at the ellipsis that you see in the above source URI, I want to write the type of image file (something.jpg) ,so the browser knows what kind of image file it is.
    To sum it up...how to get the image using DoGet method and <img src="...">
    Regards,
    Amit

    To give you a better idea on what's happening, read the RFC:
    (HTTP/1.0) http://ftp.ics.uci.edu/pub/ietf/http/rfc1945.html
    (HTTP/1.1 - compressed data)
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
    If you for example execute the command by telnetting to port 80 on a server:
    GET http://somewhere.com/some.jpg HTTP/1.0<cr>
    <cr>You will get this header:
    Trying 217.22.64.73...
    Connected to xxx.xxx.xxx
    Escape character is '^]'.
    HTTP/1.1 200 OK
    Date: Fri, 01 Aug 2003 12:36:30 GMT
    Server: Apache/1.3.27 (Unix) FrontPage/5.0.2.2510
    Last-Modified: Tue, 15 Jul 2003 03:11:52 GMT
    ETag: "268de8-2fc4-3f1370f8"
    Accept-Ranges: bytes
    Content-Length: 12228
    Connection: close
    Content-Type: image/jpegWatch the last part, that's what the setContentType does, normally the content-type defaults to text/html in a webserver.
    A webserver usually maintains a list of file extensions by which it will determine the correct MIME type to emit, when a resource is retrieved.
    The browser reads the header, and decides what to do with it, in combination with (X)HTML markup.
    Greets.

  • ACE keep probing real servers using "https get 302"

    Hi all,
    I got one problem with cisco ACE in my company. Currently, two ACE appliances are working as HA redundancy. Previously I enabled some https and http probing using get 302 for some servers and services. But then I was told to remove all https or http probing, and instead use tcp port 443 and 80. After that, one of the serverfarm (server groups) is receiving https get 302 and I already checked in the monitoring and see whether there's any https probing regarding the respected real servers. But I could not find any. Even I disable all probing to that serverfarm, all the server members still receiving https get 302. Is this behavior a bug?
    The ACE version is A3(2.1). And the HA status is on standby cold. Can standby cold cause this kind of trouble?

    Hi Daniel,
    I just corrected the cert problem and made the state peer into standby hot. But still it still keep probing the get 302. And then I tried to restart both ACEs. The first step is to restart the second ACE (standby) and then switched over all context to the second one. The problem is that when I made the second one to be active, some services were not working, especially the ones with ssl terminated in ACE. I'm pretty sure that both ACEs were in sync.
    Any idea what is the problem?

  • Sslv3 poodle vulnerability and sharepoint site using https

    Hi
    Is it safe  to run IIS crypto tool and choose
    'FIPS 140-2'  on Sharepoint WFe
    We have one web application accessible to users using HTTPS with a  valid  SSL from CA.

    FIPS 140-2 is not supported by SharePoint and enforcing it will break SharePoint.
    Instead, disable SSLv3 support in IIS.
    https://www.digicert.com/ssl-support/iis-disabling-ssl-v3.htm
    https://support.microsoft.com/kb/187498/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • XMLHttpRequest crossdomain error when using restful GET glassfish

    Hi,
    I try to make a XMLHttpRequest call from my apache server to the apex listener under glassfish with a simple RESTFUL ressource named departement.
    We use apache for static page and some php page. I put a Header set Access-Control-Allow-Origin * in my httpd-vhosts.conf to allow cross domain call.
    When I make my call I get the following error:
    XMLHttpRequest cannot load http://192.168.100.24:8080/apex/localite?departement=61. Origin http://sirius:8888 is not allowed by Access-Control-Allow-Origin.
    Of course I could put allow my static page under the same virtual server of GlassFish and this case have only one domain, but it has many other constraints.
    In my test I use the EXTJS class in the following manner
    var store = Ext.create('Ext.data.Store', {
    autoLoad: true,
    autoSync: true,
    model: 'Departement',
    proxy: {
                   limitParam: undefined,
                   startParam: undefined,
                   pageParam: undefined,
                   noCache: false,
                   api: {
                        create : 'http://192.168.100.24:8080/apex/localite?departement=61',
                        read : 'http://192.168.100.24:8080/apex/localite?departement=61',
                        update : 'http://192.168.100.24:8080/apex/localite/inse'//,
                        //destroy : '/controller/destroy_action'
    type: 'rest',
    url: 'http://192.168.100.24:8080/apex/localite?departement=61',
    reader: {
    type: 'json',
    root: 'items'
    writer: {
    type: 'json'
    Any help would be welcome. If anyone had an example of using ExtJS form with RESTful apex listener it would be a dream !
    Frédéric

    Hi Frédéric,
    though I can't help you with providing an example right now, I know that you need more headers for Ajax requests. It should (at least) be the following three:
    1. Access-Control-Allow-Origin *
    # which you've already got, though I won't use "*" for security reasons
    2. Access-Control-Allow-Methods POST, GET, OPTIONS, STATUS
    # perhaps additional methods are needed depending on your requests
    3. Access-Control-Allow-Headers *
    # where you might want to tweak the "*" as well and limit it to the ones you actually need.
    There is a comprehensive article on that on [url https://developer.mozilla.org/en/http_access_control]Mozilla Developer Network.
    I hope this helps you solve your problem.
    -Udo
    Edited by: Udo on 31.05.2012 09:53

  • Remote handle caching error when using HTTP session replication

              Using WL 7.0 Sp2 on Solaris, deployed apllication on a 2 instance wide cluster.Code
              attached -
              unzip testapp.zip to find a test.jar which is the stateless sesion ejb and test.war
              which is the applicaiton.
              I have this class - TestDelegate that looks up a stateless session EJB(TestEJB),
              and puts the remote handle as a member variable(Test bean).Test.jsp instantiates
              this delegate(TestDelegate ), and then via setAttribute puts the TestDelegate
              in the HTTPSession.Then it calls a couple of methods via the TestDelegate which
              has the remote handle of the TestEJB.
              Scenario 1 : We deploy the WAR on cluster A which is 2 instance wide,we deploy
              the TestEJB on
              cluster B, which is also 2 instance wide. All works fine, the delegate is able
              to lookup EJB and
              can add the remote handle as a member variable.
              Scenario 2: We deploy the WAR on cluster A which is 2 instance wide,we deploy
              the TestEJB on
              cluster B, which is also 2 instance wide. This time we put a weblogic.xml in the
              WAR which has tag for in-memory session replication.This time we get class cast
              exception for the same sequence that we have above.
              <Mar 24, 2003 10:43:28 AM EST> <Error> <kernel> <000802> <ExecuteRequest failed
              java.lang.ClassCastException: Assigning instance of class com.TestEJB_1jsmq_EOImpl_WLStub
              to field com.bean.TestDelegate#bean
              Start server side stack trace:
              java.lang.ClassCastException: Assigning instance of class com.TestEJB_1jsmq_EOImpl_WLStub
              to field com.bean.TestDelegate#bean
              at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2266)
              at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
              at java.util.Hashtable.readObject(Hashtable.java:794)
              at java.lang.reflect.Method.invoke(Native Method)
              at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2209)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
              at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
              at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
              at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
              at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
              at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown
              Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
              at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              End server side stack trace
              [testapp.zip]
              

    To see the list of session IDs in the cache you can iterate over the keys of the cache returned from the following code:
    NamedCache cacheCatalog = CacheFactory.getReplicatedCacheService("$FilterService$").ensureCache("CoherenceSession.CATALOG", getClass().getClassLoader());Then to see the contents of a session you can take a look a the cache returned from the following code:
    String sId = // keys from cacheCatalog
    NamedCache cacheDetails = cacheCatalog.getCacheService().ensureCache(sId, getClass().getClassLoader());Hope this helps.
    We have received your request for a development license and we hould have ti out to you today.
    Later,
    Rob Misek
    Tangosol, Inc.
    Coherence: Cluster your Work. Work your Cluster.

  • How to set default value and after that , use it as control

    Hello,
    Currently i am making motor driver from labview, and i am facing one problem.
    When i connect to my board via labview, it will relay last position to global variable. After that, i have to go to loop, where i can send back  modified position to my motor control board
    In short, i have to control number, but that number default value should be writtem by another function when i start vi.
    any ideas how to do it ?
    Solved!
    Go to Solution.

    Let me know if any clarification is needed
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    VI.vi ‏13 KB

  • R/3 HTTP GET to external supplier - what are the options

    Hello all
    Our scenario is that we have to connect to an external supplier using HTTP GET to get our order responses in the return structure. I was wondering what the best/easiest way is to do this.
    We cannot use the HTTP adapter since that only supports HTTP-POST. Additionally the RFC that lies behind it does not allow query strings in the definition, something we need to use.
    we could make use of the HTTP_GET function module in the SFTP function group but how to do it then?
    -we cannot create an abap proxy for this since the outbound WSDL contains invalid keywords (choice keyword not supported)
    -we probably could use BPM that calls the HTTP_GET.
    -we could write an ABAP that calls the HTTP_GET and puts the output into a directory where XI can pick it up.
    -I also read that you could write a small java function that does the HTTP_GET . But i have no experience with this.
    So what is the best option to accomplish this?
    thanks
    Tom

    From SP15 you may use Adapter-Specific Message Attributes.
    To evaluate adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator.
    œ     If you want missing message attributes to trigger an error message, set the Fail If Adapter-Specific Message Attributes Missing indicator. If the indicator is set and the header for adapter-specific message attributes or one of the set attributes is missing from the message, this leads to a system error (red flag).
    If you do not set the indicator, and message attributes are missing, the adapter accesses information from the adapter configuration.
    œ     If you want to use an HTTP destination or URL set by the mapping, set the URL or HTTP Destination indicator. (The indicator displayed depends on the Addressing Type you selected above). If you set the indicator, the URL or HTTP destination set dynamically is called by HTTP.
    If the message header does not contain the URL or the HTTP destination, and you have set the Fail If Adapter-Specific Message Attributes Missing indicator, the XI message is set to status System Error. If you do not set the indicator, the URL or HTTP destination defined statically in the communication channel is used.
    œ     If you want to use HTTP Header Fields, set the indicator and enter the fields in Field 1 to Field 6. The fields are embedded in the HTTP request under the names you enter here.
    The technical names of the fields are HeaderFieldOne, .... HeaderFieldSix.
    œ     If you want to use URL Parameters, set the indicator and enter the parameters in the fields Parameter 1 to Parameter 6. The parameters are embedded in the HTTP request under the names you enter here.
    The technical names of the fields are URLParamOne, c, URLParamSix.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/HTTP.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    /Otto

  • HANDLING HTTP "GET"  IN SENDER ADAPTER

    Hi,
    I have a Scenario where I have to use HTTP GET Adapter  to get data from a website daily to PI and Post the data from PI to SAP ECC.On the receiver end Idoc is being used.I need help on what to use (From sdn I came to know that Java Proxy or Adapter Module can be used ) and how to configure the sender adapter in this scenario.In case of Adpater module the steps needed to configure the scenario would be helpful.In case of Java Proxy sample code that would suit the scenario would be appreciated.

    Only 7.3 version (Latest) supports HTTP GET method. All previous versions support only POST.
    In your case java proxy is better choice.
    Refer these standard links.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
    http://help.sap.com/saphelp_nwesrce/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    Basically you have to create java proxy for the outbound (sender) interface and use those proxy(stub) objects to code in java. Refer sender java proxy in the above link.

  • HTTP GET for sender adapter possible ?

    I have to get XML-messages from third party webservice. I should use HTTP GET to get the data but is this possible in XI ? I mean like RFC->XI->HTTP(GET) and I would process the response from HTTP GET call.

    Hi Jari,
    For getting response from web service, you should use SOAP adapter.
    Anyways,if it for web application, you can use HTTP get in XI for synchronous communication.
    Have a look at these blogs for details -
    1. /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    2. /people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter
    Regards,
    Sunil Chandra

  • Newbie: does Oracle BPEL Process Manager support http-get/post binding?

    Hi all,
    i'm a newbie in using bpel4ws. Two things i must know before using the Oracle BPEL Process Manager:
    1. Does the manager support the sub-specification bpel4ws?
    2. I want to orchestrate some services which aren't binded using http-SOAP or rpc. They are binded using http-GET and http-POST. Does the manager support these bindings too?

    Hi Clemens,
    thanks for answering.
    Ähhm... as i told you, i'm newbie here. I searched for the content of
    samples/tutorials/702.bindings/http
    But i'm afraid i don't know where to start. Its no URL and i didn't find the source of this path. Can you add the full URL or tell me how to get to the source of these samples?
    thanks
    Albrecht

Maybe you are looking for

  • MacBook Pro display doesn't work

    Hi everyone, My MacBook Pro's display has been working erratically in the last weeks. The first time, the display did not work for two day. Second time for almost a week (during Easter) and now for three days. I've never had any hardware related issu

  • Azure Powershell - Calling Set-AzureServiceDiagnosticsExtension results in BadRequest error

    I'm trying to set Azure diagnostics on a deployed cloud service using v0.8.11 Azure Powershell cmdlets and the Set-AzureServiceDiagnosticsExtension command:     Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigur

  • Changing clip name behavior for duplicate clips

    Suppose I have one duplicate clip that I have copied into two bins, like so: -- Sunday's clips bin           - clip_name_one and -- Flowers bin           - clip_name_one If I change the name of one, I expect it to change the name of the other also, s

  • No workflow started

    Hi All I have searched the forum first but no luck with a answer with similar question from another person previously We are on SRM5.0 EC Need your help here User has created a shopping cart and tried to order it but gets msg No workflow started. App

  • Access to wad report to user

    hi all what r the various ways to give access to wad reports to user? shalini