Add cookie with a client generated with clientgen

Hi, I'm trying to add a cookie in my webservice client (generated with clientgen) when I call a weblogic webservice (generated with servicegen).
But I don't find any methods to perform that.
The Handler interfaces give me access to the soap headers but the not to the HTTP headers : so it's not rigth method.
I tried too to add a property via the setProperty method on the Stub but I've an exception if I use something different of the four properties (user, password, sessionmaintain or endpoint_address) and there is no property for cookie...
How can I do that ??!!!

Thank you for the help Himanshu. There are three directors in different parts of the country that I need to share this folio with so I think the adobe ID will be the only way.
Regards
Gavin
Sent from my iPhone

Similar Messages

  • Generating a webserivce client with ClientGen

    I'm using Workshop for Weblogic 10.3 and I'm trying to generate a webservice client. When I generate it with ClientGen and I try to use it I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/j2ee/descriptor/ServiceRefHandlerBean
         at weblogic.wsee.jaxrpc.HandlerRegistryImpl.<init>(HandlerRegistryImpl.java:32)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:88)
         at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
         at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
         at testClient.main(testClient.java:18)
    If I add the com.bea.core.descriptor.j2ee_1.1.0.0.jar to the libraries then I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/sun/xml/ws/util/JAXWSUtils
         at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:44)
         at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
         at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
         at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
         at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:403)
         at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:389)
         at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)
         at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)
         at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:476)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)
         at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
         at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
         at testClient.main(testClient.java:18)
    How can I fix it?

    I am using Workshop for Weblogic 10gR3. I created weblogic webservice project.
    The webservice that I created is working fine if I right click the service and select the option Run on the Server. It goes to weblogic Test client.
    My webservice is as follows:
    @WebService(serviceName="Loggingconfigservice")
    public class Loggingconfigservice {
         public Logger logger;
         public String response;
         @WebMethod
         public String logMessage(String msg){
              logger = LoggerFactory.getLogger("source");
              logger.log(Level.DEBUG_TERSE_LEVEL, msg);
              logger.log(Level.INFO_LEVEL, msg);
              logger.log(Level.MINOR_LEVEL, msg);
              logger.log(Level.MAJOR_LEVEL, msg);
              logger.log(Level.CRITICAL_LEVEL, msg);
              response = msg + " is logged";
              return response;
    Whenever I run the webservice file thru above Run on Server, it would automatically create all the service related files, deployment descriptor files and wsdl under build folder.
    I ran the clientgen ant task by specifying the wsdl .
    <target name="client">
         <!--<mkdir dir="${clientclass-dir}"/>-->
         <clientgen
         wsdl="${basedir}/build/jws/weboutput/WEB-INF/Loggingconfigservice.wsdl"
         destDir="${basedir}/src"
         packageName="com.loggingconfig.client"/>
         <javac
         srcdir="${basedir}/src/com/loggingconfig/client"
         destdir="${clientclass-dir}"
         includes="/**/*.java"/>
         <javac
         srcdir="${clientclass-dir}/com/loggingconfig/client"
         destdir="${clientclass-dir}"
         includes="Loggingconfigclient.java"/>     
         </target>
    Then I ran the Loggingconfigclient program by right click Run as Java application. I got the exception as follows::
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/j2ee/descriptor/ServiceRefHandlerBean
    at weblogic.wsee.jaxrpc.HandlerRegistryImpl.<init>(HandlerRegistryImpl.java:32)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:88)
    at com.loggingconfig.client.Loggingconfigservice_Service_Impl.<init>(Unknown Source)
    at com.loggingconfig.client.Loggingconfigservice_Service_Impl.<init>(Unknown Source)
    at com.loggingconfig.client.Loggingconfigclient.main(Unknown Source).
    But If run the client Loggingconfigclient thru ant task run then I am getting the following exception.
    <target name="run">
         <java classname="com.loggingconfig.client.Loggingconfigclient" fork="true"
         failonerror="true" >
         <classpath refid="client.class.path"/>
         <!--<arg line="http://localhost:2001/Loggingconfigwsdl2service/service?WSDL" />-->
         </java>
         </target>
    javac Note: Recompile with -Xlint:unchecked for details.
    run:
    java Exception in thread "Main Thread" javax.xml.rpc.ServiceException: Failed to load weblogic client internal deployment descriptor. java.io.IOException
    java at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)
    java at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:449)
    java at weblogic.wsee.jaxrpc.ServiceImpl.loadInternalDD(ServiceImpl.java:382)
    java at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:121)
    java at com.loggingconfig.client.Loggingconfigservice_Service_Impl.<init>(Unknown Source)
    java at com.loggingconfig.client.Loggingconfigservice_Service_Impl.<init>(Unknown Source)
    java at com.loggingconfig.client.Loggingconfigclient.main(Unknown Source)
    java Caused by: java.io.IOException
    java at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    java at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:137)
    java at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:171)
    java at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:303)
    java at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:270)
    java at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:336)
    java at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:440)
    java ... 5 more
    java Caused by: com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClassLoader@1a53dd
    java at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    java at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    java ... 11 more
    BUILD FAILED
    I tried with the workshop samples , getting the same problme everywhere. Your help is really very valuable .
    Thanks
    sree

  • How to integrate a SSO based in cookie with ADF Security

    At work they asked me to integrate a existing SSO based in cookie with the new ADF + Jdeveloper 11g + WLS. After google for days and read a lot of blogs and official documentation I've made a custom LoginModule. I made it very simple, it's just an "if" inside the login() function with the username, if the username is "john" I put to the Subject some Principals. My steps are:
    1- Create a new app based on "Fusion application" template.
    2- Make a new ADF Taskflow with only one view inside (the entry point of the taskflow). The jspx only contains a welcome message.
    3- Run the ADF Security wizard, all the steps with the default option, I don't change anything.
    4- Put some users and some roles in jazn-data.xml, and maping them to an application role. Then I grant permissions to the application role to view the previous task flow.
    At this point everything is ok. I run the taskflow and a basic login popup prompts me to write my username and password. Now I try to remove everything useless for me, like idstore, credentials, anonymous, etc. I only want a LoginModule that get the HttpRequest and passes it to an already done class that returns a true/false depending if the cookie is correct or not but, as I said before, my LoginModule is so simple now and even didn't try to do something more complicated than an if. The steps I try are:
    in jps-config.xml
    5- Remove idstore.xml and credentials.
    6- (loginmodule tab) Make a new login module, and put here my class. The class is in the ViewController project and JDeveloper find it navigating through the heriarchy, so I have visibility. I put REQUIRE flag, add all roles and debug mode.
    7- In the security context unmark the idstore.loginmodule and mark myLoginModule. Also delete the anonymous security context.
    All that I got until now is a 500 error (Internal server error - Authorization Exception). Sometimes (the close i've ever been to do something correct) the browser ask me for user/password but then only recognizes the users that already are in WLS (idstore from previous tests), but NOT the "john" user that is inside my custom LoginModule. Even more, if I run the WLS from JDeveloper 11g in debug mode, the runtime never stops at breakpoints inside my custom login module. It seems that my LoginModule isn't deployed or I made some error maping the roles.
    So, my questions are:
    - I'm in the good way? If I want an authentication based in cookie/httprequest I have to do a custom LoginModule? My goal is to do a re-usable code, and re-use the code that my co-workers have done. They have a class that with only the HttpRequest determines if a user is logged or not.
    - If I'm in the good way... how can I put my custom LoginModule in the WLS? I tried to search something in the Administration Panel (localhost:7101/console) but I did'nt find nothing.
    - In case I'd got the custom LoginModule working fine in WLS... how can I get a HttpRequest from a LoginModule and avoid the username/password dialog? I've to make a filter and pass it to the my LoginModule? If it's correct... how?
    I don't post my code because is so simple, it's based on DBTableLoginModule but without all the database access code.
    Thanks to all!
    P.D.: If this message isn't in the correct forum, I'm sorry. Feel free to move it.
    P.D.2: Sorry about my english, I'm spanish. I know i've to practise a lot :)

    Hi Frank,
    Thanks a lot for your answer. Just one more easy question: what I need to do is a custom Authentication Module (which will read the cookie)? If only you can point me to the correct chapter of the WLS documentation I'll be very pleased.
    In future releases of JDeveloper will be easier to do this kind of things related to security?
    Riveck

  • Error while installation of Java add-on with EP on ABAP

    Dear All,
    We are trying to install java add-on with EP on present ABAP system, but getting struck up with error as below at creating java users (sapjsf) in central instance installation phase.
    ENVIRONMENT:
    ECC6.0
    WIN 2003
    KERNEL 136
    SUPPORT PACK LEVEL AT 13
    NETWEAVER 2004S SR1.
    DB- ORACLE
    error: ( usercheck.log)
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main" Reserved 1610612736 (0x60000000) bytes before loading DLLs.
    Critical Error
    Launching program failed
    -> Internal program error (rc = -1)
    error: (sapinst.log)
    WARNING 2008-08-11 15:00:00
    Execution of the command "C:\usr\sap\B60\DVEBMGS00\exe\jlaunch.exe UserCheck.jlaunch com.sap.security.tools.UserCheck "C:\Program Files\sapinst_instdir\ERP\LM\AS-JAVA\ADDIN\ORA\CENTRAL\CI\install\lib;C:\Program Files\sapinst_instdir\ERP\LM\AS-JAVA\ADDIN\ORA\CENTRAL\CI\install\sharedlib;C:\Program Files\sapinst_instdir\ERP\LM\AS-JAVA\ADDIN\ORA\CENTRAL\CI\install" -c sysnr=00 -c ashost=sapserver -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u SAPJSF -p XXXXXX -r SAP_BC_JSF_COMMUNICATION_RO -message_file UserCheck.message" finished with return code -1. Output:
    java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    Exception in thread "main" Reserved 1610612736 (0x60000000) bytes before loading DLLs.
    Critical Error
    Launching program failed
    -> Internal program error (rc = -1)
    INFO 2008-08-11 15:00:00
    Removing file C:\Program Files\sapinst_instdir\ERP\LM\AS-JAVA\ADDIN\ORA\CENTRAL\CI\dev_UserCheck.
    ERROR 2008-08-11 15:00:00
    CJS-30197 . For more details see output of logfile:
    ERROR 2008-08-11 15:00:00
    FCO-00011 The step createJSF with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|8|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|2|0|createJSF was executed with status ERROR .
    Please help us out at your earliest convenience.
    Thanks and warm regards,

    Hello. Note 1126481 - SAP installation terminates in step createJSF
    Hmmm. but it on UNIX platform...as i can see you have Windows....
    Try to check JAVA_HOME and PATH are set correctly ?
    Regards.

  • SRM 5.0 as an Add on with ECC 6.0

    Even i have the same question on how we would manage the distibution model when the SRM System is installed as an add on with ECC. Since being on the same client here are some of the Questions. I have also opened a new thread on this.
    1.) How would the distribution model be distributed when on the same client?
    2.) How would the Documents flow between two different systems?
    3.) In an SUS-MM scenario, how would this be handled when installed on the same client?
    4.) How would material and vendor replication facilitated?
    Any thoughts would be highly appreciated !!
    Thanks,
    Sundeep

    Hi Sundeep,
    I have answered for vendor replication here :
    One Client Solution
    For product category, material and material type replication, this is same process through activation of relevant objects in table mdsv_ctrl_opt_a
    Then you have to trigger the replication through mds_load_cockpit
    For SUS, you have to select SUS_ONE (instead of EBP_ONE) in table bbp_backend_dest
    That all what i know so far
    Kind regards,
    Yann

  • OSB set cookie with Transport Header action

    I am trying to set a cookie using the Transport Header action in the OSB. The thing is that it seems to need some special format?
    When I trying to set a simple cookie with params like: Defined:http,cookie with value xs:string('test') it returns a General runtime error: error: Unexpected element: CDATA.
    I tried looking for an example of someone setting a cookie using this but I can't find anything!
    Can anyone enlighten me on how this functionality works?
    Best regards!

    I'm still confused. The Transport Header seem to want a cookie-values xml so I created a variable which holds my cookie like this:
    <http:cookie-values xmlns:http="http://www.bea.com/wli/sb/transports/http">
         <http:value>MyCookie=%7BBC09751C%2D1F79%2D45A7%2DBC8E%2D3865D71A1888%7D</http:value>
    </http:cookie-values>If I insert my variable into the header, the callout works but when I look in the outbound it seems to flatten the xml into this:
    <tran:headers       xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <tran:user-header       name="Cookie" value="MyCookie=%7BBC09751C%2D1F79%2D45A7%2DBC8E%2D3865D71A1888%7D"/>
         <http:Content-Type>
         application/soap+xml; action="http://www.mycomp.com/Login"
         </http:Content-Type>
         <http:Cookie>
         &lt;http:cookie-values xmlns:http="http://www.bea.com/wli/sb/transports/http">
      &lt;http:value>MyCookie=%7BBC09751C%2D1F79%2D45A7%2DBC8E%2D3865D71A1888%7D&lt;/http:value>
    &lt;/http:cookie-values>
         </http:Cookie>
         </tran:headers>Only the http:cookie-values tag is colored black so i suspect there is a CDATA in front of it of some sort but it looks like it adds a user-header with the same value which looks correct!
    Can anyone tell me how this works?
    Edited by: 860367 on 14-feb-2012 15:56
    Edited by: 860367 on 14-feb-2012 15:59

  • How to add "prefix_" with DRMed Filename?

    Hi Jim,
    I want to know, How to add "prefix_" with file name (epub/pdf) which ACS generate after packaging. Suppose, I package a pdf file and ACS packaged it and store it on media server with the name of "98h3jkd98s79fdh93h.epub". Now I want ACS make this like "PREFIX_98h3jkd98s79fdh93h.epub".
    Is this possible, If yes please suggest me how to do this?
    With Regards,
    Mangal Kumar

    Hi Jim,
    I have passed <filename>, <location> and <src> parameter in our packaging request xml. File is packaging successfully and service is also placing the encrypted file to new location listed in <location> but following error is comming:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_REQUEST_REPLAY http://myserverurl:8080/packaging/Package"/>
    My Packaging XML:
    $request ='<package xmlns="http://ns.adobe.com/adept" action="add">';
    $request .='<fileName>ISBN.pdf</fileName>';
    $request .='<location>ftp://username:[email protected]/www/pdf/[email protected]/www/pdf/ISBN.pdf</location>';
    $request .='<src>http://example.com/pdf/ISBN.pdf</src>';
    $request .='<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">';
    $request .='<dc:title>BISAC SUBJECT HEADINGS</dc:title>';
    $request .='<dc:creator>Book Industry Study Group, Inc.</dc:creator>';
    $request .='<dc:format>';
    $request .='application/pdf';
    $request .='</dc:format>';
    $request .='<dc:publisher>Book Industry Study Group, Inc.</dc:publisher>';
    $request .='<dc:language>en</dc:language>';
    $request .='</metadata>';
    $request .='<permissions>';
    $request .='<display>';
    $request .='<device/>';
    $request .='</display>';
    $request .='</permissions>';
    $request .='<dataPath>C:\books\ISBN.pdf</dataPath>';
    $request .='<expiration>'. $expiration .'</expiration>';
    $request .="<nonce>" . $nonce . "</nonce>";
    $request .='</package>';
    Please suggest me why the "E_ADEPT_REQUEST_REPLAY" error is comming.
    I am waiting your reply...
    With regards,
    Mangal Varshney

  • Im dropping a cookie with userid. Can I encrypt it somehow???

    I would like to encypt my cookie. Does anyone have any idea on how to do it.
    Thanks in advance

    You can do pretty much what you want with it. It is easy enough to create your own simple encryption algorithm for a number like a userid. An alternative is to use a session variable that is matched to the user id on the server side and times out after a short while. That way even if someone does read the cookie from your client machine it is useless to them.

  • Known issues for OBIEE Office Add in with Excel 2007?

    Hi,
    Does anybody know if there are issues for the office add-in with Office 2007?
    i'm playing around a little bit to see how it works, but it seems that Excel interferes with the layout.
    I do get different grafs and also i tried the tutorial with the excel template and my changes come only partly through.
    Thanks
    Sandra

    Hi Sandra,
    Were you able to use OBIEE Office Add in with Excel 2007? I am planning to look at this compatibility. I am looking here to seeif anyone found issues with this setup..
    Thanks,
    Bharat

  • Cannot see Cookies with new update of firefox. I recently updated firefox, but when I look on the PRIVACY window, where websites store cookies, I am no longer a

    Cannot see Cookies with new update of firefox.<br />
    I recently updated firefox, but when I look on the PRIVACY window, where<br />
    websites store cookies, I am no longer able to see any cookies that<br />
    are being stored, and I am not able to delete the cookies as soon as I leave<br />
    their site, as I had been doing for a long time prior to updating.<br />
    So I am wondering where the heck are the cookies being stored now, with the<br />
    new update? I like to be able to delete their cookies immediately, and<br />
    I also wonder why firefox does not make it much easier for us to see<br />
    all the cookies and delete them with one click, instead of having to <br />
    use the &lt;&lt;TOOLS&lt;&lt;OPTIONS&lt;&lt;PRIVACY way of looking at and deleting cookies.<br />
    The option to delete the cookies when firefox closes is not as efficient<br />
    and I will get tracked until I close firefox, and I prefer to not be tracked<br />
    so I like to just delete their cookies as soon as I am no longer using their<br />
    site anymore.

    (my question was not fully showing so I added this here)
    way of looking at and deleting cookies.
    The option to delete the cookies when firefox closes is not as efficient
    and I will get tracked until I close firefox, and I prefer to not be tracked
    so I like to just delete their cookies as soon as I am no longer using their
    site anymore. So I need to know how to make the cookies visible again, so I can immediately delete them. thank you

  • Trying to add month with a Date

    Hi All,
    I am trying to add month with a date. it will take the earlier month and add one month . Here is my code
    declare @CollectionDate date='10-30-2014'
    select @CollectionDate
    ;WITH CTemp AS (
    SELECT TransactionDate=CAST(@CollectionDate AS DATE) ,RemainingTransaction=1
    UNION all
    SELECT TransactionDate=DATEADD(MONTH,1,CONVERT(date, CONVERT(varchar(4), YEAR(TransactionDate))
    +'-'+CONVERT(varchar(2),MONTH(TransactionDate))
    +'-'+ CONVERT(varchar(2),DATEPART(day, @CollectionDate)))),
    RemainingTransaction+1
    FROM CTemp
    WHERE RemainingTransaction < 9
    select * from CTemp
    When I am giving date 10-28-2014 then it is working fine. But when the date is 10-31-2014 then it shows me the error
    Msg 241, Level 16, State 1, Line 3
    Conversion failed when converting date and/or time from character string.
    I can undestand it is for the month of February but how do I overcome it?
    Can anyone help me on this?
    Thanks in advance!!
    Niladri Biswas

    Try the below:
    --To find the last day of the month, use the below:
    declare @CollectionDate date='10-30-2014'
    select @CollectionDate
    ;WITH CTemp AS (
    SELECT TransactionDate=CAST(@CollectionDate AS DATE) ,RemainingTransaction=1
    UNION all
    SELECT TransactionDate=cast(DATEADD(day,-1,DATEADD(month,MONTH(Transactiondate)-1,DATEADD(year,YEAR(TransactionDate)-1900,0))) as DATE),
    RemainingTransaction+1
    FROM CTemp
    WHERE RemainingTransaction < 9
    select * from CTemp
    --Just to add a month, use the below
    declare @CollectionDate date='10-30-2014'
    select @CollectionDate
    ;WITH CTemp AS (
    SELECT TransactionDate=CAST(@CollectionDate AS DATE) ,RemainingTransaction=1
    UNION all
    SELECT TransactionDate=DATEADD(month,-1,TransactionDate),
    RemainingTransaction+1
    FROM CTemp
    WHERE RemainingTransaction < 9
    select * from CTemp
    EDIT: You may change -1 to 1 if you want the future months.(I am bit confused whether you are looking for previous months or future months.)

  • IF_IXML : How can i add encoding with value UTF-8 to the document object??

    Hi
    i want to create a xml file with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
    <?xml version="1.0"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    BUT the document attribut(?) encoding="UTF-8"?> is missing!
    How can i add encoding with value UTF-8 to the document object?? it should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    *here is my coding.
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    DATA: lo_ixml           TYPE REF TO if_ixml,
          lo_streamfactory  TYPE REF TO if_ixml_stream_factory,
          lo_document       TYPE REF TO if_ixml_document,
          lo_parent         TYPE REF TO if_ixml_element,
          lo_ostream        TYPE REF TO if_ixml_ostream,
          lo_renderer       TYPE REF TO if_ixml_renderer,
         lv_rc           TYPE i.
    lo_ixml = cl_ixml=>create( ).
    lo_streamfactory = lo_ixml->create_stream_factory( ).
    lo_document = lo_ixml->create_document( ).
    lo_parent = lo_document->create_simple_element( name   = 'OpenSearchDescription'  "root node
                                                    parent = lo_document ).
    lo_parent->set_attribute_ns( name   =  'xmlns'
                                 value  = 'http://....' ).
    *rausrendern in file
    lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
    lo_renderer = lo_ixml->create_renderer( ostream  = lo_ostream
                                            document = lo_document ).
    lv_rc = lo_renderer->render( ).
    Thanks for help
    Britta

    Use the following code:
    set an document encoding
      l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
                                            byte_order = if_ixml_encoding=>co_none ).
      l_success  = l_ostream->set_encoding( encoding = l_encoding ).
    create a xml renderer
      l_renderer = l_ixml->create_renderer( document = l_doc ostream  = l_ostream ).

  • How do delete cookies with ios7 on I-phone and I-pad ?

    How do you delete cookies with ios7 on I-phone and I-pad  ?

    Cheers for that but what I really meant was when you double click your home button you used to be able to keep your finger on one of the apps for 2 seconds and they all would have a cross on them and you could delete them now you can't ? , not delete the app completely just close the app  properly to save your battery

  • SUS-MM Lanscape with SRM 5.0 as an Add-on with ECC6.0

    All-
    We are implementing SRM 5.0 as an add on with ECC 6.0. We are aware of all the constraints and those constraints do not matter within our scope. The open question that we have is that if SRM is installed as an Add on with ECC.
    Can we also leverage the SUS-MM functionality within SRM, when installed as an Add on with ECC 6.0??
    Any help would be appreciated.
    Sundeep

    Marcin,
    FYI
    http://help.sap.com/saphelp_erp2005/helpdata/en/index_srmaddon.htm
    Sundeep

  • Cooking with iPad how to make screen stay on longer

    Cooking with iPad how to make screen stay on longer

    Try, settings - General - Auto Lock. Set to your preferred time.
    Stedman

Maybe you are looking for

  • IPhone 4 apps sync problem

    Hello, This is what I have and with what I have to work it. - iPhone 4 v5.0.1 - iTunes v10.5.1.42 - HP Pavilion Slimline with Windows Vista Home Premium Every single time I plug in my iPhone 4 into the computer and I open the iTunes 10, both items st

  • Photo transfer to Apple TV

    I transfer photos from my iMac to my first generation Apple TV.  In a folder on an external hard drive attached to the iMac, iTunes only recognizes 8 of 140 raw files with related xmp files.  If I export the raw files as jpgs it recognizes all.  Why?

  • Keep my monitor 'warm' ?

    I'm using a Blackmagic Intensity Pro to output to my monitor. +(XDCAM EX 1080p 25)+. It takes a while for the monitor to stabilise after the screen's been black for a while. As the screen goes black every time I check my email +(or do anything on the

  • Last  4 weeks store sales sum

    with using time series ago function amount+ago(amount ,week,1)+ago(amount ,week,2)+ago(amount,week,3) i am doing above like it's throwing error like nested time seriece function but it 's working well in 10g in 11g it 's problm can any one suggest me

  • Wanting tips of full moon photo. using Nikon D80

    I have a new Nikon D80 and not real famillar with the best settings for taking a photo of the full moon & stars, (with the trees in the foreground). Like a sillouette. Then as the moon comes up over the trees, probably around 7.30pm, I would like to