Using relative-URI  in creating the REST based proxy service

Hi,
I am facing an issue when i am trying to create REST based proxy. i am looking at the urls given in the forum post Using Business Service that supports XML over HTTP in OSB
I have created a conditional branch with xpath expression like *./ctx:transport/ctx:request/http:relative-URI/text()*
and i am copying this value to $inbound as showin in the blog http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html. But when i typed the uri in browser its saying xml parser error unable to find <.
Not sure of the reason. If i modify my proxy to use http-method as shown in the blog its working fine and that too only when i copied ./ctx:transport/ctx:request/http:http-metho/text() to $inbound. But when i copied the same to another variable like branchcond, i am getting same parsing error. And Is it that the variable has to be always $inbound?  So what should be the variable name for using relativeURI
And my uri is going to be like the following, thats why i am planning to create the conditonal branch on relative-uri.
http:/localhost:8001/proxy/RESTbasedPS/getGreeting?name=23
http:/localhost:8001/proxy/RESTbasedPS/getFullName?firstName=Some&lastName=Thing
Any leads in above error will help me.
Thanks
Siva

When i created the Conditonal branch, its asking for two mandatory properties. One is 'selected path' and the other is 'variable'. My scenario i am trying to base my conditional branch based on relative uri, so i have given './ctx:transport/ctx:request/http:relative-URI/text()' for 'selected path' variable and giving the value 'inbound' for 'variable' property of conditional branch.
i was trying to do this in similar fashion as given in the blog http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html, only thing is that i am using http:relative-URI rather http:http-method as shown in the blog.
I am geting the following error in exact:
XML Parsing Error: no element found
Location: http://localhost:7001/proxy/RESTBasedPS/getGreeting?name=siva
Line Number 1, Column 1:
Please let me know if i am missing something or doing wrong with inbound variable.
Thanks
Siva

Similar Messages

  • How to create the web based report without enterprise portal?

    Hi experts,
    We don't have enterprise portal but I like to create the web based version of the existing Bex reports and which option is the best to distribute this web based report using information broadcasting?
    Can I use report designer for this?
    Thanks in advance.
    Sharat.

    Hi Sharat
    In BI 7.0 the Queries which u devoleped can be broad casted by using two ways .
    1. Enterprise portal
    2.Web Application Designer(WAD)
    So you can choose any of the option, For the Option 1 you should have seperate server for the EP or else For option 2 you have to make some setting in the BI system to enable the Web reports..
    Reagrds
    Satish

  • How to create the PO based on requisition through interface.

    Hi,
    In P2P,
    How to create the PO based on requisition through interface.
    Regards,
    Srikanth

    Hi Srikanth,
    I knew it from frontend.
    But i want from backend using INTERFACE .please see if this can help you
    http://appshub-hussy.blogspot.com/2010/10/requisition-and-purchase-order-queries.html
    http://oraclemaniac.com/2012/04/17/sql-queries-to-get-requisition-po-and-po-receipt-details/
    SQL to link Requisitions with Purchase Orders
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/how-to-find-the-po-number-if-we-give-requisition-number-3161211
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/need-requisition-sql-query-1338985
    ;) AppSmAstI ;)
    sharing is CAring

  • [svn] 762: -update the 3.0 branch to use build. properties to create the flex-sdk-description.xml

    Revision: 762
    Author: [email protected]
    Date: 2008-03-10 07:44:49 -0700 (Mon, 10 Mar 2008)
    Log Message:
    -update the 3.0 branch to use build.properties to create the flex-sdk-description.xml
    Modified Paths:
    flex/sdk/branches/3.0.x/build.properties
    flex/sdk/branches/3.0.x/build.xml
    Added Paths:
    flex/sdk/branches/3.0.x/collateral/en_US/flex-sdk-description.xml

    By the way, simply adding the quotes around the lexical names in the sql statement doesn't work. That causes the lexical references to be ignored as simple string values:
    SELECT
       '&FLEX_GL_BALANCING_APROMPT' alias_gl_balancing_aprompt
      ,'&FLEX_GL_ACCOUNT_LPROMPT'   alias_gl_account_lprompt
      ,'&ACCT_BAL_LPROMPT'          alias_acct_bal_lprompt
    FROM dualI turned on statement-level debugging via xdodebug.cfg and saw how it compiled the lexicals. By replicating the call to apps.fnd_flex_xml_publisher_apis.kff_segments_metadata that I found there, I was able to hack together a workaround for this issue.
    Please point me to a better way of doing this if possible, as I had to GRANT EXECUTE on this apps package to my custom code schema. Is there a better lexical/flexfields reference than the XML Publisher documentation?
    Here is the call I made in my before-report trigger:
    --set ACCT_BAL_LPROMPT flexfield segment metadata lexical
    begin
    apps.fnd_flex_xml_publisher_apis.kff_segments_metadata(
      'FLEX_ACCT_BAL_LPROMPT',
      'SQLGL',
      'GL#',
      101,
      'GL_BALANCING',
      'Y',
      'LEFT_PROMPT',
      c_FLEX_ACCT_BAL_LPROMPT
    end;

  • Steps to create the counter based Maintenance plan

    Hi!
    Can any body give "Steps to create the counter based Maintenance plan"
    (Mater Data,Transactional Data and Customizing Data creation)
    Regards,
    MDSFR

    hi
    please refer the following link
    http://help.sap.com/saphelp_46c/helpdata/en/fe/67ef189d6f11d189b60000e829fbbd/content.htm
    regards
    thyagarajan

  • Post the planned profit-related flows before creating the closing report.

    Hi all,
    I would need some assistance in the posting of bonds scheduled nominal interest.
    Currently I have been able to configure the system to post the accrual of interest but not the recognition of interest revenue upon coupon date. I have encounter this warning message asking me to post the planned profit-related flows before creating the closing report.
    I thought the processing of the nominal interest earned will be very much similar to Fixed Deposits, but it seems like under the cash flow tab, none of the nominal interest flows have been created.
    Wonder if anyone has the experience in this area for bonds accounting and can point me to the correct transaction code to post the earned nominal interest for bonds.
    Many thanks.
    Bryan Goh

    Hi,
    I had the same problem and found the following workaround: apart from overriding MFMailComposeViewController's shouldAutorotateToInterfaceOrientation, I also added implementations for
    _preferredInterfaceOrientationGivenCurrentOrientation
    and
    _isSupportedInterfaceOrientation
    in a category of UIViewController in the native code.
    Then, in the Actionscript code, added an event listener for StageOrientationEvent.ORIENTATION_CHANGING (with high priority and use_capture = true) in Actionscript to prevent resizing of the stage, which can occur even if the orientation doesn’t change.
    This fixed it for me, but, as it messes with UIViewController, it makes it tricky to have views which have different orientation behaviour (if you want one view to be able to rotate in all directions, but others only to support Landscape, for example).
    I've posted details and example code here: http://blog.diadraw.com/native-extensions-for-mobile-air-apps-getting-round-the-orientatio n-issue/

  • Delete / create the operations in Web services incoming

    Hi Experts,
    I have a situation, I begins in SIEBEL, and I have a question: I search the command that allows me to delete / create the operations in Web services incoming.
    Thanks;
    Hussam

    Help me please!!

  • OSB10gR3:High-availbility of file protocol based proxy service

    Hi All,
    I just want to know the options available for creating two proxy services polling on the same location using File transport/ making a file based proxy service independent of managed servers.
    Actually in OSB doc's File Transport Configuration page, it is mentioned that
    Managed Server This field is available only in a clustered domain. Select the Managed Server to act as the polling server. All of the Managed Servers can process the message, but only one can poll for the message. ( [Click here|http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/proxyservices.html#wp1272642] to check)
    So what if the server on which proxy is deployed for polling, goes down? How can we handle such situation?
    Your opinion?
    Thanks & Regards,
    Anuj

    File like FTP and Email transports are singleton services. That is, the processing can take place in any node of the cluster, but the polling only takes place in one. The reason for this is simple, duplicate invocations. If you have 4 nodes in your cluster and they are all polling, when a new file is created, your proxy could be invoked 4 times for the same file.
    You could make two proxy services and have them poll the same directory but on different nodes. If the nodes share the same file system, your business service would have to be able to deal with duplicate messages. If it's not the same file system, the application that creates the files would need to keep track of the status of the servers in the cluster to decide where to put the files.
    I think the best option would be to look into weblogic's cluster features: leasing and server migration. You could configure weblogic to automatically migrate the failed server to another machine (there's also service migration, but I don't think weblogic is aware of osb level services). Of course you would need to use a file system that's available to both the "primary" and the "backup" servers. Have a look here:
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/migration.html
    You could also create a WLST script to modify your proxy service (change the managed server) in case of failure. There should be a way, maybe through JMX or using the WLDF, to get a notification when the server goes down so you can execute your script. Again, you need a shared file system.
    Hope that helps. And if you come up with a good solution let us know!

  • OBPM BPM Studio support for SOAP 1.2 based Proxy services (OSB)

    Hi,
    I tried to import proxy services from OSB (as external resource). The proxy service is based on the SOAP 1.2 WSDL standard. When BPM studio introspective SOAP1.2 based proxy services, it is givng the following warninigs. Bacause of this i am unable to create a service object. Please help.
    Regards,
    Pandu
    Introspecting...
    downloading /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    parsing /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    [Warning] unknown tag 'header' from 'http://schemas.xmlsoap.org/wsdl/soap12/'.
    [Warning] unknown tag 'header' from 'http://schemas.xmlsoap.org/wsdl/soap12/'.
    checking /sbresource?PROXY/RoutingAndMessagingService/proxy/OnRampService
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlmessages%2Futilityservices%2Froutingandmessagingservice%2FRoute
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlmessages%2Futilityservices%2Froutingandmessagingservice%2FRoute
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlheaders%2FHeaderSchema
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdlheaders%2FHeaderSchema
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FHeaderTypes
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FHeaderTypes
    parsing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FSimpleTypes
    analyzing http://localhost:7002/sbresource?PROXY%2FRoutingAndMessagingService%2Fproxy%2FOnRampService%3ASCHEMA%2FSchemas%2Finternal%2Fwsdltypes%2Fcommon%2FSimpleTypes
    http://www.michaelpage.com/wsdltypes/common/SimpleTypesv1.0 compiled
    http://www.michaelpage.com/wsdltypes/common/HeaderTypesv1.0 compiled
    http://www.michaelpage.com/wsdlheaders/Headerv1.0 compiled
    http://www.michaelpage.com/wsdlmessages/utilityservices/Routev1.0 compiled
    [Warning] The binding 'OnRampServiceSOAP' with type 's2:OnRampServicePort'is unsupported. Components will not be generaded for this binding..
    'http://www.michaelpage.com/wsdl/utilityservices/routingandmessagingservice/OnRampServicev1.0/' was parsed.
    Analyzing dependecies for module 'WS.OnRampService'...
    Analyzing dependecies for module 'WS.OnRampService'...
    Analyzing Components
    Storing Instrospected Types
    Introspection completed. Errors: 0, Warnings: 3.

    Pandu,
    OBPM 10g doesn't support SOAP 1.2 binding.
    Edited by: 4dyomi on Nov 20, 2009 11:41 AM
    Edited by: 4dyomi on Nov 20, 2009 11:42 AM

  • Route the request from Proxy Service in OSB to external BusinessService URL

    Hi,
    How to route the request from Proxy service to the Business Service(Which is not registered in the OSB) using End point URL.Dynamically look up the URL and route the req from Proxy to Business service.
    thanks in Advance
    Edited by: user10680427 on Jul 14, 2009 2:57 AM
    Edited by: user10680427 on Jul 14, 2009 3:34 AM

    Hi..
    Just set in within a routing options in a route node, either dynamic routing or just setting the uri, depends on your specific case..

  • Create the deliveries based on the Qty in Sales Order

    Hi,
    I have a requirement where in i need to created the Deliveries equal to the number of quantities in the sales order.
    Example:If i have a sales order with quantity 4 then i should create 4 deliveries separately.
    How can i achieve this?
    Any exits pls advise.
    Thanks .
    Muraghendra D

    Muraghendra,
    One gentleman by name Yash had a similar query on Oct 5, 2006. I had given the following reply:
    If you want to do it without lot of programming, then VLSP is the way to go. Here is how you can do it using VLSP.
    Once the Delivery is created, it needs to be packed. You can setup the a pkg material (say a Pallet) with allowable weight in the material master to automatically create as many handling units as the qty in the Delivery. Then use VLSP to split based on the handling units.
    Here is one more tip, if you want to do some programming. Use the Delivery user-exit to change the delivery qty always to 1. Run RVV50R10A multiple times (assuming you will not have qty more than 4 / 5 ).
    If the qty will be more than 5, then consider triggering an WF from the Delivery user exit (after checking for remaining qty) to create Delivery for the same SO.
    Hope this helps.
    Regards,
    Anand

  • Can I use RS.exe to create the folders in Sharepoint-Integrated Reporting service?

    Hello All,
    Recently, I am using rs.exe and .rss files to publish my reports to SharePoint-Integrated Reporting Service.
    The outstanding issue is, it cannot create non-existing folders for me automatically. I have to created the folder manually.
    Thinking BIDS "Deploy" function can make folder creating happen, why the RS.exe doesn't support so?
    Does anyone know how to change .rss and rs files to make folders creating automatically. 
    E.g. If I pass in "ParentFolder" and it doesn't exist on SharePoint, then RS.exe can create the folder first then deploy the RDL files under that folder.  
    Derek

    Hi Derek,
    In SSRS, we can use .rss files to publish our reports to a new folder. Please refer to the following script:
    Dim definition As [Byte]() = Nothing
    Dim warnings As Warning() = Nothing
    Dim destinationFolder As String = "DemoReports"
    Dim reportsTargetPath As String = "/" + destinationFolder
    Dim reportsSourcePath As String = "C:\Demo"
    Dim datasourceName As String = "DataSource1"
    ‘Create the destination Folder
    Try
    rs.CreateFolder(destinationFolder,”/”, Nothing)
    Console.WriteLine("Parent folder {0} created successfully", destinationFolder)
    CreateReportDataSource(datasourceName, "SQL", "Data Source=.;Initial Catalog= AdventureWorksDW2012")
    Catch e As Exception
    Console.WriteLine("Tasks completed successfully.”)
    End Try
    You can refer to the script in the following blog.
    http://sqlserverselect.blogspot.in/2010/10/rsexe-and-rss-scripts-for-automation-of.html
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Using CE 7.1 ESR with ABAP based web services requires java development?

    Hi All,
    When developing a web service in ABAP, what java development must I do to make the web services available in an ESR that is located on CE 7.1?
    Thanks,
    Regards,
    Mel Calucin
    Bentley Systems, Inc.

    Hi Stefan,
    Someone told me that the difference between CE 7.1 ESR and PI 7.1 ESR is that to register the ABAP web service into CE 7.1 ESR you need to create EJBs and that you don't need to do this for PI 7.1 ESR (since ithe PI 7.1 ESR is ABAP based).  I didn't think that this was the case so I put this question in this forum to confirm this.   I am arguing to put in CE 7.1 because we don't need the PI 7.1 functionality.  This someone told me that we are more of an ABAP shop than a Java shop and that we don't want to develop EJBs whenever we develop ABAP based web services. 
    Thanks.
    Regards,
    Mel Calucin

  • Unable to process huge files in SFTP BASED PROXY SERVICE

    Hi,
    I credted osb project which will have sftp based proxy and sftp based business service.After completing the development i tested the fie transfer through WINSCP ,but my sftp based proxy was picking the files but i am unable to see the files in the output directory for huge files,for small file it is coming after aquite long time .please assist me .

    If you enable content streaming then you cant access the file/message content within the Proxy service and can not perform actions like Replace or perform transformations on the content. Use streaming for pass through scenarios only. If you want to read a large file and also perform transformations on content I would recommend using JCA Adapter for FTP and try reading records from file in batches, a few records at a time. Just so we know the requirement better, what is the file size and what is the format of the content?

  • Using weblogic unit-of-order (UOO) in osb proxy service

    Hi,
    I have a JMS Queue deployed to Weblogic server. The messages inside the queue are grouped using the JMS_BEA_Unit-of-order (UOO) Weblogic feature.
    Now i have a OSB 10g Proxy Service which reads messages from this Queue. The problem is, on recieving a message, acknowledgement is send immediately, thus removing the message from the Queue and next message with same Unit-Of-Order is ready for processing.
    But the business scenario needs the first message to be read, processed and then decide to acknowledge or not. The second message should not be read unless the previous message is processed successfully.
    Can anyone help with this scenario?
    Thanks,
    Alex
    Edited by: user9024636 on Feb 11, 2010 2:57 AM

    Hi Steve,
    I don't know what you need UOO for, but, for some use cases, its sufficient just to configure a default UOO on the sender's connection factory.
    Propapagation of a UOO from one desitnation to another is not automatic (except via SAF, or unless OSB somehow does it for you). Plain vanilla JMS apps do this by calling msg.getStringProperty("JMS_BEA_UnitOfOrder") on the received message and setUnitOfOrder() on the javax.jms.WLProducer.
    You might find that there's more OSB expertise on an OSB newsgroup (I think it's one of the newsgroups under [url http://forums.oracle.com/forums/category.jspa?categoryID=194]SOA & Process Management).
    Regards,
    Tom

Maybe you are looking for

  • Storage Performance problem

    Hello, Let me ask you for lights troubleshooting this problem ... Here we have a database server runing on a M5000, SOL10, with Brocade HBAs to SAN and using 2 IBM DS4700 Storage arrays (called STOR01 and 02). Problem : Commit delays, DB slow in crea

  • Lost internet connection..."A connection time out occurred"

    I've read a number of recent threads blaming Lion for lost wireless internet connections.  I wish my problem was that simple. I have an AT&T furnished Siemens SpeedStream 4100 modem connected via ethernet cable to a Netgear 3500 router providing a wi

  • Inside Identity and Access Control products

    Hello, For the past few months I was working on a blog which can help understanding under the hood of identity and access control products. Please have a look into it and let me know how to improve the contents. http://identitycontrol.blogspot.com

  • How to install Grid Control 10g Release 3?

    Hello, I need install Grid Control 10g Release 3 for Linux x86_64 on SUSE 9, and I need some tips about this instalation. I need registry 3 database, 1 DB is 10g and the others are in 9.2. Can I help me? Thank's

  • Record webcam audio and video

    hi there is a way to record the stream of webcam without use media server or similars servers? as3 with flash or air can do that? record both audio and video? i found a air class that record video capturing bitmap data of each frame and saves to a by