Change jsp's in web service client when creating a web service in WID

Hi, Actually , when we a web service, on websphere Integration Developer,JSP's get generated after creating the web service client.
Those JSP's are named as input.html, invoke.jsp etc, I need to change the jsp's for good look and feel,
But I am unalble to do that as there is no configuration information included in the jsps created by default, Please let me know, if any has come across this kind of situation and knows how to deal with.

Hi,
Not sure if you can get answer to WID specific questions on the Oracle-WebServices forum. Here, we are mainly talking about SOAP and WSDL, and mostly with the Oracle OC4J implementation.
When you generate a static proxy, you can set the endpoint URL dynamically using a helper method on the class generated by JDeveloper - look for setEndpoint()
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Stub;
    public void setEndpoint(String endpoint) {
        ((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
    }The generated code uses the JAX-RPC APIs under the cover, which may also apply to Websphere's internal implementation.
Hope it Helps,
-Eric

Similar Messages

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How do I select and format fonts when creating a web Journal in Aperture?

    I am creating a web journal in Aperture 3.5.1.  There is a not very functional way to create text boxes and add text interspersed with images.
    I can open the font window, but highlighting text and formatting it in the font window has no effect.
    In addition, the size of the font actually changes from paragraph to paragraph for no apparent reason.
    How do I format text when creating a web journal?
    After I have created the web site, I can open the html file and edit the source code, but this is very tedious.
    --Kenoli

    Hi
    Do You mean by "front" and "back" mean beginning of movie versa the end of it
    or Picture in picture effect - zooming into one photo then to another ?
    There is a picture in picture function in iMovie'09 - but very basic and
    to move around in a photo You got the "Ken-Burns effect".
    Still to do this with 100% control there are only two good alternatives
    • QuickTime Pro ($30 QT-Pro update) - Hard to use very demanding
    • FinalCut Express ($199) - Hard to get up and running
    (Steap learning curve to start with) - Then Pic in pic is dead easy.
    Yours Bengt W

  • Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Hi,
    I had the same problem with
    "java.lang.NullPointerException at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)"
    when I included ViewUsages dynamically in an action handler (outside wdDoInit()).
    The code below fixed that problem.
    This code creates a new OutboundPlug for the embedding view with the embedded view as target and fires the plug.
    <i>// Create OutboundPlug
    IWDOutboundPlugInfo outboundPlug = embedderViewInfo.createOutboundPlug();
    //Create navigation link
    rootViewUsage.createNavigationTarget(outboundPlug.getName(), interfaceViewUsage, "Default");
    // fire navigation link
    wdThis.wdGetAPI().firePlug(outboundPlug, Collections.EMPTY_MAP);
    </i>
    I hope I could help you. Probably you don't need the information anymore, but perhaps anybody else has the same problem.
    Regards, Alex

  • Which BW variable is used for date(range) when creating a portal service

    Hi,
    Can any one please let me know which BW variable is to be used for date(range) when creating a portal service for searching based on dates.
    Thanks
    Abhai

    Hi Arun,
    its just a portal service which would be called when  searching a document created on a particular date or betwwen a range of date.so what i require is which BW variable to be used when handling range.As for variable technical name we use VAR_NAME_I  and for single value variable we VAR_VALUE_EXT_I
    in the similar manner i want BW variable to be used for range of values.
    Thanks
    Abhai

  • 2004S MiniSAP ABAP: SAPGUI crashes when creating a Web Service

    I have installed the NW2004S ABAP Preview System from SDN on a VMWare Image (Windows XP, 1.7 GB Mem).
    No problems during the install. Also I was able to run the sample Web Dynpro Quiz Application.
    However when try to create a Web Service the SAP GUi crashes with the Windows Error Message "dispwork.exe has encountered a problem and needs to close." Interestingly enough the "dispwork.exe" process in the MMC continues to be green and I can reconnect.
    Here are the detailed steps if you want to try to re-produce:
    1) Select Package SAPBC_IBF_SCUSTOMER
    2) Select Function Module "BAPI_FLCUST_GetList"
    3) Right mouse click and Create -> Web Service
    4) Web Service Wizard opens, type in name for Web Service (Z_...) and continue with the default settings
    5) Creat as Local Object
    Result: After about 5 minutes of compiling the SAP GUI crashes. The Web Service is not created (checked in WSADMIN)
    Any help is greatly appreciated. Will reward points for hints which lead to a resolution.

    I'm glad to see it wasn't just me having this problem. I installed the SPS8 version of the 2004s ABAP trial a couple weeks ago and immediately tried to apply SPS9 and kernel patches, etc. (with a lot of help from your blog 3930, even though some things have changed since then).
    I ran into this same problem you describe but since there had been some other problems along the way too, I decided to uninstall the whole server and start over. Uninstallation and getting a clean installation again was a mess (maybe the new cleanup utility would have helped some) but I got past that.
    The second time through, I made a lot of improvements, which I'll list here since they may help others, but still ran into this problem in the XPRA_EXECUTION phase.
    Improvements to process:
    1) Backup database first, just in case
    2) Share the c:\SAP directory as Sapmnt so that SPAM can find the packages
    3) Add at least one extra batch process, since the default installation only gives one and more are needed for the support package installation (the easy way is to increase rdisp/wp_no_btc in the NSP* profile in C:\SAP\NSP\SYS\profile)
    4) While in the profile, change ztta/cua_area = 250000 to avoid some errors logged in trace files for having that too low
    5) Also in the profile, put the slash between the directory and file name in ssf/ssfapi_lib and sec/libsapsecu
    6) Also in the profile, add "dynpro/generate_in_separate_luw = N", as per note 949737
    7) Request and install a new license key before applying the support packages.
    All of the above were changes I made after finding errors or problems and these solve the problems. Some errors also led me to upgrade MAXDB from 7.60 build 32 to 33 (pretty painless if note 735598 is followed carefully) but I'm not sure that really solved anything.
    I tried hard to debug the WEBI_AFTER_IMPORT problem and narrowed it down to when it's trying to create a transformation for a function and XSLT_MAINTENANCE is called and then inside the Activate method and the Check method it calls. I ended up not able to solve this problem but also hoping that SPS10 would do so, as per note 973675. I just removed the AFTER_IMP method for WEBI from table OBJM temporarily while letting SPAM continue.
    I too will be waiting to see if SPS10 helps or if someone comes up with a solution. Ideally, a new version of the trial could be posted which incorporates the above improvements and includes SPS9 or SPS10 so that those installing it fresh don't have to go through so many issues...
    Message was edited by James Webster at 10/10/2006 5:36 p.m. EST to add point 7 to the list of improvements.

  • Leading ? xml version="1.0"? tag when creating / invoking web services

    Hello friends. I'm wondering if anyone has any insight as to why I cannot create
    a fully formed XML document when developing a web service which includes the standard
    <? xml version="1.0" ?> leading tag.
    If I include the leading tag in my XML mapping for a jws method, I am unable to
    compile the service into an ear, getting the following error: "An unexpected
    exception occurred while attempting to process the classes and annotations for
    this Web Service." If I do not include the leading tag, I can compile into an
    EAR file and invoke the web service from a HTTP POST, but I cannot include the
    leading <?xml...> tag in my request. Considering that I'll be asking other vendors
    to submit to my web services and creation of xml documents using DOM or other
    methods automatically generates the <?xml ...>, I'm hoping I'm not going to have
    to tell them to parse out this piece of the files they want to send me. Can anyone
    help?
    Thanks so much!
    CM

    CM,
    I suppose you have set 'http-xml=true' for this to work. For http-xml
    protocol, there is no way to specify the leading <?xml> tag, and hence
    unfortunately the desired functionality cannot be achieved.
    In case, this is very important for you, could you please log a support
    case, and then we can file a bug and ask the Engineering to look into it.
    Thanks,
    Anurag
    "Crackhead Millionaire" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi Anurag -
    Thanks for the response. My problem is that I would like to be able tosubmit
    straight XML (i.e., not SOAP) to a webservice from an application outsideof Weblogic.
    For example, the following code block fails on submission to BEA:
    * Example Simple Integration.
    import java.io.*;
    import java.net.*;
    public class testBEAPost {
    * Null constructor.
    public testBEAPost () {
    super();
    * This method handles creation of a PeopleSoft XML Envelope, wrapping of
    * user input into the envelope, submission of the message to theintegration
    broker
    * and display of the response message to the screen.
    * @created 3.12.2003
    * @param argv java.lang.String[] Standard user entry input
    public static void main(String[] argv) {
    try{
    URL url;
    URLConnection urlConn;
    DataOutputStream printout;
    DataInputStream input;
    // Create the internal XML document which will be to send to BEA.(hardcoded)
    >
    String internalXMLDoc = "<? xml version=\"1.0\"?><newlocationxmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><setid>WMS</setid><l
    ocationid>1118UG0000</locationid><description>Electric
    UndergroundLocation</description><exceptionemailaddress>[email protected]<
    /exceptionemailaddress></newlocation>";
    >
    // Define the target URL.
    url = newURL("http://167.75.117.20:7001/WebServices/PeopleSoftWebServices/NewLocation
    Service.jws/createLocation");
    >
    // Open the Conection
    urlConn = url.openConnection();
    // Set necessary connection variables.
    urlConn.setDoInput (true);
    urlConn.setDoOutput (true);
    urlConn.setUseCaches (false);
    // Specify the content type.
    urlConn.setRequestProperty("Content-Type", "text/xml");
    // Send POST output.
    printout = new DataOutputStream (urlConn.getOutputStream ());
    printout.writeBytes (internalXMLDoc);
    printout.flush ();
    printout.close ();
    // Get response data.
    input = new DataInputStream (urlConn.getInputStream ());
    String str;
    while (null != ((str = input.readLine())))
    System.out.println (str);
    input.close ();
    } catch (Exception e)
    System.out.println(e);
    If I run this program, I get a java.io.IOException with the serverreturning a
    500 error code. However, if I strip out the leading <? xml version="1.0"?> tag
    and submit to the web service, it works fine. My program set I createdthis example
    for uses DOM to create the document, so I'm actually creating thedocument, getting
    the String value of it, then parsing out the leading tag beforesubmission. My
    problem is that soon I'll be dealing with third parties who may havetrouble generating
    SOAP requests (don't ask), so I'd like to be able to tell them to generatesimple
    XML documents to send to BEA if at all possible.
    Can you assist? Thanks so much.
    "Anurag Pareek" <[email protected]> wrote:
    CM,
    A SOAP message generated by a Workshop web service, when it acts as a
    client
    to another service, always contains the leading <?xml> tag. Here is a
    sample
    of a SOAP message generated by Workshop:
    POST /TestImport/TestAny/TestAny.jws HTTP/1.0
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
    Protocol 1.0.3705.0; BEA WLW 7.0)
    SOAPAction: "http://www.openuri.org/hello2"
    Host: localhost
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: Keep-Alive
    Content-Length: 398
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <hello2 xmlns="http://www.openuri.org/">
    <o></o>
    </hello2>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    It seems to me that what you are asking for is already there. Could you
    please elaborate your issue further, probably with a sample of a XML
    message
    which you feel is not accepted by Workshop, but should be.
    Thanks,
    Anurag
    "Crackhead Millionaire" <[email protected]> wrote in message
    news:[email protected]...
    Hello friends. I'm wondering if anyone has any insight as to why Icannot
    create
    a fully formed XML document when developing a web service which
    includes
    the standard
    <? xml version="1.0" ?> leading tag.
    If I include the leading tag in my XML mapping for a jws method, Iam
    unable to
    compile the service into an ear, getting the following error: "Anunexpected
    exception occurred while attempting to process the classes and
    annotations
    for
    this Web Service." If I do not include the leading tag, I can compileinto an
    EAR file and invoke the web service from a HTTP POST, but I cannotinclude
    the
    leading <?xml...> tag in my request. Considering that I'll be askingother vendors
    to submit to my web services and creation of xml documents using DOMor
    other
    methods automatically generates the <?xml ...>, I'm hoping I'm notgoing
    to have
    to tell them to parse out this piece of the files they want to sendme.
    Can anyone
    help?
    Thanks so much!
    CM

  • Security Error when creating a web service with Flex

    Hello comminuty.
    I'm using Flex to create a standalone application and I have to use web services to retrieve data from SAP.
    I used the bapi bapi_flight_getlist to create an associated WS that works fine (tested with the Eclipse's WS Explorer).
    In Flex Builder, I use the following code to create my web service:
         <mx:WebService
              showBusyCursor="true"
              id="service"           
              wsdl="{wsdl}"
              result="resultCreateWSHandler(event);"
              fault="faultCreateWSHandler(event);">
                <mx:operation name="FlightGetList"
                     result="resultWSHandler(event)"
                     fault="faultWSHandler(event)"></mx:operation>                    
            </mx:WebService>
    And this is the error I'm getting:
    (mx.messaging.messages::ErrorMessage)#0
      body = (null)
      clientId = "DirectHTTPChannel0"
      correlationId = "E578ED8C-EF29-44E7-8D57-57B4DB6EB613"
      destination = ""
      extendedData = (null)
      faultCode = "Channel.Security.Error"
      faultDetail = "Destination: DefaultHTTP"
      faultString = "Security error accessing url"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "6E7AC45E-418D-90CD-96AD-57B52DB1DAF4"
      rootCause = (flash.events::SecurityErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = (null)
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2048: Violation de la sécurité Sandbox : http://localhost:8300/ztest2/bin-debug/ztest2.swf ne peut pas charger de données à partir de http://XXXX:8006/sap/bc/srt/wsdl/bndg_DEB8A28C2E19EEF19C080050568D135B/wsdl11/allinone/ws_policy/document?sap-client=800."
        type = "securityError"
      timestamp = 0
      timeToLive = 0
    Translation: "Error #2048: Sandbox security violation: http:....swf cannot load data from http:...client=800"
    Would any of you have an idea about what is causing this error??
    Thanks for any help you can provide.
    Regards,
    C.

    Hi Cristina
    Did your flex application worked. i am also having same problm. cant access the BAPI from standalone flex application.
    Jay

  • Userexit or BADI to change service price when create PO reference from PR

    Hi,
    I need userexit or Badi to change the gross price ( ESLL-TBTWR ) when create PO reference from PR.  Currently , when I do this it will recalculate the gross price based on the service master and ignoring whatever the price put in PR.  Could anyone tell me userexit or Badi that would allow me to change the price when i create PO from PR via ME21N.
    Thanks,
    Gilbert

    Hi Gilbert,
    You can try using Function Exit EXIT_SAPLMLSP_030 of Enhancment SRVESLL.
    This Function Exit has ESLL data as changing parameter.
    But this Function Exit is called from a number of transaction. So do put in correct checks (like sy-tcode or sy-ucomm) before substituting any values. If proper checks are not put in then values may be substituted when this function exit is called from other transactions (like tcode "ML81N").
    Hope this will help.
    Regards,
    Abhisek.

  • Pricing date change on service order when creating confirmation.

    Hi gurus,
    I want  to change the pricing date (and recalculate prices)on service order to the date confirmation is created from the service order.I would like to know if this can be achieved by copy control BADI or order save BADI or pricing BADI ?
    Please  guide if anybody has already achieved this functionality.
    Thanks
    Dona

    Hi Dona,
    Pricing manipulation for an order can be done by using CRM_PRICING_BADI.Use the method CRM_PRICING_MERGE, here you can use the changing parameter CS_PRICING_BADI to change the pricing data.
    Hope it helps you.
    Regards,
    Shweta

  • Bank row was added in webi rich client when using excel as data provider

    reproduding steps:
    1.open webi rich client.
    2.Create a new webi report,then select "local data source"
    3.select an excel file as data source.
    4.run query.
    For example,there are 5rows in excel,but in webi report there are 6 rows,and the last row is bank which is added by webi.
    question
    1. mcro has been defined in the excel file,is there any impact by using macro?
    2.I want to know why this happens,

    >could you please test the following solution if you have multiple data providers in the report.
    >We need to manually link the dimensions then in the resulting crosstab/table we are need to apply >filters and select only the values but not the #empty values.
    I have only one data provider in the report.
    And, I have do the following test,
    test1:Delete the last row which is blank row of the excel file,refresh webi report, the last blank row is still there.
    test2: press ALT+F8,delete marco in the excel file,refresh webi report, the last blank row is still there,then delete the last blank row in the excel file ,save excel file,refresh webi,the last blank row is disappear.

  • Err 00 671: SAPSQL_ARRAY_INSERT_DUPREC when creating help desk service mes.

    Hi all,
    we are setting up SOL MAN 4.0 SP 06, which have BBPCRM 05 SP09
    I have followed the below forum, in order to implement the number range for document type SLF1 and SLFN.
    Error when creating system message
    (Error when creating system message)
    As said in the forum you have to implement number range differenty for SLFN docs and SLF1(ABA msg).
    So clearly number ranges internal for SLFN docs are external for SLF1 docs and it works in the opposite way round as well.
    If I use the crmd_order trx to generate internally an SLFN doc it works,without any problem. But on the other hand if I try to use the menu Help - Create Support Message, I get the below error:
    00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC.
    As well BDOC have got a strange status, the yellow triangle of incompleted, and/or in process.
    Should I carry out any Bdoc set up? For instance for queues?
    After doing an ST05 trace I have found out that  system is trying to insert twice the same key record in table CRMD_ACTIVITY_H. The program doesn't fail the first time but at the second attempt it fails.
    We have checked many Sap notes, and in one case I have found out that problem was identical to the one I 'm experiencing. So we apply note 754192.
    But I still have the same problem. So what am I supposed to do?
    Should I raise the BBPCRM SP?
    Please advice. Any help will be rewarded.
    Many thanks in advance,
    AndreA

    Andrea,
      With reference to a couple of your statements made in your posting, the SLFN and SLF1 documents are part of the overall Service Desk configuration, is there a reason that you have not progressed to the SP12 Stack?  Have you gone through the IMG to activate the necessary BC Sets for enabling the Service Desk?  If you have gone through all the necessary configuration, have you made any modifications or customizations to the processing of service requests to include custom actions during the execution for creation of a service desk ticket (this can include sending emails, changing SLA dates, org distribution).
      Thanks for clarifing your situation for the rest of us and the more details you provide, the better we all can answer your question.

  • Issues when creating new web items (chart) - No BLOB!

    Please help us...
    Background:
    We have created a copy of the SAP standard class: CL_RSR_WWW_ITEM_CHART, named: ZCL_RSR_WWW_ITEM_CHART and maintained the tables:
    - rsrrenderer
    - rsrrendereratr
    - rsrrenderert
    Problem occurred:
    -When running a chart using our new web item it’s not  possible to change chart type other than the default type, bar chart. We have noticed that, for the new web item, the parameter “TMP_CHART_DATA_HANDLE” is not copied to the HTML-code as for the standard web item (CL_RSR_WWW_ITEM_CHART) when executing “Edit chart” in the properties tab. When debugging the code we notice that no BLOB is being created for our copy-web-item, and that's why no chart-settings are changed.
    Questions:
    1.How to get the functionality “edit chart” to work  properly in the new class ZCL_RSR_WWW_ITEM_CHART?
    3.If it’s not possible to use the “edit chart” functionality in a copied web item then what’s the attribute to use in the HTML editor in Web Application Designer in order to set chart type? Or any other suggestions...
    Regards
    Daniel
    Message was edited by: Daniel Vasiljevic

    Prag,
    Try this. Execute the following in a SQL window started by a userid that has been granted the USER ADMIN system privilege:
    ALTER USER BODS1 VALID FROM NOW    UNTIL FOREVER;
    You can use a date instead of FOREVER --- '2016-12-31 23:59'.
    Good luck,
    Robert

  • Assign account from Service Request when creating a New Task

    When creating a new task from within a Service Request the SR # is defaulted we would also like to default the account associated with the SR on to the Task. How can you do this?

    This is not working in WF.
    Refer this thread
    Re: Contact record not pupulated when Task created using Workflow.

  • How to change Sold-to party in S.O when creating with ref to Quotation

    Dear All,
    We are creating Sales Orders with reference to Quotation.
    The requirement is that the same quotation will be used for different sold-tp parties when creating sales order. Currently the System does not allow to change the Sold-to when creating Sales Order for a different Sold-to with reference to a Sales order (that was created with a different Sold-to).
    Please let me know the best possible options so that the sold-to party in the sales order can be changed when creating with reference to Quotation that is created with a different sold-to party.
    Regards
    Venkat.

    Hi,
    Try This.
    IMG-SD-SALES-MAINTAIN COPY CONTROL FOR SALES DOC-SALES DOC TO  SALES DOC.
    Choose the required sales DOCs and change the settings of Coping Requirements to 2
    I think this will solve ur issue..
    Regards,
    boseavi

Maybe you are looking for

  • HT1296 How can I sync my iPhone 4S with my PC where the data on the phone is added to my library on the PC?

    I am trying to sync my 4S with my PC that has not been sync'd for a long time. I need to make sure the data on the phone is added to my library on the PC and not have the PC data overwrite on to my phone.

  • What's wrong with my code?(about RSDRI_INFOPROV_READ)

    The result is print out this line in the screen: '11 305 DBMAN   ZUTI_USA' My code is: *& Report  ZREADDSO REPORT  ZREADDSO. TYPE-POOLS: rs, rsdrc. types:       begin of TResult,           i_zgultima         type  /BIC/OIZGULTIMA,           i_zusagei

  • Abstract interface direction ??

    Hi Gurus, I am prepraing for XI certification. As per my knowledge abstract interface is having no direction. But in tbit40- xi fundamental training book of SAP-AG, chapter8 page 10, its mentiond abstract inerface is bi--directional ???? kindly clari

  • DVD Player with imac

    I have inherited an iMac from my parents and am using it for my daughter. We cannot play DVD's on it at all. I tried using an external DVD player (and it reads the disc) but it won't play. I actually think I may be missing the Apple DVD Player softwa

  • How do I find out what plugin is missing?

    Trying to access a HP ESL G3 tape library using Firefox, I get the message that additional plugins are needed. How do I found out what plugins are needed?