I want to extract part of webservice response(not entire response)

Hi guys,
I created one BPEL process in Oracle Jdeveloper.I am invoking some WSDL url to get the response.It is giving the response in below (example - I am giving some example format here) format:
<data>
<name> name1 <name>
<type> type1 </type>
</data>
<data>
<name> name2 <name>
<type> type2 </type>
</data>
<data>
<name> name3 <name>
<type> type3 </type>
</data>
I am getting like above format.But I want to have the response depending on type (type2) like below.Basically I want to extract
the below details from entire response:
<data>
<name> name2 <name>
<type> type2 </type>
</data>
So that I want to map above format to another application required response format (using transform activity) like below:
<appData>
<appName> name>
<appType> type>
<appData>
name ----- > appName
type -----> appType
So How can we do that?Can anybody help me on this?
Edited by: 899283 on Jul 4, 2012 10:28 PM

Hi guys,
I am getting When I invoke the Secured webservice (which is in partner link), below error:
remoteFault>
<part name="summary">
<summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s):
'WSDL URL HERE'</summary>
</part>
<part name="detail">
<detail>Unable to access the following endpoint(s):
'WSDL URI HERE'</detail>
</part>
I red in one forum below solutions but I am not able to understand them:
1 solution) Add the security policy named "oracle/wss_http_token_client_policy"
For reference, create two binding properties
1. oracle.webservices.auth.username
2. oracle.webservices.auth.password
For the above two properties, provide the appropriate values.....
2 solution)
Sending username and pass to a secure service being called from bpel itself ,simply add the partnerlink properties below and deploy your bpel.
<partnerLinkBinding name="SecureWebService">
<property name="wsdlLocation">SecureWebService.wsdl</property>
<property name="basicHeaders">credentials</property>
<property name="basicUsername">username</property>
<property name="basicPassword">password</property>
<property name="preemptiveAuthentication">false</property>
</partnerLinkBinding>
Can u anybosy help me to understand above points and tell me how to to set the HTTP authentication headers to a service in Composite?

Similar Messages

  • BLS, extract parts of an XML

    Hi.
    I may have asked before, but can not find the answer anywhere. I have an XML which I want to extract parts of. It this possible an how?
    I want to get the part
    /ns1:GetProductionSchedule
    /ns2:GetProductionSchedule
    /ns2:DataArea
    /ns3:ProductionSchedule
    and everything below it....
    The XML is as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <GetProductionSchedule xmlns="http://Wonderware.WWEI.Services">
         <GetProductionSchedule xmlns="http://www.wonderware.com/wwei/v0201/schemas">
              <ApplicationArea>
                   <Sender>
                        <LogicalID/>
                        <ComponentID/>
                        <TaskID/>
                        <ReferenceID/>
                        <ConfirmationCode/>
                        <AuthorizationID/>
                   </Sender>
                   <CreationDateTime/>
                   <BODID/>
                   <UserArea/>
              </ApplicationArea>
              <DataArea>
                   <ProductionSchedule xmlns="http://www.wbf.org/xml/b2mml-v02">
                        <ID>000003176585</ID>
                        <Description/>
                        <Location>
                             <EquipmentID/>
                             <EquipmentElementLevel OtherValue=""/>
                             <Location>
                                  <EquipmentID/>
                                  <Any/>
                             </Location>
                             <Any/>
                        </Location>
                        <PublishedDate/>
                        <StartTime/>
                        <EndTime/>
                        <EquipmentElementLevel OtherValue=""/>
                        <Any/>
                   </ProductionSchedule>
              </DataArea>
         </GetProductionSchedule>
    </GetProductionSchedule>

    Poul,
    Ignore my previous message.  Still mentally working in 11.5. 
    I assume you are using a tracer to display the extracted xml?  I built a little test transaction and you were right.  There does not appear to be any extracted xml in the Tracer.Message property.  So I did used an XML Saver to save it using the path: "db://ProjectA/WEB/test.xml".  Lo and behold the xml was extracted just as Michael and I had expected.  So the problem appears to be in the Tracer rather than in the method.  This is apparently a problem similar to trying to use a Tracer to display the xml output of a repeater.  Which should be fixed in 12.1.
    Let me know what you find out.  I am working in 12.0.5.
    Good luck,
    Mike
    Edited by: Michael Appleby on Oct 14, 2008 5:17 PM

  • I'm trying to update my iPad 2 but an error keeps popping up after the extracting part...

    im trying to update it to OS 5.0.1 or whatever, and it gets through everything until the extracting part and an error pops up. i have the most recent iTunes, i temporarily disabled the antivirus and firewall, and i reset my whole ipad... what now!

    If you continue and you lose everything, you will be able to download most of the content again for free as long as you use the same Apple ID. You can read this about downloading past purchases.
    http://support.apple.com/kb/HT2519
    But before you continue and lose everything, try this.
    Eject your iPad, quit iTunes and restart your computer. Then launch iTunes and go to Edit>Preferences>Devices. See if you have mutliple iPad backups showing in there. If you have multiple backups, delete all but one of them. Also check the box at the bottom that turns off auto sync .... Prevent iPods ......Click OK and Then quit iTunes.
    Connect the iPad again and launch iTunes. Right click on your iPad name on the left side of iTunes and select backup. See if the iTunes will create a backup. If it does, after it finishes, click on the Summary Pane on the right and click on check for update. Try to update again.
    If it all goes OK, after you update the iOS you can back to Edit>Preferences>Devices and turn on atuo sync again - assuming that is how you want to sync.

  • Extract part of image & save with transparent background

    What is the best way to extract part of an image & save it with a transparent background?  I had hoped to the extracted images in 2 different ways.
    Firstly just to paste into another image.
    Secondly I'd like to try to open both the extracted item as well as the whole original photo in different video editing programs including Premiere Elements & sony Vegas.  What is the best  way to do this?

    Here's what you could do.
    First make sure you have both images open in editor
    1. Open the image and select the area using the magnetic lasso/quick selection tool.
    2.  Select Layer -> New -> Layer Via Copy
    3. Now in the layers palette, right click the layer and select 'Dulicate Layer'
    4. In the duplicate layer dialog, in document - select the other image, where you would like to paste the image to.
    5. You and ajust the poition of the pasted area/resize it using the move tool or transform tool (Ctrl + T).
    6. Save the image with a new name
    If you simply want to save the image with transparency (after step #2) - you may -
    > hide the previous layer and Save the image as a png/gif so transparency is presereved.
    Hope that helps.
    When you have teh saved documents you can open them up in different editors.
    Regards,

  • How to extract data via webservices and configure webservices in BI 7

    Hi to all,
    Can any body tell me How to extract data via webservices and configure webservices in BI 7.
    i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
    i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
    please can any body tell how to do that.
    also how to configure the webserive , what is it .
    I SHALL BE THANKFULL TO YOU FOR THAT
    Regards
    Pavneet rana

    Hi,
    1. Using the function library (transaction SE37), call the Web service creation wizard.
    To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
    2. Go through the following steps, shown in the wizard:
    a. Create a virtual interface.
    The virtual interface represents the interface between the Web Service and the outside.
    b. Choose the end point.
    The name of the function module that is to be offered as Web service is already entered here.
    c. Create the Web service definition.
    The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
    d. Release the Web service.
    The wizard generates the object virtual interface and Web service definition in the object navigator.
    The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
    The Web service is released for the SOAP runtime.
    3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
    A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
    If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
    a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
    b. Choose Change in the context menu for the virtual interface.
    c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
    d. Activate the virtual interface.
    Regards,
    Marasa.

  • I want to extract the Solaris media using "unpackmedia" option

    pack and unpack options operates on only miniroot archives and not on whole Solaris media.
    I want to extract the Solaris media using "unpackmedia" option.
    unpackmedia option of root_archive internally extract miniroots and additionally it extracts X.cpio.bz2 and pkg_db.cpio.bz2 based on some manipulations.
    man page of root_archive on solaris 11 still shows the information about these two removed options.
    Please let me know is there other way to achieve operations same as provided by unpackmedia option?
    Regards,
    Umesh

    When you intermix java/javascript code like this you have to realise the order in which this occurs.
    1 - all java code is executed - produces a static html
    2 - html is loaded, and javascript is run.
    So you can't run java code from an onClick event on the page.
    You have to submit a request (ie submit form/click link) to run java code, and it sends a response (new page) to the browser.
    So what you would end up with is code like this on your page
    Assuming you have three items in your list: {Item0, Item1, Item2} this will be the result:
    var z=0
    // for item0
    c.options[z]=new Option("Name0",Id0)
    z++
    c.options[z]=new Option("Name1",Id1)
    // for item1
    c.options[z]=new Option("Name0",Id0)
    z++
    c.options[z]=new Option("Name1",Id1)
    // for item2
    c.options[z]=new Option("Item0",Item0)
    z++
    c.options[z]=new Option("Item1",Item1)Suggestions as to what is wrong with this code
    1 - you only increment z once on each loop, but save two items.
    2 - you aren't using your counter 'I' in the get method.
    3 - you might need quotes around the values as well as the names.
    Personally, I think you're going the entire wrong way about this.
    Should you be using public static variable attributes? Are these values to be the same for every single user in the system?
    I would prefer to use a jsp scope (application scope if it is for all users) and just generate the html for the select right onto the page, rather than generating javascript to run and build the list.
    I would also use JSTL
    ie
    <select name="mySelect>
      <c:forEach var="asset" items="${assetList}">
        <option value="${asset.id}"><c:out value="${asset.name}"/>
      </c:forEach>
    </select>

  • Extracting part of a subject title

    Hello,
    I'm looking to extract part of a subject title sandwiched between two special characters ([ & ]) and use that to create a new subject title in a new e-mail.
    So for example, if the subject title of the e-mail says "[This is the main subject title] but not this part", I want to extract the bit between the two brackets and create a new subject title in a new e-mail which in this case would say "This is the main subject title". Obviously this text can vary.
    Can this be done by use of filters within a Cisco ESA? Would appreciate any pointers how to extract it if it can be done.

    You can use either a content filter or a message filter.
    Search using a regex like this one...   (?<=\[)[^]]+(?=\])
    I got that from here:http://stackoverflow.com/questions/2403122/regular-expression-to-extract-text-between-square-brackets
    You may have to fiddle with it...
    Then for the action, set the subject to "$MatchedContent" (look at the online help for the content or message filters)

  • Public Part : Deployable Webservice Proxy DC

    Hi All,
    I have a deployable Webservice Proxy DC, which is used to create webservice proxy. I am using those webservice proxy in my Portal application. May I know what needs to be defined in public part of webservice proxy dc, so that I can use it as used dc in portal DC?
    Best Regards,
    Priyanka

    Hi Anand,
    Thanks for your response. I have already checked that object for null - it is not. The problem is I dont have this SECQANDAImpl class that implements the SECQANDA interface in my DC. This implementation class gets generated when I deploy the deployable proxy object. Though I should be able to cast to the interface, it is throwing this error. Any other ideas?
    Giri.

  • How to extract part of a pdf page and save that as a pdf page on its own?

    I need to extract part of a pdf page. I know how to extract full page, but that is not what I want. I need to extract part of it, ideally, using the mouse to select some rectangular area, and export the selected part to either separate pdf page, or to export to  vector graphics such as .svg
    Is there a tool to allow one to do this? Currently I take screen shot of the page, and use other tools to extract the parts I want. thanks.

    thank you. The crop tools helps. But I am still not sure what to do after I select the area I want. I looked at Acrobat Help | Crop PDF pages
    So, after I select the crop tool and select the area. Now what to do?
    If I double click the cropped area, as the help says, it will just delete everything on the page except the cropped area.
    How do I tell it to either export the selected area to .svg, or save the selected area to a separate one page pdf file?  I do not want to modify the original PDF file, I just want to make a copy of the cropped area, either to .svg image, or to separate pdf file, so I can include that in another document.

  • Extracting parts for film score

    I am scoring a film, and I need to record live strings over my sampled strings.
    I have quantized most of the score, but when I was working with the director and editor, I had to sometimes manually slide the in-point of the cue to line up with a specific frame or spot. When this happens, I often fall off the beat- meaning, that when I am in the matrix edit window, the first note may appear between two 16th notes, or something like that. Is there any way to adjust the arrange/matrix window to have the first beat land exactly where my cue begins so when I extract parts, they will land on a down beat? Otherwise, my part is going to be all over the place. Hopefully this makes sense…
    Best,
    Adam

    Hi Adam ... how about this for a solution:
    1 - create a new document for the cue that needs to shift. Save your document as "Cue Experiment" or something..
    2 - set your left locator at the very beginning of the document - bar 1 or OO.00 -
    3 - Set the right locator at the very beat that you want to become the downbeat (select the note, go to it with SPL and then set right locator by Song Position Line. making sure you zoom in very big because you are making such a small change
    4 - Select all then go to the Menu: Region>Cut/Insert Time>Snip: Cut time and move by locators ... this will shave off a fraction of the time and could move the whole cue forward onto the right beat.
    This may or may not do the trick but I am sure the film scorers on the Forum will surely come up with the right answer

  • Is there anyway to turn off the Group MMS texting?  I want to send a mass text but don't want every person to see every other person's response. Please help!

    Is there anyway to turn off the Group MMS texting?  I want to send a mass text but don't want every person to see every other person's response. I am getting ready to have a baby and want to send one text out to friends and family when the baby comes BUT I don't want all of those people to receive the responses.  Can I turn it off temporarily?  Please help!

    Settings > Messages > Group Messaging > Off

  • How can I extract part of a PDF file and copy it to a new PDF file?

    How can I extract part of a PDF file and copy it to another PDF file?

    You will need Adobe Acrobat for this.

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • Hi i am new to labview. i want to extract data from a text file and display it on the front panel. how do i proceed??

    Hi i am new to labview
    I want to extract data from a text file and display it on the front panel.
    How do i proceed??
    I have attached a file for your brief idea...
    Attachments:
    extract.jpg ‏3797 KB

    RoopeshV wrote:
    Hi,
    The below code shows how to read from txt file and display in the perticular fields.
    Why have you used waveform?
    Regards,
    Roopesh
    There are so many things wrong with this VI, I'm not even sure where to start.
    Hard-coding paths that point to your user folder on the block diagram. What if somebody else tries to run it? They'll get an error. What if somebody tries to run this on Windows 7? They'll get an error. What if somebody tries to run this on a Mac or Linux? They'll get an error.
    Not using Read From Spreadsheet File.
    Use of local variables to populate an array.
    Cannot insert values into an empty array.
    What if there's a line missing from the text file? Now your data will not line up. Your case structure does handle this.
    Also, how does this answer the poster's question?

  • I want to make part of a List Item bold or emphasized

    in preparing String values for inclusion in a List Object, I want to make part of the String Bold so it reflects the Search String that populated it. i.e.
    SEARCH: Col
    returns: Cold water freshness.
    The Strings are no problem, but formatting the List so that it displays the HTML formatting is.
    any ideas?

    http://www.actionscript.org/forums/showthread.php3?t=260753

Maybe you are looking for

  • Passing form field name to the subject line of the task assign email

    Hello Everyone, I am trying to create a process that need to pass one of the field data from a form to the task email assign but could not make it work right as expected. I think I miss something but could not figure it out myself. If any one has don

  • Web Services error

    Hi there, We've successfully created and consumed a web services in our development box, however due to internet communication framework error that comes up whenever the other system is down, i've developed an ABAP program to automatically resubmit t

  • Default SSL context init failed: Invalid keystore format

    Hi, I can't connect to my ldap server. The problem is ssl. I'm trying to do this: import java.io.IOException; import java.util.Hashtable; import javax.naming.Context; import javax.naming.NamingException; import javax.naming.directory.DirContext; impo

  • Problem in reading my Video project

    Hello, I've got a problem when I read my Imovie project: the last image of a sequence stays on the screen, hiding the following sequence/ The problem is for 1 sequence on 2/ Has Someone got the same problem an dknow how to resolve it? nb: I'm a Frenc

  • We just updated to Windows 7. Question: tool bar is very small, how do I make tools larger?

    We just updated to Windows 7. Question: tool bar is very small, how do I make tools larger? Top bar is also very small, about a 4pt size.