POST URL using OSB

Hello

I have a requirement to hit a URL that will give me an answer.

I created a proxy service that sends the URL by using the routing action at the service of business and commercial services using the POST method to call the URL.

I specified the xsd answer in business. The URL is accessible from the browser but when I test my OSB I get following error.

< con: errorCode > BEA-382502 < / con: errorCode >

< con: reason >

OSB services legend action received an error response

< / con: reason >

< con: details >

" < = xmlns:con1 con1:ErrorResponseDetail ' http://www.BEA.com/WLI/SB/stages/transform/config ">

< con1:detail >

& lt; Response = xmlns:i'http://www.w3.org/2001/XMLSchema-instance"> ".

& lt; Code >-7 & lt; / Code >

& lt; Message > Bad request & lt; / Message >

& lt; Result > 0 & lt; / result >

& lt; / answer >

< / con1:detail >

< con1:http - response-code > 400 < / con1:http - response-code >

< / con1:ErrorResponseDetail >

Can someone please make me if there is nothing wrong with my approach?

The server does not understand the request.

Pointers are highly appreciated.

With respect,

Hard

This is resolved. I had to call the GET method and do not clearly POST to get the answer.

Stupid mistake.

With respect,

Hard

Tags: Fusion Middleware

Similar Questions

  • is an HTTP Post possible using webworks/widget SDK or what I should use Java widget?

    Hi all

    I use webworks and widget SDK to make a simple application where I need to do the following

    (1) open a site called www.mytest.com

    (2) display the following parameters with the request to open the site

    Login = true

    UserID = one

    password = b

    Is this possible using BlackBerry Widget SDK? I looked at the blackberry.invoke.BrowserArguments and I do not think that it allows that.

     

    Is this a limitation to the use of webworks? If so, that is the only alternative is to develop a widget of java and use the browser2 field?

     

    Thank you

    Parag

    Yes, you can...

    When you make an Ajax request, on your call to the open() of XMLHttpRequest objects method use the following:

    XMLHTTP. Send ('post', URL, true);

    XMLHTTP. Send (post_string);

    WHERE

    'post': your request method

    URL: the url to which the http request you

    true: to make it asynchronous (Note: this is the default behavior)

    post_string: is a urlencoded string containing all your post variables and their values like this

    "xc =" + encodeURI (element.value) + '& xd =' + encodeURI (element2.value)...

    You should be fine here as long as you know how to create an XMLHttpRequest object and can use GET, this should be familiar.

  • How can I poster print using my officejet pro 8600plus? My 8500 had this feature.

    How can I poster print using my officejet pro 8600plus? My 8500 had this feature.

    Yes, the Officejet 8500 driver works at full capacity on the Officejet 8600.

    You do not remove port 8600, you just right-click on the Officejet 8600, select properties from the Printer Ports and simply find what port the 8600 uses.  After writing this down, click Cancel to quit this game.  I suggest that you let the Officejet 8600 driver installed, you can install the version with the Officejet 8500 driver and simply select the printer you want to print time.

  • How to make a request on a URL using webworks development environment?

    Hey geeks,


    How to make a request on a URL using webworks development environment?


    Thanks in advance...!

    "A request for a url" you try to perform an ajax call and it does not work? Any field/origin you're wanting access must be white listed in a element in the config.xml file. Details of this are in the WebWorks development guide

  • Is it possible to download the zip from a URL using plsql program

    Hi all

    I know that we can obtain xml from url and save this CLOB but is it possible to download a zip file of URL using plsql program.

    Let me google that for you

  • How can I get a list of all links/URLS used in all emails Eloqua?

    I try to have a report, list, or the export of all links/URLS never used in e-mail Eloqua (about 250) assets. Is there a quicker, more precise and perhaps automated to do this other than to pick up manually?

    Basically the desired result is a list of all links/URLS used in an Excel worksheet, additional information is a plus.

    If there are ways through the API, it is also welcomed.

    The Web site is subject to a few changes and we would like to keep all links living in them the remapping to the end server.

    Hi all

    First two ideas come to mind:

    1. go to Insight and run the Email clicks link ventilation report to see the links and clicks used in various emails. This will allow you to search for links to the last 730 days. However, note that if you have an abundance of links, the report may timeout. This is why the guests page, you may need to search specifically for a range of dates (month or two at a time) until you have all the expected results.

    2. using other APIs. The live docs for Rest API include the ability to search hyperlinks in emails. For instructions to access the direct documentation, see the Oracle Support Document 2078514.1 (how access rest and bulk API Live Docs) to: https://support.oracle.com/epmos/faces/DocumentDisplay?id=2078514.1. Once inside the live docs do the following:

    • Click on liabilities
    • Click/assets/hyperlinks
    • Expand the Hypertext GET/assets/links
    • Entry 'Complete' in depth to make sure that you check out the URL for each hyperlink

    Let me know if it helps!

    Best regards

    Matt Goodman

  • Acrobat CC - lost Scripture I posted after using the fill &amp; sign. Help, please...

    Acrobat CC - lost Scripture I posted after using the fill & sign. Help, please... It happened after I merged the two files...

    Hi mannys14196422,

    This problem has been resolved in the last update. Go help--> Check for Updates.

    Please let us know if you still face the question.

    Kind regards

    Sandeep

  • How to handle asynchronous calls using OSB?

    Hello

    How to handle asynchronous calls using OSB?

    Please help me?

    -Vincent

    Hello friend, here is what you need.

    Oracle Service Bus, call asynchronous Web services | Oracle... Java... OpenSource... SOA

  • How can I increase the font size of the url using CSS?

    I thought I knew how to do this. I want to increase the size of a url using CSS.

    I created a rule:

    {a.15text}

    do-family: Arial, Helvetica, without serif.

    font size: 25px;

    make-weight: normal;

    color: #BC2828;

    text-decoration: underline;

    }

    In the code, I have the following:

    " < a href =" http://www3.Imperial.AC.UK/edudev/workshops/intro/TfL "class ="15text"target ="_blank"> Introduction to teaching for learning < /a > "

    In Dreamweaver, the class = "15text" make the font size of the above more general url, but when I saw in the browser, the size of the font of the undelrined url remains low.

    What I am doing wrong? How to make the url, the largest font size?

    I have no problem of change in the characteristics of normal text, but a problem with URL.

    It's because you can't have class that start with a certain number of names.

    Replace - 15text - Texte15

  • Not able to access OPA web service using OSB

    Hello

    We try to access a simple modules using OSB.

    Here are the steps:

    1 created a simple modules - Test
    2 deployed war determinations weblogic Server (created a war of the Test\Release\determinations-server folder)
    3 success generated wsdl - http://localhost:7001 / determinations-Server/SOAP/Test/specific? WSDL
    4. has created a service business OSB providing the above wsdl and endpoint.

    We get a "404 - not found" error when you try to access 'Evaluate' operation.

    Please provide all the entries.

    Kind regards
    AP

    See this thread for more information on your problem of weblogic: Weblogic SAAJ implementation and version problem

    He finds himself in the deployment of Oracle Server determinations for Java on Oracle WebLogic Server Guide of Installation of Oracle Policy Automation

    Published by: frank.hampshire on October 14, 2010 15:13

  • How pass an array into a php url using the flex http service?

    How pass an array into a php url using the flex http service?
    im making something like this:
    http://localhost/flex_php/example_return_xml.php?id= {mylist}
    -mylist? TABLE
    -If I try to use a text variable it works for example. {myvar.text} where myvar is a text input

    Any idea!

    How can I get using XML?
    I tried to push the table in a textinput & sent the text of entry in php, it worked!

  • Passing an identifier simple via a url using a hyperlink problem

    I can't believe I just can't understand it, I'm passing an id via the variables from the url using a hyper link. He returned with an error in my linked page saying there is an error in the way that I used a function. I do not understand, this is a feature I use all the time. Here are my questions that are in the way and receive the id.

    IndexPage:
    < name cfquery = "useRec" datasource = "#APPLICATION.dataSource #" >
    SELECT user. User.email fname AS ViewField1 AS ViewField6, the user. Lname AS ViewField3, user. Username AS ViewField4, user.password AS ViewField5, lastLogin, hits, user.ID AS ID
    The USER
    < / cfquery >

    < cfoutput query = "useRec" >
    < a href = "" page2.cfm? ID = #ID # "class ="nav"> view user folder < /a >"
    < / cfoutput >

    PAGE 2

    < name cfparam = "ID" type = "integer" default = "#url.ID #" >
    < name cfquery = "useRec" datasource = "#APPLICATION.dataSource #" >
    SELECT user. User.email fname AS ViewField1 AS ViewField6, the user. Mname AS ViewField2, user. Lname AS ViewField3, user. Username AS ViewField4, user.password AS ViewField5, user.admin AS ViewField6 user.lastLogin AS lastLogin, user.hits LIKE visits, user.ID
    The USER
    < isDefined ("URL.ID") cfif >
    WHERE ID = < cfqueryparam value = "" #URL.ID # "cfsqltype ="cf_sql_integer">"
    < / cfif >
    < / cfquery >

    It's my mistake:
    Run database query error. [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] The SELECT statement contains a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
    The error occurred on line 11.

    It is throwing an error on my if statement. I tried a number of different options and still the same error.

    Can you see what I might have missed?

    Thank you.

    most likely, your table - USER - name is a reserved word in your database.

    try using it in square brackets: [user]

    BTW, since you are selected in a single table, there is no need of
    Prefixing each column name with the table name.

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com/

  • How to place an apostrophe in a URL using Javascript

    Can someone tell me how to have an apostrophe in a URL using Javascript. I created a Javascript function in which I spend multiple column values in a report of the APEX.

    The URL of the report link that I use is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')".

    The problem occurs with the name and email columns contain a single quotation mark (i.e. of James O'Brien)

    You can add a new column to your report - do not show this--this column is replace(e-mail,''','\''') "e-mail2", then go e-mail2 instead of e-mail to javascript.
    Same thing for the name and everything

    Saad,

  • Manually add a JMS correlation id before posting to a queue using OSB

    Hi all

    Background:

    A (HTTP) proxy services receives a message from raw xml data. It is routed to a business service that performs validation on a JMS queue on weblogic.

    Requirement:

    We need to add specific data such as correlation id to the message that will be displayed to the JMS queue.

    I know this may sound weird, but the application that consumes the message in the JMS queue will not work without this correlation id.

    Please let me know if anyone has an idea to implement this through OSB.

    Thanks in advance :)

    Edited by: Harry1234 2013-03-12 04:40

    Edited by: Harry1234 2013-03-12 04:42

    Hi Harry,.

    Inside of your itinerary, add a Transport header action.
    Direction = request outgoing
    Click on 'add a header '.
    Select defined = jms, then select the CorrelationID property
    Then set the expression

    Kind regards
    Fabio Douek

  • Don't post Tweet using the API Twitter ME v 1.8

    Hello..
    I'm doing with Twitter blackberry application...

    I followed the examples of code given by David Mourao Jr...

    I tried to send the new tweet after the connection, but it did not work...

    Here is the code:

    package com.twiter;
    
    import java.io.IOException;
    
    import impl.rim.com.twitterapime.xauth.ui.BrowserContentManagerOAuthDialogWrapper;
    import impl.rim.com.twitterapime.xauth.ui.BrowserFieldOAuthDialogWrapper;
    import net.rim.device.api.browser.field.BrowserContentManager;
    import net.rim.device.api.browser.field.RenderingOptions;
    import net.rim.device.api.browser.field2.BrowserField;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.TextField;
    import net.rim.device.api.ui.container.MainScreen;
    
    import com.twitterapime.rest.Credential;
    import com.twitterapime.rest.TweetER;
    import com.twitterapime.rest.UserAccount;
    import com.twitterapime.rest.UserAccountManager;
    import com.twitterapime.search.LimitExceededException;
    import com.twitterapime.search.Tweet;
    import com.twitterapime.xauth.Token;
    import com.twitterapime.xauth.ui.OAuthDialogListener;
    import com.twitterapime.xauth.ui.OAuthDialogWrapper;
    
    public class TestTwitter extends UiApplication {
    
        public TestTwitter() {
            // TODO Auto-generated constructor stub
            pushScreen(new BrowserFieldScreen());
        }
    
        public static void main(String[] args) {
            // TODO Auto-generated method stub
                TestTwitter app = new TestTwitter();
                app.enterEventDispatcher();
        }
    
    }
    
    class BrowserFieldScreen extends MainScreen implements OAuthDialogListener {
        private final String CONSUMER_KEY = "consumer key";
        private final String CONSUMER_SECRET = "consumer secret";
        private final String CALLBACK_URL = "call back url";
    
        public BrowserFieldScreen() {
            setTitle("Twitter API ME - OAuth");
            BrowserContentManager myBrowserField = new BrowserContentManager(0);
            add(myBrowserField);
            //
            OAuthDialogWrapper loginWrapper =
                new BrowserContentManagerOAuthDialogWrapper(
                    myBrowserField,
                    CONSUMER_KEY,
                    CONSUMER_SECRET,
                    CALLBACK_URL,
                    this);
            //
            loginWrapper.login();
        }
    
        public void onAuthorize(Token token) {
            System.out.println("onAuthorize: " + token);
            //
            String name = token.getUsername();
            Dialog.alert(name);
    
            Credential c = new Credential(CONSUMER_KEY,CONSUMER_SECRET,token);
            UserAccountManager m = UserAccountManager.getInstance(c);
    
            try {
                System.out.println(m.verifyCredential());
                if (m.verifyCredential()) {
                    //user authorized!
                    TweetER.getInstance(m).post(new Tweet("I can tweet!!!"));
                    Dialog.alert("AA");
                }
            }
            catch(Exception e){
                Dialog.alert(e.getMessage());
                Dialog.alert("FAILED");
            }
        }
    
        public void onAccessDenied(String message) {
            System.out.println("access_denied: " + message);
        }
    
        public void onFail(String error, String message) {
            System.out.println("error: " + error + " message: " + message);
        }
    
    }
    

    I found in the page url call... But there is no new tweet on twitter account...
    Someone knows the solution?

    Hello

    A week back, I met the same problem when you use v 1.8 because some changes by Twitter, so after changing total API to v1.9 they it works.

    I think that you get an IOException is right?

    Kind regards

    Lakshman K

Maybe you are looking for

  • How can I selectively sharing apple?

    I share an Apple ID with my boyfriend and my sister. I like to have collective playlists on Apple music with my boyfriend that we can add and subtract to, but to do that I have to share. The only problem with that is that when I turn on sharing, I ge

  • Portege R700 - Telstra and Dodo SIM cards disconnection

    I have a new R700 and I am having trouble using my Telstra cards or Dodo SIM internally using the Toshiba Wireless Manager. Two of cards using the USB modems however if used internally during the connection work, it immediately fails and says "discon

  • After replacing the PSU and GPU in my HP Pavilion desktop computer, the wifi stopped working.

    I'm upgrading my pc, I plug a new PSU and video card. After successfully, I replaced and installed, I booted up my PC, but it showed that none of the networks or wifi connections are available. I read that maybe it's something to do with the antenni?

  • Cannot parse after installation of new Mac OS 10.6.3

    I had no problem with my old OS 10.5 to scan.  The first scan after update 10.6.3 I received the diagnosis, 'Scanner could not be initialized. Scanner not found. "Printer worked fine.  I then reinstalled the CD software HP and now I get diagnosis "fa

  • C2960S SG200-18 <>- shared - resources SG200 cut the net

    Hello Still trying to figure out how to connect our new SG200-18 to an existing Cisco network, especially a C2960S. Here's what I have: On the side C2960S - here's what I have on the corresponding interface: GigabitEthernet1/0/1 interface switchport