Flex 3.0 and WSSecurity SOAP headers

I have tried every permutation and combination to insert a
WSSecurity header in teh soap request. The closest I have got is
getting Flex 3.0 to insert a
<SOAP-ENV:Header></SOAP-ENV:Header> in the header
block.
So I have two questions.
One - does anyone have a working example with security
headers and two - is it necessary for the headers to be declared in
the WSDL ?
Thanks

The following things you may need to verify:
Are there any Result and/or Error Handlers specified as the default handlers in your SWF file's source code (prior to compilation)
Has the Result and/or Error Handlers specified in (the compiled) SWF code been made public and accessible through HTML Wrapper
Has HTML Wrapper provided some default handling of the data been passed by the Result and/or Error Handlers while at runtime.
Has QTP Script called the correct functions out of the HTML Wrapper.
Also verify if you have done all the following configurations correctly:
Deploying Flex files
Before you can test the Flex application, you must deploy the application and its supporting files to a location that is accessible by QTP. These files include:
Application SWF file
HTML wrapper and wrapper files (the wrapper files can include SWF files, JavaScript
files, and other files)
RSL SWC files
Module SWF files
Helper files such as theme SWC files, style SWF files, and image, video, and sound files.
You may deploy the Flex application and HTML wrapper file to any location on your HTTP server. You must be able to access this location from QTP.
Is the HTML Wrapper "password protected" (if so you need to use QTP Authentication Mechanism to access it).
What appears from the error you have received, the "Login Submit" function call went successful through QTP via the HTML Wrapper although the failure occured on the SWF level. Even in this case it would be better to reverify your code at all the levels (i.e. QTP, HTM Wrapper, SWF file source code & SWF file compiled version).
Hope this resolves your issue...

Similar Messages

  • How to Post XML Messages with SOAP Headers to a Trading Partner URL

    Hi All,
    Greeting to the Oracle B2B Community. We are currently working on how to post a Custom XML Message with SOAP Headers to a Trading Partner URL. I would really appreciate if anybody could provide me some inputs or links to some documentation on how to achieve the above requirement. The details are below:
    1. Our Internal Application generates a Flat File (PO Extract).
    2. The Extract then needs to be transformed to an XML Message. We are planning to use BPEL to do the transformation to XML Message.
    3. Once it is transformed to an XML message it needs to be posted to the Trading Partner URL as an HTTP Post and with SOAP Headers.
    We are planning to use B2B to do the posting but I am not sure on how to do the set-ups and what all parameter files in B2B needs to be updated in order to achieve the same. Also it is mandatory that we send SOAP Headers in the XML Message.
    Thanks In Advance for your help.
    Regards,
    Dibya

    Hello Dibya,
    As you are already doing the transformation from Flat file to XML in BPEL which is typically the capability of B2B, please use the Soap binding in BPEL to send the document to Trading partner.
    Rgds,Ramesh

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • Securing web services SOAP headers against OWSM policy

    Hi,
    I need to authenticate the user against the OWSM policy. The caller will pass username and password in SOAP headers and I need to attach WSS policy to my exposed web service.
    How to extract the Header information and then validate them against the policy.
    A simple HelloWorld sample will be of great help.
    regards
    Sanjeev

    Hi,
    For service authentication add policy wss_username_token_service_policy to client composite.Create user in security realms in adminstration console.
    While testing the service select wss username token option under security tab and test with valid credentails or from, soap UI
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>USER CREATED IN SECURITY REALMS</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PSWD ENTERED FOR THE SAME USER IN SECURITY REALMS</wsse:Password>
    </wsse:UsernameToken></wsse:Security> WITH INPUT

  • Web service response contains SOAP Headers with "mustUnderstand" true

    Hi
    I have a requirement where in I have to consume a web service as adaptive web service model, and while executing the service pass a mandatory parameter to the soap header. We are able to set the mandatory parameter to the soad header. We got the code snippet to do this from a wiki link
    http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService#FAQ-Models-AdaptiveWebService-WhatarethefunctionalgapsofthecurrentAdpativeWSModelImporter%3F
    On executing the service now through web dynpro we are getting the below error
    "Web service response contains SOAP Headers with "mustUnderstand" true which are not handled by the client runtime"
    Any thoughts on how to handle this mustUnderstand attribute with some code snippet? Appreciate all help.
    Thanks,
    KN.

    Hi
    Have you found the workaround?
    Sorry for refreshing topic. Flag mustUnderstand ='1' in response is unussual thing.
    BR

  • Manipulating soap headers in BPEL 11g doesn't work

    Hi,
    I need to change the values of the soap header elements MessageId and RelatesTo in SOA Suite 11.1.1.5. The documentation is not very clear on how to achieve this. In the development guide bpelx:inputHeaderVariable is mentioned for manipulating soap headers. If you use the "Headers" tab on the invoke activity I instead get bpelx:headerVariable. But I've tried both and then run the calls through TCP Monitor. The messageId/RelatesTo is still not changed.
    I have also tried the "Properties" tab on the invoke activity. There are two properties called wsa.messageId and wsa.relatesTo which sounds perfect. But still nothing happens when I use them.
    My invoke looks like this (if e.g. using bpelx:headerVariable):
    <invoke name="InvokeSomeProcess" partnerLink="SomeProcess"
    portType="ns1:SomeProcessCallback" operation="onResult"
    inputVariable="someProcessInputVariable"
    bpelx:invokeAsDetail="no"
    bpelx:headerVariable="relatesTo,MessageIdHeader">
    </invoke>
    This worked perfectly in 10.3.4 which is what I'm migrating from (then using bpelx:inputHeaderVariable).
    Is this not working in 11g?? Or have I missed some crucial detail? Has anybody got it to work?
    Thankful for any help!
    Kind Regards
    Kerstin

    Ok, there are at least two bugs that are related to this problem:
    1) JDeveloper adds the wrong property when you add a header through the GUI tab "Headers" on an invoke activity. It should be "bpelx:inputHeaderVariable" and NOT "bpelx:headerVariable". (Bug #12541901).
    2) Currently in SOA Suite 11g the WS-Addressing headers are overwritten when the SOAP call is made. Enhancement Request #13718140 has been logged asking for this behaviour to be changed in a future release. This is currently being considered by Product Management.
    Oracle support suggests that you use OSB to set the headers.
    Kind Regards
    Kerstin

  • Is there any way to pass SOAP Headers ?

    I have created a Web Service based on a Portal Service using the project wizard. I find that SOAP headers (<SOAP-ENV:Header>) are not passed in the SOAP Envelope while calling the Web service. Is it possible to do this ?
    Thanks in advance. Any suggestion is appreciated.

    I would like to know this as well.
    I am trying to pass username and password to a target web-service that requires this information to be in the Header section of the SOAP request.
    I am using EP 6.0.   Does anyone know if this can be done in  EP 7.0?

  • Send Extra Information to SOAP Headers

    Does anybody know what Java class I should extend to send extra information to the SOAP headers that are being sent to the EDK API?
    I am trying to pass the extra name=value pairs added to the querystring to be passed to portlets via EDK.
    Oguz

    Hi Oguz,
    Could you explain a bit more what you want information you want to send to the portlets? Normally you can use the portal's admin UI to configure what user info, prefs, and portal values (login token, SOAP end point etc..) to a given portlet. This is configurable in the Web Service Remote Portlet portal admin object.
    ross

  • SOAP Headers

    Is it possible to access SOAP headers from with in the WebService backend, for
    example, from within the EJB implementation of the service itself?
    I know SOAP headers can be accessed from within the handlers.
    My goal is to somehow have access to certain header information from within the
    EJB.
    Also, if I employ a handler only implementation, and do away with the backend,
    how well would the container manage the handler classes (which are non-EJB) as
    opposed to the EJB implementation?
    I am using WLS 7.0 SP1.
    Thanks a lot.
    Suteertha

    no ideas?

  • Logging HTTP and/or SOAP packets in standalong OC4J v10.1.3.2

    I'm running OC4J standalone v10.1.3.2 on RH5 linux. I'd like to know how to turn on logging so that all incoming HTTP data can be viewed.
    I've basically got a Web Service which is failing to execute from some clients (but not all) due to a SOAP11 version mismatch problem. If I could see the incoming HTTP and/or SOAP request then I could determine where the inconsistency is coming from.
    Here's an extract of the returned SOAP error:
    <faultcode>env:VersionMismatch</faultcode>
    <faultstring>Version Mismatch</faultstring>
    <faultactor>http://schemas.xmlsoap.org/soap/actor/next</faultactor>
    I've tried editing j2ee-logging.xml and set the logging level to FINEST and TRACE but it's still not logging out the HTTP traffic.
    Any ideas welcomed,
    Thanks

    Andy,
    Which log files are you looking at? There is a server.log that will be impacted when you set the logging level to FINEST. Since you want to look at http requests, have you considered using Fiddler on the client side? It's pretty verbose but you can see all sorts of info including data posted to forms.
    -Michael
    PS
    URL:
    http://www.oracle.com/technology/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.htmlTake a look at the "Debug Options in OC4J" section. There are several HTTP debugging options listed.
    Edited by: Michael F. Hardy on Dec 17, 2008 9:40 AM

  • OWSM 10.1.3.4 and Non-SOAP XML-based web service

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Flex Builder 3 Beta 2 Expires early when using Flex 2 key, and new SDK

    I was told to use my Flex 2 key to extend the Beta period for
    Flex Builder 3, this worked, today it said I have 99 days left.
    but When I installed the latest SDK and restarted Flex
    Builder 3 Beta 2, it says it expires in 15 days.
    If I put the original SDK back and restart it goes back to 99
    days, so If I switch the SDKs while Eclipse is already loaded it
    seems to stay at 99 days, so now before I start Eclipse I have to
    move the orig SDK back, start Eclipse, then switch SDKs.
    This does not make much sense to me, why does the SDK affect
    the Builder Beta Period at all? is there a fix for this, I have a
    project due but 31st, and I would be screwed if it dies before
    then, I already have flex 2 but I cannot roll back as this project
    relies on Flex Builder 3 Functionality.

    I the probelm we are stating is that we DID enter our flex 2
    key and it DID initially set the expire date out, but I needed to
    use a later SDK and thats when the problem occured. without the
    latest the ImageSnapshot.captureImage does not work at all for me,
    so must use a later SDK. However this morning my Eclipse started
    stating 96 days remaining and I am still using the latest SDK, so
    no idea why it works sometimes and not others.

  • I want to forward a message with the default headers included, but can't seem to set my mail preferences to include the headers when forwarding, just the original message ends up in the forwarded message and not the headers?

    I want to forward a message with the default headers included, but can’t seem to set my mail preferences to include the headers when forwarding, just the original message ends up in the forwarded message and not the headers?  What I'm trying to do is report SPAM and add headers to a spam message to forward to sites that go after the spammers.

    Did you check the article and the add-on mentioned there?

  • Flex 2.0 and Flex 3.0

    Hi,
    My application was developed in Flex 2.0, But our team using
    flex 3.0.
    Can i use flex 3.0 to record scripts in QTP(Automation).
    Reddy

    Yes, QTP works with Flex 3. There is more info here:
    http://flexexamples.blogspot.com/2007/12/flex-30-installing-and-configuring-flex.html
    Remember, though, that you might need to migrate your app to
    Flex 3 before automating it with Flex 3. This means updating it to
    reflect new APIs. There is an excellent series of articles on
    migration here:
    http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-p art-i/
    hth,
    matt horn
    flex docs

  • Flex 1.5 and 2 application in same web context

    Has anyone been able to deploy both a Flex 1.5 and Flex 2
    application (using FDS2) in the same web context? Or is this not
    possible?
    Thanks,
    Darcy

    Please remember that importing MPEG-2 video files has a hidden Gotcha included.
    What might not need to be transcoded again in one project may well need to be retranscoded in another one, as it is going to depend on how full the project is.
    To try & be more specific, imagine this situation:
    Project 1:
    Import a 90 minute MPEG-2 file encoded with a bitrate of 6Mb/sec.
    This would not need to be re transcoded as long as the Audio is going to be Dolby Digital. If you want PCM, then it would have to be retranscoded.
    Project 2:
    Same Video file at the same bitrate.
    Additional clip around 15 minutes long also.
    The first clip will have to be retranscoded, as it's existing bitrate is too high to fit onto a single layer disc.
    Do you see what I'm getting at?
    If an MPEG file has to be retranscoded, you are getting a dreadful quality drop at this point, as you must recompress an already heavily compressed file.
    Best solution is to use AVI wherever possible, and if you must use MPEG video, make very certain that the bitrate is correct, and will not need to be re transcoded.
    Bottom Line:
    The same files in the same projects with the same assets in both 1.x and 2.0 will be treated in the same way. If one does not need to be retranscoded, neither will the other one.
    (Unless you have set a low limit on the default "maximum bitrate" preference. Setting a maximum of 7Mb/sec there, and importing an MPEG encoded at 7.5Mb/sec will naturally retranscode the file.)

Maybe you are looking for

  • Font Issues in Acrobat X pro

    Hi All,  A couple of months ago we have upgraded our Acrobat applications to 9 pro and X pro before that we had used Acrobat 7&8 which is having no problem. Since we upgraded to higher versions we have been facing so many font related issues/complain

  • ORA-00283

    Hello I am using Oracle XE on Linux. I want to create a backup server in case my production server is down the backup server has the most recent backup available. To do this I taken a Cold backup of the Production DB and copied the files at the same

  • IOS 6 to much for iPod touch 4g

    Same problem! Help!!!!!!!!!!!!!!!!!

  • Error encountered with SAP Netweaver 2004S SR2 v7.0.9

    Hi.. I am trying to install the SAP Netweaver 2004S SR2 v7.0.9 but i have met with this error: Error: FSL-01002 Unable to create account abc\SAPServiceJ2E. HRESULT=0x80005009 Error: MUT-03025 Caught EsyException in Modulecall: ESAPinstException: erro

  • Defining risk in ABAP

    Hi, I am defining risk in my netweaver7.0 ABAP system using /n/VIRSA/ZVRAT tcode in the Rule Architect tab. I am able to create Business Processes,Functions, Risk but I am unable to update rules for those risks. When I select a specific Risk and clic