Data is encrypted for web service calls?

I wrote a small JME (J2ME) application for a BlackBerry handheld device. This application calls web services to accomplish its mission. I am using the advantage of the specifications of Web Services, J2ME (JSR 172) supported by Blackberry JDE 4.3 +. I use Java Wireless Toolkit 2.2 from Sun to generate stubs and other support classes. I am able to invoke web services and also get the correct answers to it.

After recalling some documents and websites, I understand that any communication that happens between your handheld and BES is encrypted (3DES or AES).

Is the question that I have, if the data between the computer pocket and BES/MDS previously described WebService invocation are also encrypted? I have a question to cause that communication here is initiated by the device.

Can someone please let me know the answers? Thanks in advance.

If you are using MDS: Yes. Between the MDS and the webservice: No.
If you use another link, as direct tcp, wifi etc.: No.

Tags: BlackBerry Developers

Similar Questions

  • ODSI web service calls

    Hello

    I want to route the ODSI web service calls to different hosts in different environments. In other words, in my development environment, I don't want to call a quick service to "myosb - dev.mycompany.com:7001", but in production, I don't want to call the same service to the "myosb - prod.mycompany.com:8021".

    I see that I can configure a different port for the Physics Department in the ODSI administration console. However, it is not very practical, since the original WSDL must contain information port for all environments from the get-go. If the service is reinstalled in the production, I need to update the wsdl file and redeploy my data space for moving. This can be a problem due to the cycle of deployment of my app be out of sync with the service that I give the floor.

    My question is: is it possible to configure the addresses to host more dynamically? Is it possible to use a variable to control this information a set of services that are located on the same server?

    Thank you!

    The f

    Go to the Console ODSI. Click your data space. Click the physical Source (at the bottom of the left panel).
    Click on "Web Services" and select the Web service you want to change.

    You will see a place where you can specify a 'new value' for the wsdl file. So if you make a copy of your wsdl and the change of the

    to the other server, you could specify that wsdl.

    It seems you could also copy the "service" element (or just the "port" element) in the original wsdl, and substitute in the ODSI console for the appropriate service or port. I've never tried that. I'm not sure if you also need to copy any elements that refer to the service or port.

    Here's the doc http://download.oracle.com/docs/cd/E13162_01/odsi/docs10gr3/admin/server.html#wp1049919

    Here's a thread about doing this via WLST Dataspace imports with WLST : Full Deployment option?


              
                   
              

         


              
                   
              

         

  • Is it possible to recover all the virtual machines in a cluster in a single web service call?

    I tried to retrieve the list of all virtual machines in a cluster to a single web service call, but to no avail. It seems that there is no direct web service API to achieve this goal. Alternative options must first recover the hosts or data warehouses in the cluster and then recover virtual machines from there. But still, if anyone has an idea how we can do this please let me know. All help information will be greatly appreciated.

    It is possible, if you use the PropertyCollector.

    (It is usually the answer to questions of the form "Is it possible to retrieve the X in a single web service call").

    Call"propertycollector.retrievecontents:

    http://www.VMware.com/support/developer/VC-SDK/visdk41pubs/ApiReference/vmodl.query.PropertyCollector.html#retrieveContents

    allows you to retrieve a whole bunch of stuff in a single call, which you then have to go through and interpret.

    A snippet of code Java VI is not-really-tested to find virtual machines in a ComputeResource (cluster) is attached.

  • Cannot find the data control to the Web Service in the Menu

    Hello

    I try to call a web service in the ADF. To do this, I want to create a web service data command

    If I understand correctly, if I right click on the template project, I see the data control from the Web Service under layer Business > Web Services. (as indicated in 2.1 Sec-http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html#WsProxyPojoControl)

    However, I am not able to find this entry in there.

    I tried the following things:

    I tried with Jdev 10.1.3.5, 10.1.3.4 and 10.1.3.1
    I tried to select all available models of technology to create applications
    -Any model
    -Web Application [JSF, EJB, Toplink]
    -Web Application [JSF, ADF]
    -Web Application [JSF, EJB
    -Web Application [JSF, Struts, ADF]... .and everthing else...

    I still don't see the web service proxy.

    Then I opened the ADFToystore sample application, and I could see the service data Web controls here!... .that mean my jdev is not defective... something else is missing.

    So, I tried to see what libraries are selected... I saw that a library named 'Web Service Data Control' are there in the project, which is not there in the model applications project that I created. So I added this library to the project, but it still does not work...
    Next, I added all THE libraries I have seen in the libraries in the project properties section... still no luck

    I don't know I'm missing something basic. Can someone please help.

    Rgds,
    Amit

    Hi Amit,

    try to set the filter above in New Gallery to filter by: all Technologies

    Kind regards

    Branislav

  • Make a REST Web service call. Error code: 401 Access to the requested resource is not allowed

    Hi all

    I'm having a hard time finding ways to Rest Web service calls.

    I tried this runs directly through the browser and I get an error.

    http:localhost:8080/r EST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected] & arg2 = password

    13:18:20, 613 [RestSecurityServlet] error code: 401

    Access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    1. atg.rest.RestException: access to the requested resource is not allowed: / atg/userprofiling/ProfileServices

    at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:546)

    at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:313)

    at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:199)

    at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:417)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:260)

    at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320)

    at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:264)

    at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:130)

    at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)

    Documentation, I understand that I need to create a session, the session is needed to access the secure components since this

    method specific 'ProfileServices.loginUser' was declared as non-secure, restSecurityConfiguration.xml

    In addition, there are two different ways in which I can connect

    1. 1. with the help of RestSession.createSession providing the user name and password.
    2. 2. or by using ProfileServices.loginUser or ProfileFormHandler

    Can someone please clarify

    If you call the REST web service from a Java client, you can create a RestSession object using the createSession method. But in your case you seem to be invoking it with an HTTP request, which, by default, would be considered a GET request by application of the REST of the ATG. So either a GET, he would try to get a property "loginUser" of the component/atg/userprofiling/ProfileServices (based on your URL) that would always fail.

    To call the method ProfileServices loginUser() with your argument, you need to tell the system to the REST of the ATG to process your incoming request not GET, but as a demand that you can do to atg-rest-http-method of the parameter control in your application like this

    http:localhost:8080/rEST/bean/atg/userprofiling/ProfileServices/loginUser? [email protected]& arg2 = password & atg-rest-http-method = POST

    It should work in this way, your restSecurityConfiguration.xml is correct.

  • Web service call - works locally but not on mobile?

    Hello

    I have a web service call (the service is hosted on the cloud is an external area of permamnent) which works fine when I test locally using the Flex Buritto built in emulator or directly by using my browser.

    But when trying a android phone (tried a few of them - link one, nexus s and galaxy tab) the service is called but never returns anything.

    Is there a good way to trace of call / understand the problem?

    Thank you

    NIR

    Export project based on your device...

    If your developling locally you must do in order to get the remote calls to work

    That should solve your problem

  • Results of long-term with the web service call process

    I'm starting a long-lived process that dragged out variables using a .net web service call. I would like to be able to get these output variables. I find all of the features in the JobManager service to do this... y at - it another way to do this? I am not above querying the Livecycle database...

    Thank you

    Mike

    It will work only after that the process is 'complete'.. then you need to check the status... .and when that is complete, then you can check the results.

    Paul

  • How can I create a query with the data control to the web service?

    I need to create a query with the order of web service data, WSDL, it is query operation, there is a message of parameter with possible query criteria and a return message contains the results. I googled but can't find anything on the query with the web service. I can't find a criterion "named" to the data control of web service as normal data control. Blog of Shay, I saw the topics on the update with the data of web service command. How can I create a query with the data control to the web service? Thank you.

    Hello

    This might help

    * 054.     Search form using control data WS ADF and complex of entry types *.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

  • Problems to change my url endpoint data control for Web Service design time vs deploy times. Where is the url of time to deploy the "deployment configuration" stored?

    https://blogs.Oracle.com/ADF/entry/changing_endpoint_url_for_a_web_service_data_control

    Using this link as a reference, I created a data control Web Service, and when I deploy via JDeveloper for different environments I can change my point of endpoint accordingly on this screen:

    Capture.PNG

    However when I change my point of termination at the design time, the changes do not appear in the screen "Configuration of the deployment. This would not normally be a problem, but our automated deployment (maven/ant) seems to keep picking up the url "Deployment Configuration" instead of what we change in the DataControl.dcx. So I have a few questions:

    1. Why is there a difference between what we have in the source code and what is shown on this ""Deployment Configuration "screen for manual deployment of JDeveloper? "

    2. where is this "Deployment Configuration" end point url located? I can change it during an automated deployment as I can on a manual deployment?

    3. What is the best practice to change a url endpoint to the Web Service data control with during an automated deployment?

    It turns out that the connections.xml had the url of the endpoint that the profile of the deployment and jdeveloper was referencing at deployment time.

    In order to get our automated generation work, we use a search and replace of Ant utility to change endpoint in this connections.xml before construction/deployment of the application.

  • best practices for the web service call

    Can I add a web service by using the standard data connection Wizard - works fine. I can also do it in Javascript which give me a little more flexibility. Is there a guideline or wisdom for which is better?

    Everything depends on your condition...

    For example, if you know your address Web service at the time of the design itself, then it would be better to put in the tab of data connection.

    But if your webservice address changes at runtime based on the environment in that your application is deployed, then you can use the java script code to change the webservice dynamically address.

    Thank you

    Srini

  • Conversion error in CFML arguments to the Java classes for the web service call.

    Hi all.

    I'm working on writing a small application that uses a web service that is provided by our IVR (Angel.com). I am able to connect, however, when I try to do something with complex objects, I get the error indicated in the title.

    He seems to have a problem with the table because when I remove it, or it becomes a simple string, I get errors on the function could not be found. I'm relatively new to web services, and especially dealing with complex data types, so any help would be appreciated.

    You can see my test page to

    http://webservices.fpitesters.com/AngelCalls.cfm

    I use the language WSDL can be found at

    http://www.Angel.com/outbound/WSDL/OutboundCallService.WSDL

    Some examples of code that does what I want to do in Java / Apache Axis

    http://www.Socialtext.NET/ivrwiki/index.cgi?java_sample_code

    Here is a description of the function that I have problems with

    http://www.Socialtext.NET/ivrwiki/index.cgi?placecall

    And my code is attached.

         <cfset email = "xxxxxxxxxxxxxxxxxx">
         <cfset pin = "xxxxxxxxxxxx">
    
    
         
         <cfinvoke webservice="http://www.angel.com/outbound/wsdl/OutboundCallService.wsdl" method="login" returnvariable="login">
              <cfinvokeargument name="email" value="#email#"/>
              <cfinvokeargument name="pin" value="#pin#"/>
         </cfinvoke>
    
         <cfdump var="#login#">
         
         <cfset Token = login.getToken()>
         
         <cfdump var="#token#">
         
         <cfset CallItem.maxWaitTime = 100>
         <cfset CallItem.phoneNumbers[1] = "7632344306">
         <cfset CallItem.siteNumber = 100041>
         
         <cfinvoke webservice="http://www.angel.com/outbound/wsdl/OutboundCallService.wsdl" method="placeCall" returnvariable="call">
              <cfinvokeargument name="Token" value="#Token#"/>
              <cfinvokeargument name="CallItem" value="#CallItem#"/>
         </cfinvoke>
         
         <cfdump var="#call#">
    

    If you are not initializing phoneNumbers tabular before adjustment

    
    

    It will be passed as a structure with a key of 1.  This could cause your conversion of argument error.

    So:

    
    

    Will result in

    struct
    MAXWAITTIME 100
    PHONENUMBERS
    struct
    1 7632344306
    SITENUMBER 100041
      
    

    Will result in

    struct
    MAXWAITTIME 100
    PHONENUMBERS
    Table
    1 7632344306
    SITENUMBER 100041

    -Jason Morgan

  • Help: using customered for Web Services data type settings

    file answer.cfc
    < cfproperty >
    < cfcomponent name = "person" type = "name" >
    < name cfcomponent = "answerText" type = "string" >
    < / cfproperty >

    file name.cfc
    < cfproperty >
    < name cfcomponent = "FirstName" type = "string" >
    < name cfcomponent = "Name" type = "string" >
    < / cfproperty

    webServices of the myWebServices.cfc file
    < cfproperty >
    < cffunction = returnType = "echoAnswer" name "string" access = "remote" output = "false" >
    < name = "input" cfargument type = 'response' >
    < cfset returns = "" >
    < cfif arguments.input.person.FirstName eq 'Xinkun' >
    < cfset returns = "Xinkun replied:" > ""
    < cfset returns = arguments.input.answerText & returns >
    < cfelse >
    < cfset returns = "Xinkun failed" >
    < / cfif >
    < cfreturn returns >
    < / cffunction >
    < / cfproperty >

    file servicesClientTest.cfm client Web services
    < cftry >
    <!-< component cfobject = 'response' name = "respons" >-->
    < cfset respons = structNew () >

    <!-< component cfobject = 'name', name = "tempN" >-->
    < cfset tempN = StructNew () >
    < cfset tempN.Firstname = "Xinkun" >
    < cfset tempN.Lastname = "Yuan" >

    < cfset respons.person = tempN >
    < cfset respons.answerText = "test answer" >

    "" < cfinvoke webservice = " http://localhost/CF_Webservices/myWebServices.cfc?wsdl" method = "echoAnswer" returnvariable = "outputV" >
    < name cfinvokeargument = "input" value = "#respons #" >
    < / cfinvoke >
    < cfoutput >
    #outputV #.
    < / cfoutput >
    < cfcatch >
    < cfoutput >
    #cfcatch. Message #.
    < / cfoutput >
    < / cfcatch >
    < / cftry >

    There will be an error: "could not perform web service"echoAnswer"call" when I test the servicesClientTest.cfm.
    Help me please!

    Are you using Application.cfc?

    @Dan
    The return type does not matter for this error. The error occurs when the WSDL is generated. Return types are checked when executing when the method is called and return types as you can have customized no compiling errors will occur.

    I've recreated the files exactly as you said and it works just file when I remove my application.cfc.

    See this article http://corfield.org/blog/index.cfm/do/blog.entry/entry/Applicationcfc__onRequest_and_CFCs.

  • missing namespace for the parameters in the web service call

    We try to call a web service developed by Java & XFire. The WSDL is valid for WS - I Basic Profile and it works very well with SoapUI. The query generated automatically by SoapUI is the following:

    "" "" "< soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns: your =" http://www.example.org/test8/ " xmlns:tes1 =" http://www.example.org/test8 "> "
    < soapenv:Header / >
    < soapenv:Body >
    < your: parameters >
    < a >
    < tes1:id > 44444444444445 < / tes1:id >
    < tes1:b >
    < tes1:id >? < / tes1:id >
    < / tes1:b >
    < /a >
    < id >? < /ID >
    < / your: parameters >
    < / soapenv:Body >
    < / soapenv:Envelope >

    When we put this in Flex, what we are seeing is that the namespace for the parameters element is missing. We see it in the proxy logs. The server receives this message and parameters is not in namespace, so the server complains that the parameters is missing. We can reproduce this exact behavior by removing namespace in the query with SoapUI.

    The question is why flex removes namespace for the element parameters?

    We use the literal to the WSDL document, and I paste below. We have been stuck on this for over a week, so if anyone has any suggestions I would be eternally grateful. Thank you

    <? XML version = "1.0" encoding = "UTF-8"? >
    < wsdl:definitions
    ' xmlns:SOAP =' http://schemas.xmlsoap.org/wsdl/soap/ "
    ' xmlns:TNS =' http://www.example.org/test8/ '
    ' xmlns:WSDL =' http://schemas.xmlsoap.org/wsdl/ '
    "container =" http://www.w3.org/2001/XMLSchema "
    name = "test8".
    targetNamespace =" http://www.example.org/test8/" > "
    WSDL: < types >
    < xsd: Schema
    "targetNamespace =" http://www.example.org/test8/ "
    xmlns:Q1 =" http://www.example.org/test8" > "
    < xsd: import
    schemaLocation = "Test8.xsd."
    namespace =" http://www.example.org/test8" > "
    < / xsd: import >

    < xsd: complexType name = "fooRequestType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "a".
    Type = "Q1:A" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < xsd: complexType name = "fooResponseType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "b".
    Type = "Q1:B" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: Schema >
    < / wsdl: types >
    < name of the WSDL: message = "fooRequest" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooRequestType" / >
    < / wsdl: message >
    < name of the WSDL: message = "fooResponse" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooResponseType" / >
    < / wsdl: message >
    < name of wsdl: portType = "Test8" >
    < name of wsdl: Operation = "foo" >
    < message wsdl: Input = "tns:fooRequest" / >
    < message wsdl: output = "tns:fooResponse" / >
    < / wsdl: Operation >
    < / wsdl: portType >
    < wsdl: Binding
    name = "Test8SOAP".
    Type = "tns:Test8" >
    < soap binding:
    style = "document".
    "transport =" http://schemas.xmlsoap.org/soap/http " / >
    < name of wsdl: Operation = "foo" >
    WSDL: input >
    < use of soap: body = "literal" / >
    < / wsdl: Input >
    < wsdl: output >
    < use of soap: body = "literal" / >
    < / wsdl: output >
    < / wsdl: Operation >
    < / wsdl: Binding >
    < wsdl:service name = "Test8" >
    < wsdl: port
    Binding = "tns:Test8SOAP."
    name = "Test8SOAP" >
    "" < soap: address location = ' http://www.example.org/test8 ' / >
    < / wsdl: port >
    < / wsdl:service >
    < / wsdl:definitions >

    the XSD containing A and B:

    <? XML version = "1.0" encoding = "UTF-8"? >
    "" "" "" < scheme xmlns = " http://www.w3.org/2001/XMLSchema" targetNamespace = ' http://www.example.org/test8 ' xmlns:tns = ' http://www.example.org/test8 ' elementFormDefault = "qualified" >

    < name complexType = 'A' >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < element
    name = "b".
    Type = "tns:B" >
    < / item >
    < / sequence >
    < / complexType >

    < complexType name = "B" >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < / sequence >
    < / complexType >
    < / schema >

    The solution seems to be that Flex doesn't support unwrapped no literal document. Flex only supports rpc literal or literal wrapped document. This seems to be because flex adds the name of the xml message method and in the unpacked literal document there is no message name in the soap message.

    It took a lot of time to understand this, partly because we did not know exactly what is wrapped meant (there is no option in Eclipse WTP for her, no way to verify no wrapped with a tool, etc.). If Flex said that she did not support unpacking literal document we would have saved ourselves a week or two.

  • ADF Web Service call

    I try to call a Web ADF SOAPUI or browser Service.

    There are two URLS but one of them is accessible and others it does not. We need to put in place something on cloud of Fusion so that we can access the service?

    https://ebxg-test.fs.em2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?WSDL -does not work

    https://ebcy-test.fin.US2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?WSDL -I could call it from SOAPUI

    All directions?

    Kind regards

    SID

    To elaborate a little more on what Jani said, ". end.«» segment in the second URL means that demand will the field of finance, which is the right place for a web service of financial data.  The '.fs.' in the first URL means "Functional Setup" and is another server (domain) that doesn't have the expanded financial services web service, so it won't work.

    Hope this helps,

    Mr Oliver Steinmeier

    Fusion applications Developer Relations

    https://blogs.Oracle.com/fadevrel

  • 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

Maybe you are looking for