the initialization of a variable in a bpel workflow to call another web service

Hello

I'm fairly new development bpel. I don't have a early created myself but unfortunately, I only got to work on existing projects from now on. I am wanting to add an invocation of another web service to an existing bpel service. I added the wsdl for .bpel and composite.xml files info, and I can see the operations, so my plan is to see the service properly, and I created the necessary links.

I just need to initialize the variables that I'm passing on this web service. Basically need to invoke the web service passing in xml format that would go into these elements:

< ns1:dataRequest >
< ns1:appName > < / ns1:appName >
< ns1:progName > < / ns1:progName >
< ns1:valueUsed > < / ns1:valueUsed >
< ns1:setting > < / ns1:setting >
< / ns1:dataRequest >

Can someone just point me in the right direction on this. I think I need to create a new .wsdl file that I've read so far, but I have a lot of time looking for this problem - it is low on my priorities. So I thought that it might accelerate things to go ahead and ask here before I dive into it later.

Thank you

Hello

As far as I get your situation is you want to call a web service from BPEL process existing. Here are the steps that you can follow.

(1) create a partner link in the BPEL process that calls the external Web service.
(2) create an activiyt to invoke in BPEL process that invokes the foregoing created partner link
(3) create an Assign activity that initializes the variable which is an entry to invoke activity.

Let me know if you have confusion with this approach.

Thank you
AJ

Tags: Fusion Middleware

Similar Questions

  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • problems with the XML that is returned when you call a web service with CF11

    Hi, I ran into an unusual behavior when calling web services.

    I call a web service that returns an XML like this:

    < children >

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >

    < / children >

    during the call to the web service of CF10, it works fine. However, when the CF11, I don't get this:

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >


    no < child >? for some reason, CF11 ignores / hides the highest level XML. This does not happen on previous versions. Why? the server that hosts the web service's CF11 too.

    Report it as a bug in Coldfusion. In any case, I recommend making sure your web service returns a string, not an XML object.

    This is because a web service must be universal. Appellants to .NET, Java, PHP, ASP and so on, will interpret a chain exactly the same way. Whereas an object XML Coldfusion is a construction that is heard only in CFML.

    Your return string should also start with the XML declaration, like this

    John

    DOE

    So it is clear to the appellant in which brought the cat.

  • How to make a URL mapping on the variables contained in a constant of cluster? [Web service]

    I am trying to create a web service and I would be like at the URL mapping, some controls that I just completed in a cluster control.  I have three control identical cluster, each with a unique name - but they contain variables that do not have unique names. e.g. ClusterA.dog, ClusterB.dog, ClusterC.dog...

    How can I distinguish between these variables when trying to URL mapping?

    Thanks for any help.

    Hi 5thGen,.

    Unfortunately, the clusters are not supported in Web services. You must provide a unique name for each entry.

  • Call to Web Service of Oracle PL/SQL not to call the Web service in SOA Server

    Hello

    Try to call the Web service to oralce pl/sql function

    created a function

    Unable to invoke the web service from the server of the SOA.

    CREATE or REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 as

    Server sys.utl_dbws. SERVICE;

    APPEL_ sys.utl_dbws. CALL;

    service_qname sys.utl_dbws. QNAME;

    port_qname sys.utl_dbws. QNAME;

    response sys. XMLTYPE;

    application sys. XMLTYPE;

    BEGIN

    sys.utl_dbws.set_http_proxy ("hostname: Port'");

    service_qname: = sys.utl_dbws.to_qname ("ns1", "process");

    Server: = sys.utl_dbws.create_service (service_qname);

    APPEL_: = sys.utl_dbws.create_call (server);

    sys.utl_dbws.set_target_endpoint_address (APPEL_, ' http:/host name: port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep ');

    sys.utl_dbws.set_property (APPEL_, 'OPERATION_STYLE', 'process');

    asks: = sys. XMLTYPE ("< ns1:process xmlns:ns1 ="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"> < ns1:input > < / ns1:input > < / ns1:process > '"); 

    answer: = sys.utl_dbws.invoke (APPEL_, request);

    return response.extract('//HelloWorld/child::text() ','http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld'). getstringval(); 

    DBMS_OUTPUT. Put_line ("values of the OutputsVariables8");

    -Of return ';

    END;

    Run - the code below:

    Select HelloWorld_WebServices ('Hi') to double;

    Error:

    ORA-29532: Java call terminated by eception Java exception: java.lang.NoClassDefFoundError

    ORA-06512: at "SYS." UTL_DBWS', line 403

    ORA-06512: at "SYS." UTL_DBWS', line 400

    ORA-06512: at the 'APPS '. HELLOWORLD_WEBSERVICES', line 74

    29532 00000 - "Java call terminated by eception Java exception: %s."

    * Cause: A mistake or a Java exception has been reported and could not be

    solved by Java code.

    * Action: Modify Java code, if this behavior is not expected.

    Hello

    Fixed the error

    After loading once again of DBA and network provided access files JAR/JVM firewall

    and the correction on the threshold

    Return response.extract (' / result/child::text () ','xmlns = "http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld" '). getstringval();

  • The BCC algorithm, call a Web Service

    Reaching out to experts XAI/AIA in this community.

    Scenario of
    At the BCC, we have a case that has a number of statutes. One of these statuses will generate an outgoing Message will start a business in an external system process. After sending the outgoing Message the case is waiting for an update of this external system telling that the case is completed. In the meantime, a user must be able to see the current state of the business process in the external system when we look at the case of the BCC.

    High level solution
    We found with the following solution. An algorithm of Type case information is plugged that calls a Service Web (WS) that returns the current state of the business process in the external system. Send us an upside case Id and description returned by the WS is returned by the algorithm as a string of case information.

    Questions
    When you read the WOOF whitepapers on integration, XAI and SOA I identified two possible implementations of the solution:

    _1. Invoke the WS of Java Algorithm_
    Directives integration WOOF (doc Id 789060.1 on My Oracle Support)-page 40: this article describes a case study in which a WS is called from a the BCC algorithm, which is exactly what I want to achieve. Assume the WS, I like to call is provided in a similar way in BCC exposes XAI Inbound Services through WSDL (http:// < host >: < port > / < Server > / XAIApp/xaiserver/< service >?) WSDL). So I have a URL that points me to the WSDL of the WS, but this URL is different by the environment (development, test, production). Now, I have the following question:
    White paper provides that the WSDL is used to generate the Java stub code. The diagram on page 41 shows the Java code is deployed from the SDK and from that moment the program Java communicates directly with the WS and no longer has need of the WSDL. How will the program now on what host, port and the server resides on the other side? The URL of the WSDL is a parameter of the algorithm, or are parameters of the port/host/server can program Java, somehow fix this runtime by reading a file of environment properties?

    _2. Outgoing Message_
    Integration SOA WOOF (doc Id 1308161.1 on My Oracle Support)-page 16: BCC generates an outgoing Message and the Oracle SOA Suite uses a database adapter to query the outgoing Message to forward to messages of a certain type. If it detects such a message it will invoke the WS and update the entry of outgoing with WS response Message. Is this a realistic alternative for an interface in real time?
    * I think that CCB should validate the creation of the outgoing Message to the database before the Oracle SOA Suite is able detect the new pending the entry. Fix?
    * If I need to commit to the database, I guess I have to keep vote entry of the outgoing Message to detect if the WS updates the response XML field. Any other suggestions for this?

    When we send xml files, we use variable WLHOST to the location of the file. You can add a variable in the XAIParameterInfo.xml file, and then refer to the sender of XAI. This would result in the variable defined in one place. If you want to set this variable, you could look at the creation of a $SPLEBASE/scripts/cmenv.sh script so that when environment starts the script will automatically run a make you that the variable in the XAIParameterInfo.xml is set to the correct value, then the destination of the xai sender.

  • File adapter to read the Zip file and send it as input to another Web service

    Hello

    I have the below:

    1. a service will generate 3 attachments and place it in a particular directory.

    2 SOA service must take these 3 files and send these files as input for another custom application that will send by e-mail.

    Design:

    1. first SOA will create a file from archive of these 3 attachments and then file adapter queries for this zip file in this location and send this file as a whole to the custom application.

    Query:

    Now my question is above feasible version? If so, how to configure the file adapter to pass the file as input for this custom application?

    Kindly do the needful

    Thank you

    Priya

    You can do this using java embedding activity... Create a java coating, which will create a zip file... This java code is easy to implement...

    You can also do away with unnecessary vote... file adapter and you can use the "Synchronous file read" operation of the file adapter... Read Sync, you will need to pass the name of the zip file, you can easily extract activity integration of java...

    Let me know, if it does not work.

  • UTL_HTTP: ORA-29259: end-of-input reaches the web service call error

    Hi gurus,

    I'm calling the DB using UTL_HTTP webservice, but I keep getting the following error.  Please note that I am calling only HTTP and HTTPS.

    ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1369

    ORA-29259: end-of-input reached

    ORA-06512: at "APL_GLOGEXTN. APL_INT_BEM', line 20

    ORA-06512: at "APL_GLOGEXTN. APL_INT_BEM', line 50

    ORA-06512: at line 1

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    Status code: 1

    I call a Web service using the code below

    exec utl_http.set_proxy ("172.10.0.00:1524");

    SET SERVEROUTPUT ON

    EXE DTS_INT_BEM. CALL_BEM();

    and the details of the PL/SQL package is expected at the point.

    create or replace

    package body 'DTS_INT_BEM' as

    PROCEDURE INVOKE_BPEL_WS)

    P_ENDPOINT_URL IN VARCHAR2,

    P_SOAP_REQUEST IN VARCHAR2,

    P_RETURN_STS OUT VARCHAR2)

    IS

    REQUEST_ENVELOPE VARCHAR2 (30000): = P_SOAP_REQUEST;

    RESPONSE_ENVELOPE VARCHAR2 (30000);

    HTTP_REQUEST UTL_HTTP. REQ;

    HTTP_RESPONSE UTL_HTTP. RESP;

    BEGIN

    HTTP_REQUEST: = UTL_HTTP. BEGIN_REQUEST (P_ENDPOINT_URL, 'POST', ' HTTP / 1.1 ');

    UTL_HTTP. SET_HEADER (R = > HTTP_REQUEST, name = > 'Content-Type' ', value = > ' text/xml; charset = utf-8 ');

    UTL_HTTP. SET_HEADER (r = > http_request, name = > 'Content-Length', value = > LENGTH (REQUEST_ENVELOPE));

    UTL_HTTP. SET_HEADER (R = > HTTP_REQUEST, name = > 'SOAPAction', value = > 'Start');

    UTL_HTTP. WRITE_TEXT (R = > HTTP_REQUEST, data = > REQUEST_ENVELOPE);

    dbms_output.put_line (' status code: 1');

    HTTP_RESPONSE: = UTL_HTTP. GET_RESPONSE (r = > HTTP_REQUEST);

    UTL_HTTP. END_RESPONSE (HTTP_RESPONSE);

    P_RETURN_STS: = HTTP_RESPONSE.reason_phrase;

    / * EXCEPTION

    WHEN UTL_HTTP. END_OF_BODY THEN

    UTL_HTTP. END_RESPONSE (HTTP_RESPONSE);

    WHEN UTL_HTTP. REQUEST_FAILED THEN

    P_RETURN_STS: = ' request failed: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHEN UTL_HTTP. HTTP_SERVER_ERROR THEN

    P_RETURN_STS: = ' Server error: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHEN UTL_HTTP. HTTP_CLIENT_ERROR THEN

    P_RETURN_STS: = ' Client error: ' | UTL_HTTP. GET_DETAILED_SQLERRM;

    WHILE OTHERS THEN

    P_RETURN_STS: = ' Client error: ' | UTL_HTTP. GET_DETAILED_SQLERRM; * /

    END INVOKE_BPEL_WS;

    --------------------------------

    Procedure CALL_BEM / * (-type_objet_p IN VARCHAR2)

    -p_process_name in varchar2,

    -p_response out varchar2

    )

    */

    IS

    l_endpoint_url VARCHAR2 (200): =' http://172.10.0.00:10101/soa-infra/services/default/ShipmentBusinessRule/BusinessRuleProcess.service?WSDL ';

    l_soap_request VARCHAR2 (30000): = NULL;

    l_bpel_return_sts VARCHAR2 (3000);

    BEGIN

    " l_soap_request: = ' < soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/SOAP/envelope/ "xmlns:bus =" " http://xmlns.Oracle.com/BPMN/bpmnProcess/BusinessRuleProcess ' > < soapenv:Header / > < soapenv:Body > < bus: departure > < Transmission xmlns = " http://xmlns.Oracle.com/apps/OTM " "targetNamespace =" http://xmlns.Oracle.com/apps/OTM "> < TransmissionBody > < GLogXMLElement > < PlannedShipment xmlns =" http://xmlns.Oracle.com/apps/OTM "> < delivery > < ShipmentHeader > < ShipmentGid > < Gid > < domain_name > DTS/EXE < / domain_name > < Xid > 01409 < / Xid > < / Gid > < / ShipmentGid > < ShipmentRefnum > < ShipmentRefnumQualifierGid > < Gid > < Xid > GLOG < / Xid > < / Gid > < / ShipmentRefnumQualifierGid > < ShipmentRefnumValue > DTS/EXE.01409 < / ShipmentRefnumValue > < / ShipmentRefnum > < ShipmentRefnum > < ShipmentRefnumQualifierGid > < Gid '" > < Xid > BM < / Xid > < / Gid > < / ShipmentRefnumQualifierGid > < ShipmentRefnumValue > RIAD-000235 < / ShipmentRefnumValue > < / ShipmentRefnum > < TransactionCode > NP < / TransactionCode > < ServiceProviderGid > < Gid > < domain_name > DTS/DATA < / domain_name > < Xid > RIAD < / Xid > < / Gid > < / ServiceProviderGid > < ServiceProviderAlias > < ServiceProviderAliasQualifierGid > < Gid > < Xid > GLOG < / Xid > < / Gid > < /. ServiceProviderAliasQualifierGid > < ServiceProviderAliasValue > DTS/DATA. RIAD < / ServiceProviderAliasValue > < / ServiceProviderAlias > < RateServiceGid > < Gid > < domain_name > DTS/PCM < / domain_name > < Xid > VESSEL_SERVICE < / Xid > < / Gid > < / RateServiceGid > < TransportModeGid > < Gid > < Xid > BOAT-CO < / Xid > < / Gid > < / TransportModeGid > < TotalWeightVolume > < WeightVolume > < weight > < WeightValue > 57.0 < / WeightValue > < WeightUOMGid > < Gid > < Xid > KG < / Xid > < / Gid > < / WeightUOMGid > < / weight > < Volume > < VolumeValue > 0.3 < / VolumeValue > < VolumeUOMGid > < Gid > < Xid > CUMTR < / Xid > < / Gid > < / VolumeUOMGid > < / Volume > < / WeightVolume > < / TotalWeightVolume > < TotalShipUnitCount > 8 < / TotalShipUnitCount > < StartDt > < GLogDate > 20140217124300 < / GLogDate > < TZId > Asia/Hong_Kong < / TZId > < TZOffset > + 08:00 < / TZOffset > < / StartDt > < EndDt > < GLogDate > 20140311234300 < / GLogDate > < TZId > America/Chicago < / TZId > < TZOffset > - 05:00 < / TZOffset > < / EndDt > < SourceLocationRef > < LocationRef > < LocationGid > < Gid > < domain_name > DTS/DATA < / domain_name > < Xid > HKHKG < / Xid > < / Gid > < / LocationGid > < / LocationRef > < / SourceLocationRef > < / ShipmentHeader > < / shipping > < / PlannedShipment > < / GLogXMLElement > < / TransmissionBody > < / Transmission > < / bus: start > < / soapenv:Body > < / soapenv:Envelope > ';

    invoke_bpel_ws (l_endpoint_url, l_soap_request, l_bpel_return_sts);

    dbms_output.put_line ('-' | l_bpel_return_sts);

    end CALL_BEM;

    end DTS_INT_BEM;

    Thanks in advance for the help.

    Shobz

    Hi Billy,

    Thanks for the reply. It was with the proxy setting.

    Once UTL_HTTP. SET_PROXY has been set properly, I no longer get the error of end-of-input.

    Thanks for the help...

    Kind regards

    Shobz

  • Code to skip the steps: initialization of local variables failed

    Hi all

    I'm upgrading some software LabVIEW RT I inherited LabVIEW 2011 to 2015 LabVIEW (32-bit) on a host Windows 7 Professional PC. The target is an SMU-8135. The software ran well when it is compiled under LabVIEW 2011.

    I modified the code to enable the monitoring of what is happening by looking at screen on the target outputs. The initial error that brought me here is that a local cluster variable initialized in the first window of the flat sequence described below have been appearing as the in windows later.

    The code begins with the initialization of local variables in the first window of a flat sequence and provides a quick line of text output to the display of the target (call this text #1) (using RT Debug String.vi) I send two lines of text so that a new row is created and later text does not replace it. . It then writes to the next window in the sequence flat screen two groups of text output to the target. Second text in the window 2 (#3 text) output is equipped with a wire entry from the error from the first text output in the second window (text #2). That is the second exit must wait for the first exit to complete before being sent to the screen.

    I see now some weird symptoms:

    1. when I connect to the target under a remote debugging session I see expected display outputs. Not remotely connected, text #2 is displayed. The code passes to the third window in the flat sequence, so everything in the two window should have executed.

    2. the text #1 appears on the target screen * before * I get the message "Welcome to LabVIEW Real-time 15.0." Is this normal? Whence this message? I searched my screws and subvis to this text and it is not there then it mucst come LabVIEW screws somehow.

    This all started with local variables no initialization in the first window, so apparently, I have a problem of data flow. Given that the problem disappears under the remote debugging, I'm a bit of a loss.

    Thanks in advance for any help,

    Eamonn McKernan

    EamonnMcKernan wrote:

    Text 2 appears only when remotely connected it does not appear when running at startup.

    Your "text 2" seems to be powered by a collection of nodes comments to "initialize on compile or load.  This will return once the empty string the first and therefore should not be display nothing until the code I run a second time.  That is the crux of feedback for?

  • Bind several web service data controls on the same page

    Hello
    JDev version: 11.1.1.6.0
    I using SOAP web services. I have the following usage:
    I have the data control for the web service, that records the values entered into the form. I created the entry form using the data control (DC1).
    There is an input field [T1], on the tab, I need to fill an another text field, for which the data is returned to an another web service (DC2) data control.
    For the same input text [T1] on the tab out, I need fill in the object list in the component selectonechoice, for which the data is returned to an another web service (DC3) data control.

    Is it possible to use bind several data controls on the same page to reach the use case?
    However, I want to avoid the use of managed bean. Is it possible to do this?

    Concerning
    Fabiola

    Hello

    I can make the case to use even without the use of the managed bean?

    Yes, although the managed bean solution seems reasonable to me.

    Difficulties are

    + 1) REQ1 and REQ2 are the parameters that is common to both 1 and 3 services. +

    Text fields that provide arguments to a method are related to an input variable (file PageDef has an iterator variable in the executable section). A variable can be referenced from method arguments

    + 2) REQ1 is the parameter that is common to both 2 and 3 services. +

    Identical to 1. Create a setting for service 2 and map variables in the arguments of the method of service 3

    + 3) Service3 needs all REQ1, REQ2, REQ3, and REQ4 parameters as parameters to save the data. +

    As said, fields can be referenced from variables, dependent, the linking of the attribute fields (as I guess it is a return value in the bound field)

    There are problems of links as the same setting is available between several departments.

    It's new to me

    Is it possible to solve these problems of binding addresses?

    Yes. Make sure however that WS DC iterators you see in PageDef have their property Refresh ifNeeded for the refreshment of the bound field work properly

    Frank

  • Passing parameters from the request to an external Web Service

    Hi all

    I'm not new to ODI, but today I have to work with Web services, something I've never done before.
    so I need help.

    My new project aims to fill a DB table, but the only way to do it is passing data through a web service.
    The web service already exists and I can't create a new one, so I guess that by using Data Services ODI is not a solution.
    This web service is waiting for the values in the column, and there is an insert in the final table.
    Finally, I want to call this Web Service and pass through the settings from a query of RDBMS.

    Before creating this post, I searched around articles and documentations and the only thing I found was on the documentation of ODI, but was really short:

    Using the mechanism of binding for applications:
    It is possible to use the mechanism of binding when using a web service call in a procedure. With this method, it is possible to call a web service for each row returned by a query by setting the request based on the values of the line

    So it seems to be possible, but if you have some clues on how to do it please let me know...

    Hi Brice...

    How are you my friend?

    It's not that difficult...

    Have you ever used the tool of odiInvokeWebService?

    All you need to do is call this tool in a target tab of proceedings and in the use of the source of the query.

    Don't worry about variables "bind", call the kind of substitution ' # ', it will work better.

    Does this make any sense?

    Cezar Santos
    http://odiexperts.com

  • Passage of variables of form to another web page?

    I have a screen to select the simple parameter that calls another web page. When I ask the variable of the form in the page of detail (request.form ("app_sts")), the values are always empty. I looked at this for hours and can't get it to pass data. Can anyone help? Thanks in advance. Steve

    The code for setting program and retail prgram is attached:

    You have your method of the form to POST. If you want to pass variables, you need to change the GET method.

    See you soon

    Chuck

  • Unable to connect to the web services server

    Unable to connect to the web services server.  It is a common error that you might see if you try to enable web services.  If you receive this message, try the following steps.

    For Officejet printers

    1. open the internet browser type printer IP address.

    2 should bring you to the status of the printer page.

    3. Select the tab network at the top.

    4. left side select IPv4 under wireless.

    5. under DNS address Configuration select manual DNS server.

    6. for favorite enter 8.8.8.8

    7. for alternate enter 8.8.4.4

    8. Select apply. You can get a warning saying that this could break the connection which is very good.

    9. turn the printer off for about 30 seconds and then try to enable web services.

    For Photosmart printers

    1. Enter the printer's IP address in a browser.

    2 Select the network at the top of the page.

    3. on the left, select network.

    4. Select Network (IP) address

    5. select manual DNS server

    a. manual Preferred DNS should read 8.8.8.8

    b. alternate DNS server should read. 8.8.4.4

    6. Select apply you could get a fair warning select OK

    I hope this helps!

  • URL of the Web Service, LV2013 vs LV2012 length limits

    (* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *)

    (* Please answer in this forum.  I scored the other thread for responses here. *)

    A that someone noticed a reduction in the limit on the length of the URL for the Web Services between the versions of LV 2012 and 2013?

    Under LV2012, a RESTful web service seems to accept URLS with lengths at least as long as 4096 characters.  With LV2013, the maximum length of URL seems to be 511 characters for RESTful web services as the project item. Unfortunately for me the project, I have converted just travel on this issue. My goal with posting this request here is my understanding of this limitation before deciding the best way to modify my code.  Certainly using POST instead of GET with a long URL is an option, but again, I am looking to understand the change in limitation before choosing a solution.

    To illustrate, I enclose three projects for the most part identical, demonstrating the issue.  In each case, the project contains a webservice consisting of a single VI, 'ComputeLength', which takes a string as an input parameter and that returns the length of the string.  The three projects are the following.

    1 LV2012 RESTful WebService.

    2 LV2013 RESTful WebService.

    3 LV2013 article project web service.

    The web service contains a single VI.  For the relaxing examples, the web service is started by selecting deploy menu of right-click Build specification.  For the example of project item, the web service is started by selecting start in right click menu position of work/WebService. The use of this example is shown with the following URL:

    (Note that the port is 8080 for both relaxing examples and 8001 for the project web service point if used in debug mode, which is the default value for the statement above.)

    http://localhost: 8080/webservice/computelength? string = 1234567890

    And the output looks like this.

    Workaround.  Apparently from 2013 of LV, there is a default limit of 512 to the length of the URL.  The default limit can be overridden as described below.

    Martin

    He is Brian in the technique of applications for National Instruments. I am following up about the 511 character limit in your Web Service HTTP request after the port number. After some research, I realized that the problem is related to a web site by default, the setting of the server called "LimitUri", which limits the maximum length of a URL. The default is 512 characters long that's why we are seeing this problem.

    There are several ways to modify the URL length limit depending on how you use your web service. If you publish the web service using the Application Web Server can change "C:\Program Files (x 86) \National WebServer\NIWebAppServer.conf" and add "LimitUri 4096" at the end of the file without the quotes.

    If you run the Debug Web server simply by clicking start on the web service, and then change "C:\Program Files (x 86) \National 2013\resource\webserver\niwsdebugserver.conf" and add "LimitUri 4096" at the end of the file without the quotes.

  • Photosmart 7525: Impossible to activate the web services

    I have a HP Photosmart 7525 and I was once able to scan to e-mail. Now it always tells me that it cannot connect to web services. I tried to troubleshoot including disabling web services and now I can not re - enable web services. Help, please!

    Hello

    Download and install the latest firmware for your printer, it is essential to maintain a Web Services connection:

    It can be installed from any Windows on the following link:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/swItemId/OJ-113641-5

    Kind regards

    Shlomi

Maybe you are looking for

  • question about iCloud?

    Currently have a problem with iCloud do not restore my data. Restored my device back a little, but it didn't restore some of my data applications. What I tried: 1. I have restored several times. 2. I used a few tools of recovery. 3. update my router/

  • Satellite 2410-504 - second need recovery disk

    I have to restart my laptop with the recovery discs, but unfortunately I don't have that Disc 1 (not sure what happened to disc2). Someone at - it a copy of the 2 disc, they can let me borrow (I promise I will return it).Toshiba say that they do not

  • F55 Freeze Mix

    Hi Peter,. Could you please add Mix freeze to the list of things that we would expect to be able to do with this camera. It is a valuable tool which was available in the previous Sony camera, and with the option of shooting in 4K, it would be a good

  • XY graph help

    I posted a thread similar to all at the time, I had trouble getting 3 parcels on a XY Chart.  I managed to do work and I'm trying to write a similar program, but I'm still on the issues with the graphics features in LabVIEW. The joint "block XY" is t

  • LabVIEW program works in highlight mode and does not not in normal mode

    Hi all I want to explain my program first, I wrote a program where try to establish communication between Labview and the microcontroller. I am trying to select the com serial port automatically by this program. I joined VI which shows the logic that