How to refer ws-policy from wsdl

Hi,
Should i need to refer a ws-policy from wsdl.
I used only one ws-policy in the request operation.
I need to call a secured webservice(message level sec).
The Problem is ws-security tag is not added in soap header.

Alternatively, you can an xquery that would create the wsse security header. Then in the soap envelope to the BS pass in the header as well. Let me know if you need more information.
Thanks,
Patrick

Similar Messages

  • How to refer one view from another view?

    Hi,
    I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
    How to refer one view from another view? Or how to create a reference to a view wherever needed?

    I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
    for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
    In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
    StageOrientationEvent
    As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
    private function onOrientationChanging(soe:StageOrientationEvent):void
          MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
    Is my question clear now?

  • How to refer Custom css from the custom file say xxcm_sc_custom.xss

    I want to refer all the custom css from other file xxcm_sc_custom.xss, which i created in my project directory and deployed in mds, The client wants all the css to be here, so how to refer this file from custom.xss file which is in java_top, i tried giving <import href="path of my file"> but there is no effect in pages, what are the exact steps for it...
    Thanks
    Babu

    Yes, thats what i tried first...can you tell me what am i doing wrong...
    This is the header part of my login page template which i am trying to edit...
    The default css that the page is using is theme_3_1.css. My css file and images are in the same directory as theme_3_1.css
    <html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <title>#TITLE#</title>
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->
    #HEAD#
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/mystylesheet.css" type="text/css">
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/theme_3_1.css" type="text/css">
    </head>
    It is not pulling my images.
    I know my html is right, because, if i create a separate html file (away from apex) and use the above two css, again on the same directory..i am able to get the images displayed!!!!

  • JDeveloper 10.1.3.2 - how to create a stub from WSDL?

    Hello to all..
    I have installet the last version of Jdeveloper.. since this I used JDev 10.1.2...
    Can anybody help me how can i make classes (stub) from WSDL?
    I have a WSDL file located on remote HTTPS server.. In JDev 10.1.2 i get error when i like to connect on https to retrive data...
    But in JDev 10.1.3.2 I can't find a function to create a stub from wsdl..
    There is only a option to create a java webservice from wsdl.. (but this will create a new webservice (right?)..
    so.. how can I create a stub from remote wsdl..
    best regards

    Another question...
    For retriving information i must install a certificate...
    I installed it for mozilla and explorer.. so if i acess to the url i get the wsdl definition
    picture 1: http://freeweb.siol.net/peterv6i/picc2.jpg
    In JDeveloper i get error DCA-40002
    here is the picture: http://freeweb.siol.net/peterv6i/picc1.jpg
    how to acess to wsdl if it requires a certificate?

  • How to generate class files from wsdl

    I have upgraded weblogic from 9.1 to 10.3.5 and java from 1.5.0_06 to 1.6.0_27
    Do I have to regenerate my webservices classes like the stub ,impl and service class.
    also there are a few changes in the wsdl .
    Please help me how to generate classfiles from wsdl ?
    Please help.
    Thanks,

    Did you ever get an answer to this question? Did you proceed forward with the use of WSIF or did you select an alternative.
    Ernie :)

  • How to generate java file from WSDL file

    Hi friends,
    I am new to this thing, so that's why I need some guidence .
    I need to generate java file programatically from existing wsdl file.
    I thought the ways - to use xmlbeans apache library or jaxb.
    Can you suggest what will be better way to generate java file from wsdl? can you please be more descriptive and can you direct me to appropriate link?
    Thanks.
    Harshit

    xmlbeans apache provides easiest way to create java file from wsdl there is very good link for that
    http://www.ibm.com/developerworks/webservices/library/ws-soa-clientxmlbeans.html
    If you want more programmatic approach then Jaxb will be a better option

  • How to refer utitlity jar from EJB jar in ear?

    hi, all,
    I want to refer an existing jar file from EJB, but i do not know how to do it? please help!
    Thanks.

    I am using weblogic 6.1

  • How to refer to video from iPod Notes???

    How do I refer to an M4V video
    from an iPod note???
    5G   Windows 2000  

    Sorry that this is not an answer to your question. I have just tried to do this as well and ended up here after searching the discussions.
    I tried a number of things (<A HREF="movie=...">, "video=...", and many other combinations of ipod:music... ipod:videos..., etc.) and none worked. The link is there in the notes reader only for "song=..." (and variations), but it is not active. (But you probably knew all that already.)
    Anyway, I post this mostly to keep the topic alive.
    Cheers!
    -- Michael

  • How to Create Service Interface from WSDL file

    Dear Experts,
    Required your help in below scenario resolution.
    I have a WSDL file , from that WSDL file can I create a service interface.
    If yes than what are the steps for creating the same.
    Thanks & Regards,
    Rathan.

    Rathan,
    PLz chk the below link (PDF file)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?quicklink=index&overridelayout=true
    Mutti

  • Client API generation from WSDL.

    Hi,
    Could any one guide as how to generate the client from WSDL? I am using RAD7/Eclipse.
    When i try to generate it gives below error.
    Errors occurred during wsimport.
      warning: src-resolve.4.2: Error resolving component 'ns1:pagedata'. It was detected that 'ns1:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemRequest', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'. If this is the incorrect namespace, perhaps the prefix of 'ns1:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8
    warning: src-resolve.4.2: Error resolving component 'ns2:pagedata'. It was detected that 'ns2:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemResponse', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'. If this is the incorrect namespace, perhaps the prefix of 'ns2:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8
    warning: src-resolve.4.2: Error resolving component 'ns3:pagedata'. It was detected that 'ns3:pagedata' is in namespace 'urn:SCenter-Data-Svc-BrokerInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns3:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns4:pagedata'. It was detected that 'ns4:pagedata' is in namespace 'urn:SCenter-Data-Svc-ClientInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns4:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns5:pagedata'. It was detected that 'ns5:pagedata' is in namespace 'urn:SCenter-Data-Svc-State:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns5:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns6:pagedata'. It was detected that 'ns6:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns6:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns7:pagedata'. It was detected that 'ns7:pagedata' is in namespace 'urn:SCenter-Data-Svc-Exception:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2'. If this is the incorrect namespace, perhaps the prefix of 'ns7:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2
    error: Invalid header "ServiceInvoker" of binding operation "CreateSubmissionWorkItem": not literal
      Invalid header "ServiceInvoker" of binding operation "CreateSubmissionWorkItem": not literalCan any one tell us what is happening?

    just like the error message says, you are using some namespaces in your wsdl, e.g. "urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemRequest" for which there is no relevant schema import. thus, the code generator cannot find the definition of the types in those namespaces.

  • How to Refer an component

    Hello All,
    How to refer an item from a component..
    For example,
    In a Report I have two columns,
    ID         NAME
    How to refer the id column.(I need to use it in a SQL query)Thanks in advance...

    Hi Davy,
    Just check this help-http://help.sap.com/saphelp_nw2004s/helpdata/en/79/69f9e32bbb9f41aa4043c4c4989a41/frameset.htm
    <i>How can I refer to Message Type or Data Type that is not defined locally in one namespace of my component?</i>
    This you can refer directly.. But you need to create message Interfaces.
    Thanks,
    Moorthy

  • Urgen - refer external jars from tomcat container

    Hey guys,
    can any one help me how to refer external jars from tomcat.
    In other words, one of the webapps is need external jar. However, we should not copy that jar into web-inf\lib rather we should refer that jar which is located in the same machine.
    Appreciate your help.
    Thank you,
    Prithvi.

    I am not sure if either of my suggestions will be helpful but you could put the jar files into tomcats shared\lib if that is appropriate. Another option is that you could put your jar files into some directory and then reference them in your WEB-INF\lib directories using symbolic links.

  • Retrieve Operation Name from WSDL

    Hi All,
    In a text box any WSDL can be given as input but its operation name should be displayed in a combo. Let me know how to retrieve operation name from WSDL. I want the java coding to be written in backing bean class.
    Thanks,
    Maanickka.

    Hi,
    the reference to a WSDL file produces a XML document to be returned. So you need to parse that document for methods. Have you tried this?
    Frank

  • XFIRE - Java class from wsdl and soap request from java class

    Hi,
    Firstly i'm newbie programmer with little experience, so please help me if u can.
    I have found an example on how to create java classes from WSDL under maven:
    (...)<taskdef classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">(...)
    I've created the below java class and I create new object of this class: UploadChunk up = new UploadChunk()
    and up.setSomething(123) etc....
    I have some service for which I have to prepare soap request manually - suitable for my service requests.
    I'm doing it using dom4j to create xml documents and i rewrite values to it from my variable up.
    I wonder if it is possible to do it automatically - I have UploadChunk object and I want do use xFire library somehow to produce ready or almost ready soap request. I want to do it in my code, no some ant or maven task.
    So I propably need a couple line of code, when I have:
    up.setSomething(123);
    //////CONVERTION - CAN U TELL ME HOW TO DO THAT PLEASE? I haven't found the way :( it seems I need your help.
    //////Document result =....
    callService(result,namespace,qname);
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for UploadChunk complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * <complexType name="UploadChunk">
    *   <complexContent>
    *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    *       <sequence>
    *         <element name="SessionID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
    *         <element name="InputFileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
    *         <element name="Buffer" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
    *         <element name="Offset" type="{http://www.w3.org/2001/XMLSchema}long"/>
    *         <element name="BytesRead" type="{http://www.w3.org/2001/XMLSchema}int"/>
    *       </sequence>
    *     </restriction>
    *   </complexContent>
    * </complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "UploadChunk", propOrder = {
        "sessionID",
        "inputFileName",
        "buffer",
        "offset",
        "bytesRead"
    public class UploadChunk {
        @XmlElement(name = "SessionID")
        protected String sessionID;
        @XmlElement(name = "InputFileName")
        protected String inputFileName;
        @XmlElement(name = "Buffer")
        protected byte[] buffer;
        @XmlElement(name = "Offset")
        protected long offset;
        @XmlElement(name = "BytesRead")
        protected int bytesRead;
         * Gets the value of the sessionID property.
         * @return
         *     possible object is
         *     {@link String }
        public String getSessionID() {
            return sessionID;
         * Sets the value of the sessionID property.
         * @param value
         *     allowed object is
         *     {@link String }
        public void setSessionID(String value) {
            this.sessionID = value;
         * Gets the value of the inputFileName property.
         * @return
         *     possible object is
         *     {@link String }
        public String getInputFileName() {
            return inputFileName;
         * Sets the value of the inputFileName property.
         * @param value
         *     allowed object is
         *     {@link String }
        public void setInputFileName(String value) {
            this.inputFileName = value;
         * Gets the value of the buffer property.
         * @return
         *     possible object is
         *     byte[]
        public byte[] getBuffer() {
            return buffer;
         * Sets the value of the buffer property.
         * @param value
         *     allowed object is
         *     byte[]
        public void setBuffer(byte[] value) {
            this.buffer = ((byte[]) value);
         * Gets the value of the offset property.
        public long getOffset() {
            return offset;
         * Sets the value of the offset property.
        public void setOffset(long value) {
            this.offset = value;
         * Gets the value of the bytesRead property.
        public int getBytesRead() {
            return bytesRead;
         * Sets the value of the bytesRead property.
        public void setBytesRead(int value) {
            this.bytesRead = value;
    }

    Hi,
    Can u Please post the WSDL..here. I remember long back i resolved this kind of issue...when i was getting "*parameters is already defined in - - -*" while using ClientGen.
    Once i will get the WSDL may be i can recall it...
    If u have any problem in Posting the WSDL..in Forums .. then let me know I will send my E-Mail Address...
    As far as i remember ..it usually happens when we Run ClientGen task of WLS81 ON the WebService/WSDL generated by WebLogic 9.x or Above. Please let me know if this is the Case with you as well... . I remember there is a Patch for it...for WLS8 ClientGen task...I dont remember the Patch Number Exactly.
    Just For testing:
    Just Use WLS9.x ClientGen task On the Same WSDL
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    I am sure you will not see this issue... because the issue is there only with WLS8 Clientgen...
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Jan 8, 2010 4:32 PM
    Edited by: Jay SenSharma on Jan 8, 2010 4:34 PM

  • How to remove the Option "Only Refer Excise Invoice "from MIGO

    Hello,
    We are using the ECC 6.0. while suppose material is excisable then there are Four options will come in MIGO --Excise Invoice tab
    1)Only Cature Excise Invoice
    2)Only Refer excise Invoice
    3)Only Part1
    4)No excise Entry
    As per my client requirement then only need two options in MIGO.
    1)Only Part1
    2)No excise Entry
    Bcz they want to Capture and Post excise Invoice in J1IEX only...
    I have tried from Tax on goods movementIndia-Basic settings--Excise Grp settings..... Here in MIGO settings  we can remove the Click from "EI Capture"....Then we will not find the Capture excise Invoice in MIGO. Next How to remove the "Only refer Excise Invoice from MIGO..
    Regards
    sapman

    Hi,
    You can capture Excise Invoice w.r.t. PO in J1IEX and then refer it during MIGO (Note: - You are not capturing Excise Invoice again, only referring it) and then Post it in J1IEX.
    And in case of Stock Transport Orders, you need to refer the Excise Invoice No at the time of GR in receiving plant which is posted in the Supplying Plant (via J1IIN) so that system will copy all the duties same as of that invoice and user need not to do any manual intervention.
    Also in case of Imports, first you capture Bill of Entry w.r.t. PO in J1IEX and then refer it during MIGO and finally post it in J1IEX.

Maybe you are looking for

  • How can I prevent children from shrinking to infinitesimal values on MouseEvents?

    Hi. I have the following code: //http://forums.adobe.com/message/3450898#3450898 //square_mc.y property edited by kglad AND NedMurphy both // but kglad introduced the yGap variable, allowing for // user defined space between movie clips.  This solved

  • How can I find a charger for my iPhone 5?

    I recently came back off of a trip and I misplaced my Iphone 5 charger. Is there any possible way I can find one anywhere or find an adapter?

  • Spool Output status

    Hello Experts, Spool request created but printer output status shows that  in SP01 "-" list contains no data Checked the below links says that http://help.sap.com/saphelp_erp60_sp/helpdata/en/78/4d22426adddf2ce10000000a1550b0/content.htm u2212 => Spo

  • Parallax Issues?

    Why does parallax not seem very 3D and slow is there an adjustment for sensitivity rather than on/off?  Especially horizontally rather than vertically...

  • My macbook turns on but doesn't boot up to log in screen

    I was using Ableton and sudenly my Mac just stopped working. I've rebooted, removed power, rest the smc but can't get it to reboot to the log in screen. It turns on but doesn't do anything but show me a white screen.