Change/Configure Host and Port for the Web Service Proxy with Server

Hi,
Is there a way to configure Host and Port in generated proxy for Web service depending upon server. (ADF 11g)
Scenario:
We are consuming Credit Card web service from a service provider and have different Host and Port details for development, QA and Prod.
So we created proxy classes using wsdl for development and things work fine, but when deploying code to QA or Prod we need to change the Host
and Port details.
Is their a way we could user variable's for Host and Port which looks to some configuration file to evaluate their values
based on server.
I am a bit new to this web service .. will appreciate if someone could provide an example.
Thanks.

Are you using Web Service Proxy or Web Service Data Control?
If you are using Web Service Proxy. Right click on your Proxy --> Properties --> Port Endpoints. Here you can change the IP & Port details for each port.
Venkat

Similar Messages

  • Dynamic Host and Port for Web Proxy

    hi,
    When I create a web proxy in JDev I supply the hostname and the port for the web service. The code is then compiled and then deployed. However I want the host and port to be dynamic (kept in a varaible) so when I move my deployment from Development to Test server I just need to change a value in a database or text file. I don't want to re-compile and deploy the code when I move servers. Is there any way to do this??
    Thanks
    Stephen

    Hi,
    not so in the WSDL file that is created. If from the client side access, then WS poxy classes allow you to do this
    Frank

  • Web Service Proxy with Dynamic IP and Port

    hi,
    I am currently looking at the Web Service Proxy generation in JDev 11g. I can generate proxies fine, but the proxies are generated with static host and port. I want to substitute the host and port during runtime if required, for instance read the values from a database. I need to do this to avoid compiling the application for every deployment we make dev, test and production. Is there an easy way to set the generated proxy host and port? Are there any examples?
    Thanks in advance!
    Stephen

    Hi,
    Maybe you should have a look on XML Catalogs feature, but I am not sure if JDeveloper support it and how to support it.
    -LJ

  • Getting complete WSDL for the web services created in J2EE

    Hi,
    I have created a web service using Netweaver developer studio for a J2EE project (complete EJB, WEB and Appln Project) similar to CAR rental application.
    I also have tested the web service in web service perspective and it is working fine. Now i want to call this web service from XI. Therefore i need the WSDL for the same. The testing screen also gives the WSDL for the web service. But it has got number of links inside in the forms of import.
    Editing all those documents and forming the complete wSDL is very difficult..
    How do i do it??
    Abhijeet

    Hi,
    When I opened the wsdl it has number has a wsdl:import location tag..which refers to binding.
    when opened this import location we have one more import location for porttypes.
    When combined all thhree e.g. service, binding and porttype we get the complete WSDL which i could comofortably import in XI and further process.
    This way i coudl succesfully call a web service from XI.
    I used Stylus studio for editing WSDL.
    Thanx

  • Why can't font graphics for the web be created with sophisticated "hinting" in Photoshop?

    It seems when a font is generated as a web graphic -- either a GIF or a high quality JPEG -- it never looks as clean as live fonts in HTML? I've been researching fonts a bit, and apparently they come with built-in "hinting" that makes them appear better on screen. But if you set the same type in Photoshop or Illustrator and export for the web, it's blurrier and never as good. Is there a way around that?

    http://en.wikipedia.org/wiki/Subpixel_rendering

  • Can I  load Java classes generated by the Web Service Proxy Wizard?

    Hi gurus,
    I am very new to Oracle JDeveloper and I have mainly used it to create and debug PL/SQL procedures. My client app is written in PowerBuilder 11 (Sybase), which claims that it will create a datawindow from a web service. Well, it turned out that PB can only handle simple stuff (it works with a very simple wsdl from the internet) but can't handle more complex ones that we need to use. So I am thinking about using JDev to create the web service proxy for the web service and then load it into Oracle as a Java stored procedure so that PowerBuilder can call the procedure. JDev succsfully generated the proxy and a few Java classes. My question is, do I need to load all the classes into the database? If yes, will the reference to the package work? For example, in a JDev generated class (the soap client class), it has package MyJdev.proxy; at the top. Or, will it work if I load all the classes included in package /MyJdev/proxy into the database?
    Thank you very much for any help.
    Ben

    Thanks again, Bruce.
    What I meant by SOAPElement is that one genereated Java class has this and this class also has the setter for this like this,
    public void setSelection(javax.xml.soap.SOAPElement selection) {
    this.selection = selection;
    And here is the whole class,
    public class CaseSearchByPartyRequest implements java.io.Serializable {
    protected java.lang.String schemaVersion;
    protected java.util.Calendar messageProducedDateTime;
    protected javax.xml.soap.SOAPElement selection;
    protected Restriction restriction;
    public CaseSearchByPartyRequest() {
    public java.lang.String getSchemaVersion() {
    return schemaVersion;
    public void setSchemaVersion(java.lang.String schemaVersion) {
    this.schemaVersion = schemaVersion;
    public java.util.Calendar getMessageProducedDateTime() {
    return messageProducedDateTime;
    public void setMessageProducedDateTime(java.util.Calendar messageProducedDateTime) {
    this.messageProducedDateTime = messageProducedDateTime;
    public javax.xml.soap.SOAPElement getSelection() {
    return selection;
    public void setSelection(javax.xml.soap.SOAPElement selection) {
    this.selection = selection;
    public Restriction getRestriction() {
    return restriction;
    public void setRestriction(Restriction restriction) {
    this.restriction = restriction;
    this.selection is the request that I think I need. And here is the static main method of the soap client class genereated.
    public static void main(String[] args) {
    try {
    MyJdev.proxy.SoapClient myPort = new MyJdev.proxy.SoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    So, if I need to send the request to the web service, do I need to create the request, correct? I have done it through AQ and Messaging Gateway and works fine by manually creating the request xml in PL/SQL, but now I need to get it to work sychronously from the UI. I believe that I need the request (SOAPElement) because that is the only way that I can supply the parameters. I have not see any setters for the parameters other than some setters for user name and password.
    Did I get something wrong here? If I don't supply the "selection", will JDev do it?
    Thanks.
    Ben

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • TS3276 The IMAP command "UID COPY" (to Deleted Messages) failed for the mailbox "Bulk Mail" with server error: UID COPY Mailbox in use. Please try again later.

    I have been getting the following message and have no idea how to clear it.  Any help will be greatly appreciated!!!  I have force closed Mail, and have tried to re-sync my accounts but no luck.
    The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.

    What program are you using?  And what version?

  • How to create Web Service Proxy with help of WSDL.

    Hi ,
    How to create Web Service Proxy with help of WSDL .
    Please help me .
    Thanks in advacne for reply .

    check out this article. It has all the details
    http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html

  • HDV Aspect Ratio and Exporting For the Web

    INTRODUCTION
    I am trying to export an HDV video for the first time and have managed to confuse myself. I want to upload it to blip.tv and they transcoded videos into Flash with 4:3 aspect ratio. But more than that, I want to understand how this all works so I don't have to guess about the settings that will give me what I want.
    BACKGROUND DATA
    4/3 is 1.333...
    16/9 is 1.777...
    1440/1080 is 1.333... (if the pixels are square)
    1920/1080 is 1.777... (if the pixels are square)
    In FCP my clip format says:
    Frame Size: 1440 x 1080
    Pixel Aspect: HD (1440 x 1080) (Does this mean the pixels are 1.333... times wider than it is high?)
    EXPORT USING QUICKTIME CONVERSION
    When I go to export this clip using Quicktime Conversion under the Options... Size... dialog and look at the Dimensions dropdown, (I assume this is the dimensions of the exported video. Is that correct?)
    Some of the settings are (the settings are in quotes, my notes are in parentheses.):
    "HD 1440 x 1080 16:9" (if pixels are square this is 4/3)
    "HD 1920 X 1080 16:9" (if pixels are square this is 16/9)
    So both of these settings claim to be 16:9 but they both can't be true unless they have different pixel aspect ratios (which I find hard to believe). This makes me think I don't really know what they mean when they notate something as 16:9. Can anyone give a definition that will help me here?
    EXPORTING FOR THE WEB
    Using FCS2, what settings should I use to export this clip undistorted for the web (with letterbox if needed)?
    Thanks for the help,
    Rob:-]

    What I find with HDV 16x9 1440x1080 footage, is that when you output for the web you have to hard code the size you want the result to be. 320x180 or 640x360 for example scale things nicely. If you want bigger, just do the math.
    I don't know why but whenever I select a predefined output size, it always screws it up (I don't work with 4:3 ever, so I'm speaking only of 16x9). So I always enter the size I want.
    And as far as Compressor 3, I really can't get that to set the size I want correctly either. Mostly its due to me being lazy and not wanting to spend a year reading the Compressor manual. A package that should basically have the easiest interface known to man is now so complicated that unless I have to hand-holding tutorial, or get to drag/drop one of their presets, I end up screwing things up with it. Not to mention that you get to wait for hours just to see how you screwed up the settings of your output.

  • Verifying the Workflow Configuration - does not appear for the workflow services.

    hi!
    the services for the workflow services is not in windows service, I´ve installed workflow manager and correctly configured, service bus correctly configured etc
    verify

    Which self Service function you are using to change the assignment ?
    Their are two API to update asg values. Try to apply user hook on both of them and retry ur scenario.

  • Calling Web Service Proxy with Custom java Object as parameter

    I created a web service proxy from WSDL URL using JDeveloper 11g(.5 version)
    I need to call a webservice method which takes custom Java Object( Ex: ABC.java) as Input parameter. It creates the XSD java (ABC.java) file for that.
    @XmlElementRef(name = "abc", namespace = "http://impl.service.ns.test", type = JAXBElement.class)
    protected JAXBElement<ABC> abc;
    ABC.java has a property of type java.util.Set of a custom Java Object (Set<XYZ.class>)
    It doesn't create xsd file for XYZ.java.
    @XmlElementRef(name = "XYZ", namespace = "http://model.ns.test/xsd", type = JAXBElement.class)
    protected JAXBElement<Set> xyz;
    Please help me.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Help needed creating Web Service Proxy with SSL

    Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
    Thanks in advance.
    John

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • Change the 'ContextUri' and ServiceUri for a web service with workshop

    Hi all,
    I've created a web service and its url is set by default by workshop, let's say http://myServer:7001/app/services/myWebService.jws
    Is there a way in workshop to modify the url, so that I can call my web service this way :
    http://myServer:7001/myCompany/myWebService
    Thanks.
    Bruno

    Hi Miriam,
    As far as I know, this does not exist.
    However, if you want to capture user input in a webbased (RIA) application, AJAX may be useful for triggering a process based on user navigation of input from keyboard or mouse.
    BTW: in the BPEL4People initiative there is mention of BPEL processes for supporting navigation, i.e. wizard-style user interfaces, which would typically require 'timely' responses.
    Hth, Sjoerd

  • Management access and history for the Web Survey

    Hi to all,
    I've two questions on the Web Survey.
    1- Is possible the access on the Web Survey compiled from someone? If yes, what?
    2- The History is managed?
    Regards,
    Marco

    Hi Marco,
    1. there is no system supported history management. You need to find a process.
    I implemented using direct update in the application. The link is part of the portal
    knowledge management. To have a survey history the purchaser or supplier copys
    the file and store it in the folder.
    2. All these screens are BSP driven. The registration page creates the business
    partner in SRM, why changes are extremly tricky, but I also do not see the need
    to change the first page. In Prescreen vendors it is the same, propably possible.
    The questionaires can be adjusted within SRM trx and somehow easily configured.
    3. There are several tables, which in combination contain the questionnaire.
    Have a look for tables starting with tuws, like TUWS_SURVEY.
    4. HTML
    5. No; a questionnaire does no have any attachment functio. You can attach
    document to a prospect in the trx Prescreen Suppliers. The docs are linked to
    the Business Partner, like the questionnaire as well.
    6. Once the supplier submits the registration page, the questionaire is sent out
    automatically. For getting the process running the web survey settings as well
    sapconnect needs to be configured. The process is described e.g. in Guide for
    Strategic Sourcing as well into sap.help for the process.
    Cheers,
    Claudia

Maybe you are looking for

  • How to make film interactive?

    I know this question probably doesn't relate to FCP but I am hoping that someone here has the know how to help me. The "problem": I've recently filmed a bunch of lectures and subsequently edited each lecture in final cut pro, so far so good. The lect

  • Need to decide to keep data in DSO or not

    Hi all, Could someone please help me with the following scenario. We have some data that is being loaded to DSO from there into 2 cubes. One cube will hold very detailed data (just like in DSO, which was created for faster reporting), Another Cube ho

  • How to maintain shifts in workcenter

    hello guys   could you guys help me in maintaining shifts in workcenter?I know that in grouping you have to define that and then we select it in capacity tab page(capacity header) in workcenter.         plz send me the steps to maintain the shifts in

  • Vectorial map viewer

    Hello, I'm looking for a MIDP library to view vectorial map (viewer). I found out the open source tiny SVG library for SVG format. Does anybody knows if there are other tools handling other map formats than the SVG one? (e.g. Flash) Thank you and Reg

  • Is their anyway to run anti-spam against an inbox of already downloaded mail?

    I need to clean a legacy inbox and would love to be able to run something to identify known spam messages. All I can find are tools for preventing spam on the way in.