Basic of Web Services question

Hello

We are on Oracle 11 G and we got a request from one of our external suppliers to send the data via web services. They use the MS .net technology to their end.

I am not quite aware of the web service or their mode of operation. Could someone explain in simple English on what we need to do starting end 11 G from Oracle to send data via a Web Service.

I don't know what questions I need to ask the seller, because they ask us to send data in XML format.

Assistance or direction on this front is greatly appreciated.

Thank you

Aravind

In simple terms, a Web service possesses two elements

Service-the one hosting the service and is available over http via endpoint, she understands and accepts data in accordance with the agreement (contract)

Consumer/customer - will search for the Service and calls or sends a request to the Service according to the contract (wsdl).

(Optional) request and Responses are defined in the WebService WSDL contract (hosted by the Service)

In your case, if you need to send the data in XML format via http to the seller, then

1. the seller must be hosting Webservice, so ask for the WSDL document

2. try to access the WSDL in a browser and understand the request and response structures and what she expected

3 create a Web Service client in accordance with this contract (WSDL) and call the Web service passing the query in XML data

4. the vendor that hosts the service responds with a reply or an acknowledgment (everything that is defined in the WSDL document)

Go through these

Web service - Wikipedia, the free encyclopedia

Web Services tutorial

Tags: Fusion Middleware

Similar Questions

  • BPEL to invoke the secure with HTTP Basic authentication Web service

    I call a synchronous web service in a BPEL process. The web service expects basic http authentication. How can I set/generate the user name and password in the BPEL process? I use Oracle Fusion Middleware 11g (11 g, WebLogic 11 g JDeveloper). Any help is appreciated.

    For more easily go to em console click on your composite deployed, you will find all the components in your bpel process below .click on component webservice invocation then clck on properties you can mentioned username, password I would like to know if this helps u

  • Analysis Web Service Question to save nutrients

    Hello

    I am trying badly to turn our nutrient analysis Web Service client. However, it is difficult that I can't get an error message more detalied. I use that line c#:

    Console.WriteLine ("ResultCode:" + responseHeader.ResultCode);

    But I don't get a generic message of "RESULT_INVALID_INPUT". How can I get a more detailed messages such as "NUTRIENT_ANALYSIS_INVALID_SAMPLENUMBER"?

    Thank you

    Messages is an array of objects tMessage. You need to browse the table and get the MessageCode and the Description for each tMessage in the table.

  • Is it possible to access a pdf form basic html web service?

    I was wondering if it is possible to send a request of livecycle web service and parse the returned data.

    A small example of what I think is querying a database like wolfram alpha by using their html query.

    It is in the format http://api.wolframalpha.com/v2/query?input=pi & appid = XXXX. where "pi" is the query and the XXXX is the specific user id

    The website will return an xml file.

    Anyway is to send this html with any query from a text field and the response process?

    Thank you!

    Hello

    Naseko is just using the formcalc get function and I use it to access the information to google calendar, you can also call the function get formcalc from JavaScript as described here http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html.

    The main problem I have is with the yellow bar message and popup message saying you want to allow access to api.wolframalpha.com (or other).  I think you can get around this by certifing the form, but I don't have access to the servre products to do so.

    Anyway, if it helps to take a look at https://workspaces.acrobat.com/?d=vFcW-9OVSm * BdV6GyFfUIg you need to change the code for the button click to specify your own appid, but the code is simple enough;

    var response = FormCalc.Function.Get ("http://api.wolframalpha.com/v2/query?appid=> & entry = capital % 20% 20australia");

    response = response.replace (/ ^<\?xml\s+version\s*=\s*(["'])[^\1]+\1[^?]*\?>/, "");

    var responseNode = xfa.datasets.createNode ("dataGroup", "response");

    responseNode.loadXML (response, false, false);

    var response = responseNode.resolveNode ("queryresult.pod. (title). Value == 'Result') ") .subpod." PlainText.Value;

    Console.println (Answer);

    If this code sends a request to 'the Australia capital' and gets an answer 'Canberra, Australian Capital Territory, Australia'

    Replace > with your appid and relating to the sample related to the workings of FormCalc.Function.Get.

    Also, expect Designer to plant a few times all operate.

    Hope this helps,

    Bruce

  • Basic functionality Web - Security Question

    Hi all

    Assuming the following:

    -you use in your digital data series ID's

    -with php, you make a search query to get a number of points-, and then you view the results in a loop in a list of web page view.

    - then on each line, you change a button for that item. Here, the link is something like: editpage.php? id = <? PHP echo $record-> getField ('item_id');? >

    -now, when you click on the edit page - it will make another query to get all the details of the order of the day and view a change form - etc.

    Problem: in this case - anyone can simply change the url = xxx to any other number id and it will search from the page of another record.

    Q: HOW can lock us this in order to avoid the above scenario and it is a more secure system?

    BTW: A method that we can use is to have a second field as a random body of numbers in the table data - search for the two--where people will have a hard time to guess like this link: editpage.php? id = <? PHP echo $record-> getField ('item_id');? > & random = <? PHP echo $record-> getField('randomnum);? >

    even if we did not use of $_GET ['id'] and saved as cookie instead - a user could still change that too...

    THE BEST SUGGESTIONS to lock things?

    You should always check whether the user has the appropriate permissions editing. So, on your editing page, make a request before allowing first has an editing tool. Of course, the same is true for insert and delete.

  • Basic authentication with the RESTful WEb service and a Web Service reference

    Hi all

    We have made significant progress on getting an application to work with RESTful web services, but are now trying to understand how to lock a RESTful Web service while making it available for a particular application.

    We use one of the 'emp' table sample web services come with Apex 4.2 and are trying to apply the Basic Auth to the WEb Service using Weblogic filter defined in the web.xml file. Which works very well. I now get challenged when I try to go to:

    https://wlogic.edu/Apex/BNR/ACE/HR/empinfo/

    And when I authenticate this challenge, I am able to get the data. (we are usiing the Weblogic-level LDAP authentication)

    However, I'm not sure how to get even basic authentication to work with Web Service reference in my application. I see the error message in the application when I try to call this Web Service:

    401 Unauthorized <

    And I see:
    "The request requires user authentication. It MUST contain a header field WWW-Authenticate (section 14.46) containing a fault that is applicable to the requested resource. The client MAY repeat the request with a suitable authorization (section 14.8) header field. If the request already includes identification of the authorization information»

    How can I provide the credentials in the Web reference or provide credentials in the Application?
    Web service works fine if I remove the auth basic RESTful web service in the Web.xml file.

    We should NOT use basic auth and auth Weblogic web service definition basic RESTful Workspace use instead. If so, how would we implement THIS basic authentication in the definition of Web Service and the Web SErvice reference on the application?

    Thank you
    Pat

    Hello Scott,

    Thank you. There is a function for rest in the package:

    function make_rest_request(
    --
    -- This function invokes a RESTful Web service with the supplied name value pairs, body clob, or body blob
    -- the response as an clob.
    --
    -- Arguments:
    --   p_url                  The url endpoint of the Web service
    --   p_http_method          The HTTP Method to use, PUT, POST, GET, HEAD or DELETE
    --   p_username             The username if basic authentication is required for this service
    --   p_password             The password if basic authentication is required for this service
    --   p_proxy_override       The proxy to use for the request
    --   p_body                 The HTTP payload to be sent as clob
    --   p_body_blob            The HTTP payload to be sent as binary blob (ex., posting a file)
    --   p_parm_name            The name of the parameters to be used in name/value pairs
    --   p_parm_value           The value of the paramters to be used in name/value pairs
    --   p_wallet_path          The filesystem path to a wallet if request is https
    --                          ex., file:/usr/home/oracle/WALLETS
    --   p_wallet_pwd           The password to access the wallet
    --
        p_url               in varchar2,
        p_http_method       in varchar2,
        p_username          in varchar2 default null,
        p_password          in varchar2 default null,
        p_proxy_override    in varchar2 default null,
        p_transfer_timeout  in number default 180,
        p_body              in clob default empty_clob(),
        p_body_blob         in blob default empty_blob(),
        p_parm_name         in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_parm_value        in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_wallet_path       in varchar2 default null,
        p_wallet_pwd        in varchar2 default null ) return clob;
    

    My point was that using the API makes things easier if you have to look for a solution.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to pass the name of user and password to BPEL of the java proxy web service?

    Hi all

    Environment: SOA Suite 11g

    I use basic http authentication in my SOA services using a strategy of "oracle/wss_http_token_client_policy. Now, I need to call these SOA web services from a java proxy.

    Please let me know how this can be done.

    Thanks in advance

    Have you tried the messages below?

    BPEL to invoke the secure with HTTP Basic authentication Web service
    Call a BPEL process using the HTTP Basic authentication

    http://docs.Oracle.com/CD/E21764_01/Web.1111/e13713/owsm_appendix.htm#CHDBAHBI

    Thank you
    Vijay

  • Can't access to the following endpoint: (external Web service)

    Hi all

    I'm trying to connect to a web service using WSDL, which is given by the osm, using Oracle SOA.
    I created the emconsole key file and created the user in adminconsole and applied the wss_http_token_client_policy to this webservice. When I try to connect to the Oracle SOA web service, I get exception below:

    < env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env >
    < env:Header / >
    < env:Body >
    < env:Fault >
    env:Server < faultcode > < / faultcode >
    oracle.fabric.common.FabricInvocationException < faultstring >: can't access to the following endpoint: http://hostname/osm/wsapi < /faultstring >
    < faultactor / >
    < detail >
    < exception > unable to access to the following endpoint: http://hostname/osm/wsapi < /exception >
    < / details >
    < / env:Fault >
    < / env:Body >
    < / env:Envelope >

    Can someone help me in problem solving.

    Thanks in advance,
    Ajay

    Published by: Ajay8706 on October 18, 2012 23:36

    Try the wss_username_token_client_policy

    Check here: BPEL to invoke the secure with HTTP Basic authentication Web service

  • Secure Web Service call

    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - production
    PL/SQL Release 10.2.0.2.0 - Production

    Hello
    Is it possible to contact a secure Web service (ws-security) with pl/sql code?
    I can communicate with a https without problem, but I don't see how I can do for the ws-security header.

    Thanks in advance.

    Unfortunately, WS-Security is not supported with the Oracle DBWS utility legend, right now. However, we have a very high improvement gravity request filed for this internallt - so it's probably in one of the upcoming releases soon.

    In the meantime, you may want to consider going back to using UTL_HTTP for it where you can create your own custom SOAP (WS-Security headers in this case) headers-, but keep in mind that UTL_HTTP can be used with types only very basic of Web Services with simple data types, methods, etc. Another and a better solution would be to have a 'bridge' Web Service (via the SSL protocol, perhaps) who speaks to your main Web Service using WS-Security. This WS bridge can then be invoked by your database using the utility DBWS legend.

    HTH,
    Yogesh

  • Basic questions about the PL/SQL web services and data source names

    Hello

    I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

    The following code was generated in the base class for web services:
     __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
    However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

    What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

    Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

    Thank you
    Luis

    I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
    .

    JDBC/ref_name_from_web. XML
    JDBC/new_jndi_name

    .
    And in this way, you will not have to change any code level to point your web service to another connection.

    Vishal-

  • simple question of Web service

    I use a Web Service to publish data, and this question is, I am sure, from my limited knowledge and use of the web servers.

    I am able to set up a 'add' method, pass 2 numbers to the web server and the web server to return a value. Simple. But, I don't know what to do when I want to get the current value of something that is being updated in a loop.

    For example, let's say I have a VI as below and that the user wants to display the current iteration of the loop in their browser, not permanently, but only when they ask for it. I won't use this VI as the method to call. Instead, I would rather pass the current value of a designated only VI VI to return the value of the digital control to the Web server. But I have no idea how (or if) I can change the value of iteration to a method to be called. Does make sense?

    I thought by using session variables, but this requires constantly written to the session variable in my code, which is probably not a big deal, but it would be nice if she only questioned the current iteration when the user asked for it (kind of like 2 numbers are added only when requested by the user in the example of OR). I'm looking for a way to simply return the current value, only when requested by the user.

    You can do this, but things get a little complicated.  The web server is its own instance of the application, and I don't think you can (or wants to) have a VI running permanently inside.  When you compile an application with active web services, you get two instances of application - execution of the application, the other inside the web server.  I guess that your loop will run in the instance of the main application.  Put a global functional in it that stores the value all what you want to be questioned on the web and make sure you that VI accessible via the server of VI.  Then, in your web services VI, open a connection to the VI for that functional overall server and run, by reference, to get the value that are stored.

  • Basic authentication for the WSDL Web Service for load test

    I am trying to load test a web service; the URL of the WSDL is behind a user name and password using http basic authentication. I can add the URL of the WSDL without problem with the user name and password, but when I read the script, I receive a "401 Unauthorized" errors

    I looked at the preferences > recording > Web Services > the Proxy Configuration, and then refer you to the preferences > recording > HTTP > the Proxy settings. I also looked at similar settings under Preferences > reading.

    I'm running OpenScript (9.1), how to configure it...?

    Thank you very much!

    KM

    Published by: KM 14 Sep, 2011 12:12

    Hello

    You can right click on the section to initialize your script and then:

    Add-> other-> HTTP-> authentication.

    You need 3 parameters:

    A - http://someurl - url that will authenticate any url that contains the http://someurl string for example http://someurl.com/index.html
    A password
    A user

    The following code should be added in your script:

    http.addAuthentication("http://someurl", "username",
                        deobfuscate("5blNah5kX/XuZnepYwInFw=="));
    

    Hope this helps

    Alex

  • Import questions of outgoing and incoming Web services in Siebel Client 8.2

    Impossible to import the outgoing and incoming Web services in Siebel Client 8.2 (Public sector) according to the installation instructions:

    Import the outbound Web Services

    To import the outbound web service, follow these steps:

    1. go in Administration-> Web Services-> outbound Web Services

    2. click on import in the outbound Web Services applet

    3. click on browse in the dialog box presented

    4. open the file < install_dir > /examples/SmokeTest/OutboundWebService.xml

    Oracle policy Automation Connector for Siebel Manual of Installation V10.3.0 23

    5. click on import in the dialog box presented

    6 highlight the DeterminationsServer file

    7. change the address < ds_url > /savon / AdminSmokeTest in the Ports of Service applet

    8. Repeat steps 2 to 7 Choose file

    /examples/SmokeTest/OutboundWebServiceIO.XML < install_dir >

    Import incoming Web Services

    To import the outbound web services, follow these steps:

    Go to Administration-> Web Services-> inbound Web Services

    1. click on import in the incoming Web Services applet

    2. click on browse in the dialog box presented

    3. open the file < install_dir > /examples/InboundWebService.xml

    4. click on import in the dialog box presented

    5. turn highlighted the strategy of automation Inbound folder

    6 edit each entry of addresses in the name of the machine hosting the Server Web EAI_Anon_Enu

    Extension, in the Ports of Service applet

    7. Repeat steps 2 to 7 Choose file < install_dir > /examples/InboundWebServiceIO.xml

    Nothing is imported to. Has anyone observed this problem? I use Siebel OPA 10.3.1 connector.

    Concerning

    Bhaskara

    you follow step manual installation that is a bit laborious.

    I think that you will get to see definitions of IO only after enabling view policy automation.

    I will propose you to complete all the steps and then check.

    in my view, import the RIS file will be easy compared to a manual installation.

    Thank you!

    Ravi

  • JDeveloper Web Service Client/Proxy basic authentication

    Hi, I recently migrated a 10g Web Service to a Web Service that uses authentication of database 11g.

    Then I generated the proxy/client by using the WSDL for my consumer application in JDeveloper 11 g. However, I can't find all the functions that will allow me to set the user name and password to access the web service.

    For example, in 10g Client, I had simply to this:

    myPort = new SoapHttpPortClient();
    myPort.setUsername ("username");
    myPort.setPassword ("password");

    I don't know how to do the same thing in the Web Service client generated in 11g.

    Thanks in advance.

    Hello

    See the beginning of this blog entry: http://biemond.blogspot.de/2009/04/jax-ws-web-service-proxy-client-and.html

    Frank

    BTW. : I used Google

  • Newbie question: How do I know if the account has access to web services?

    As the title suggests, I'm new to CRMOD, although I have worked with other web Apis.
    Right now I have a CRM account, but get the "capslock" answer in my SOAP call. I think it's because the account is just a regular account and it lacks some rights. How can I tell the admin to grant my account these rights? I don't know how to make such a request in words they understand.

    Hello Daniel,.

    You must identify your role. If you go to mysetup you know your role.

    Ask the administrator to grant 'Activate access Web Services' prvilege to your role.

    This should be good.

    Kind regards

    Paul Swarnapandian

Maybe you are looking for