Change the end point URL in WSDL for web-service

Hi All,
Morning , could someone please help us with this question, we are stuck with this currently.
In SOA Suite 10g as well 11g we have a jsimple Java class whose one of the methods is exposed as a web service.
In the project it has created the WSDL as well and have deployed the .ear file to the servers from EM console successfully.
Now we need to migrate this web service to testing & production environments.
1. Could someone please let us know the steps as to how do we change the end point url in the WSDL for this web service (present in web content --> WEB-INF/wsdl path in the j-developer project) for migration in case of both 10g (OC4J) as well 11g (WLS) servers.
2. Also could this change/update be done prior to deployment as well as post deployment as well.
Looking forward to inputs regards this...as we are stuck with this ..would be very helpful
Thanks as always for help & guidance..

Hi
As Vijay mentioned, you develop a WebService in JDeveloper and test in JDeveloper integrated Weblogic Server say at http://localhost:7101/MyWebService/MyPort?wsdl. Thats it. Once it is working. Export it into a .WAR file. If you have any other supporting EJB JARs etc, put all these into a full blown .EAR at application level. NOW deploy this .EAR or .WAR into any Domain on any host and any port. DOES not matter. That server's host and port will be taken. Infact even if this other domain is Clustered domain, still it will work by giving webserver host and webserver port that sits in front of the cluster.
I develop my webservices in JDeveloper and test at 7101 port. This .WAR gets deployed in QC Env at qchost:qcport. Same .WAR deployed to UAT at uathost:uatport and finally to prod also at prodhost:prodport.
Its just the Client (WebService Proxy) that is calling this WebService need to use appropriate host and port based on which Env it is connecting to. For this, simply do not hard code WSDL URL in the java code or anywhere. Simply get it from a .properties file using a key value pair like this.
WSDL_URL=http://host:port/MyWebService/MyPort?WSDL.
Now have Environment specific values for above key and put that properties file in that domain root folder. And in your code always refer this key.
You can use many approaches along the above lines.
If your WebServies proxy is a webservice adapter say within bpel, still you can modify the value using deployment plan .xml file file while deploying.
I would not absolutely prefer opening war file from ear and modifying war and updating ear file etc etc. Also do not have multiple EARs for Environment specific. Just have only one single EAR or WAR file that can be deployed to any environment.
Thanks
Ravi Jegga

Similar Messages

  • Required Info About End Point URL and WSDL generated in SOA

    Hi All
    Consider the follow example WSDL
    http://localhost:8001/soa-infra/services/default/DehydrationDetails/dehydrationstorebpelprocess_client_ep?WSDL
    The above is the END POINT URL generated in my SOA.
    Can i have a control over it ? I mean whenever i deploy the total url is something like this : http://host:port//soa-infra/services/default/CompositeName/BPELName?WSDL
    Can i customize to have it deployed into another location of my SOA and have WSDL URL like this ? : http://host:port//BPELNAme?WSDL

    I guess not easily: the part /soa-infra is the URL for the SOA Suite webapplication, / is the URL for FMW Welcome Page Application.
    Try to change these around, good luck :-)
    You can look this up in your weblogic console application.
    Groeten,
    HJH

  • Change the end point in a web service client???

    Hello,
    With the Web Service Proxy Wizard of JDeveloper 10g R3, I created a web service proxy that connects to a (web service) end point like this: http://carina.bicevida.cl/OidServices/OidBasicWebServiceSoapHttpPort
    My three related questions are:
    1.- How can I change the end point registered in the (client) web service proxy ?
    2.- How can I do this without need to rebuild the client application?
    3.- How can I do this once my client application have been deployed in the application server?
    Please help.

    Hi,
    these are your options
    - Edit the endpoint meta data stored in the .proxy xml file (e.g. \src\project\myservice.proxy)
    - Use WS proxy wrapper and call setEndpoint on the proxy
    - Recreate the proxy in JDeveloper based on the new endpoint. This may require merging any business logic if it was inserted directly in the proxy (as opposed to a wrappering class)
    where I think option 1 and 2 is what you would look for. I don't know how exactly JDeveloper 11 is different, but I got the info from development that there will be simplifications.
    Frank

  • CRM-ISU: Need to change the END date and Start Date for contract items

    Hi,
    There is an old contract item for which  I need to change the end date
    and there is a new contract item for which I need to change the start date.
    I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
    I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
    but how to change the start date of a new contract item?
    Please let me know if any body is aware of this?
    Thanks

    Hi,
    Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
    Regards,
    Surjith

  • How to find the end point URL for a Enterprise Service?

    Hi,
    I'm trying to find the URL for a service called "DocumentERPFileVariantByIDAndFileVariantIDQueryResponse"
    so it can be called through .NET.
    I've been able to locate the WSDL and generated the proxy objects through this URL:
    http://<server>:8000/sap/bc/srt/wsdl/sdef_ECC_DOCUMENTFVBYFVIDQR/wsdl11/ws_policy/document?sap-client=<client>
    But in the WSDL there's no end point definition included, so where can the service it self be found?
    Thanks.
    Regards,
    Frank

    Hi Frank
    Did you check in SOAMANAGER if the service is there? If there is no end point there, you can create one.
    Rgds
    Eng Swee

  • Change the default HTML template when saving for web

    Hi,
    Is there a way to change the default HTML output template when you go to "Save for web" and select "HTML & Images"? I would like to modify the default HTML <head> tag.
    Thanks.

    Two observations.
    First — "Tools-> ...." is specific to Acrobat X and XI. It did not exist prior to Acrobat X.
    Second — Acrobat 9 Pro / Standard (nor earlier release) does not support viewing a PDF page containing a scanned image and performing a right-click  ... Save Image As. 
    The context menu provided by Acrobat 9 Pro with a right-click on a scanned image is:
    The context menu,from a right-click with the TouchUp Object tool selected, for Acrobat 9 Pro is:
    So, to paraphrase what Paul Harvey used to say ... What's the rest of the story?
    Be well...

  • Why is there NO way to change the credit card info to pay for ICloud services??

    Currently I am being asked for a 3 digit verification number to a credit card that is no longer valid.  Why is there no way to change the credit card info on ICloud services?

    You change it in iTunes. Go to the iTunes Store. In iTunes 12, click on your name in the toolbar and choose 'Account info'. In previous versions click 'Account' in 'Quick links' on the right. Sign in, and click 'Edit' next to 'Payment information'. Then you can change the card.

  • Dynamic wsdl for web service proxy

    Hi,
    I have generated the Web service proxy client based on wsdl used in dev env,
    if i have to deploy to production, i have to manually change the WSDL url to point to production.
    Is there anyway, I can deploy without changing manually.
    thanks

    thanks all from the prompt replies.
    I still have a query. All i can do is create various WS references in connections.xml and call dynamically. like
    Context ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("MyConnection1"); // here i can make a dynamic call ...
    but this piece of code can work only in UI. what if i need to do the same approach in model from my AM.
    Is there a way ??

  • How to change the attribute of process instance by PAPI web service

    Is it possible to change the value of the attribute of one process instance by PAPI web servcie?
    thanks!

    That information is stored in the table PPROCINSTANCE in the engine database in the column instancedata, it is a blob.
    HTH

  • Load balancing SMA web service and SMA end point URL

    Hi,
    We have set up the recommended 3 servers with Azure Pack, SMA Web Service and Runbook Worker.  We are now wanting to configure the Azure pack portal to setup the SMA endpoint url for the web service.  Before we do that, we are assuming we should
    load balance the web services to answer on 1 url (ie, smaws.domainname.com).
    1. Is there any guidance or things to consider when load balancing the 3 web services to answer to 1 url.  We will probably use f5 since that is what we use.
    2. The end point url that we configure for Azure Pack automation should be this load balanced URL correct?
    3. Should we have the Azure pack installed on just one of the servers or all 3.  We did all 3 but it seems like server2 and 3 just redirect to 1 anyway so I am assuming the URL for Azure pack is stored in a db somewhere.
    4. Are there any other components of SMA/Azure Pack that should also be load balanced?
    Thanks
    Thanks Lance

    So in this case you need to register the SMA Runbook Workers (do this on machine 1):
    $webService
    = "https://localhost"
    $workers
    = (Get-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService).ComputerName
    if($workers
    -isnot [system.array]) {$workers
    = @($workers)}
    $workers
    += "MachineName2"
    $workers += "MachineName3"
    New-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService -ComputerName
    $workers

  • WSDL error during generation of  ABAP proxy for web service

    Hi friends,
    I am getting error during the generation of ABAP proxy object for web service developed in .NET .
    Error : Proxy generation terminated: WSDL error (<extension> not supported).
    How to make this WSDL file compatible  for  ABAP proxy.
    I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
    If any one worked on this. Please help me its urgent.
    Thanks and regards,
    Shivanand.

    HI ,
    I am having the same issue!!!
    Does ABAP Proxy Generation support <extension> ?
    Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
    Thanks

  • Could not generate stub objects for web service invocation in ColdFusion

    I was able to call the services on the development box - windows server without any problem at all, everything was working fine but the moment i uploaded to a linux box production server I get this error. "Could not generate stub objects for web service invocation in ColdFusion"
    What could be the cause of this problem, i have googled a lot but no solution yet any ideas.

    Let me make it simple:
    1. Server A is our development server.- hosted inhouse with coldfusion installed.
    2. Server B is our production server - a linux server with coldfusion installed hosted on the internet
    3. Server C is a third party server containing the webservice - this is a windows server with .net
    coldfusion is installed on Server A, the code works here and can connect to server C without any problem. It gets the required respone
    but when the code was uploaded to server c it gives the error when we run it.
    now i tried just a simple code which works fine on server A below:
    <cfinvoke webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" method="ConversionRate" returnvariable="ConversionRateResult">
        <cfinvokeargument name="FromCurrency" value="EUR" />
        <cfinvokeargument name="ToCurrency" value="USD" />
    </cfinvoke>
    <cfdump var="#ConversionRateResult#" />
    But when i uploaded it to server C: it returns the error
    Cannot generate stub objects for web service invocation.
    Name: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL. java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory) It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors.
    The error occurred in /home/works/public_html/currency.cfm: line 7
    5 :     <cfinvokeargument name="FromCurrency" value="EUR" />
    6 :
    7 :     <cfinvokeargument name="ToCurrency" value="USD" />
    8 :
    9 : </cfinvoke>
    Now if you try the preceeding code on a windows environment  it works fine but the moment you put in the in the linux environment it generates this error
    I feel that the error may actually be :
    java.io.FileNotFoundException: /opt/coldfusion8/stubs/WS728929035/NET/webserviceX/www/Currency.java (No such file or directory)
    but i am clueless as to what to do next
    Ok so I tried the wget command on the linux
    this is what i got
    -bash-3.2# wget http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    --2011-07-02 23:23:42--  http://www.webservicesx.net/CurrencyConvertor.asmx?WDSL
    Resolving www.webservicesx.net... 216.8.179.25
    Connecting to www.webservicesx.net|216.8.179.25|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    2011-07-02 23:23:43 ERROR 403: Forbidden.

  • Why is the program asking for a password to color a PDF. I changed the end to png and it was working and now quit

    I was using PDF from a nonprofit i work for to color with PS Elements. It worked and then no longer allows me to drop files into PS Elements.
    First I download the PDF's ....then I change the end from PDF TO .png and then drag and drop into PS Elements ....color .....
    Then I put the files into DropBox  and send them to iphoto to use in Doceri
    FIrst the error message was about Parse
    Now the message is that I need a password to use the program.
    Friends all over the country can get this to work but it is NOT WORKING. I emptied and redownloaded dropbox.....not the problem.
    We set up a dummy account and still could nto use.

    PSE asks for a password when the file was password protected by whoever created it. You can't really expect decent results if you just change the extension of a file. A PDF is a very different animal than a png file and contains very different information, so it's not surprising your results are poor. That's the sort of thing you may get away with once in a while, but you can't expect to use it as a regular workflow.
    Your whole procedure sounds extremely complicated for no particular good reason, at least as you describe it. It would be simpler to open the pdf in Preview and save a copy as a png if that's the format you need, but saving a pdf as anything other than a pdf will generally create a lousy looking file. I would just leave PSE out of the equation here, since you don't seem to be doing any editing with it.

  • Can I change the center point for a motion scale

    I would like to motion scale an image with the center for the scaling at the bottom of the image, not the center of the image. I tried changing the anchor point numbers, but that moves the photo as well.

    Try setting the Anchor Point - NOT the Center Point. The Ccenter Point is where the center of the image will be; the Anchor Point is the point at which the image is anchored.
    -DH
    Message was edited by: David Harbsmeier

  • Urgent-change the end date for a existing wage type.

    Hi,
    Can u pls let us know how to change the end date for a existing wage type.
    The current end date is 30.8.2008  and we would like to change to 31.12.9999.
    Rgds,

    Use This report RPCLGV00
    The Wage Type Distribution report enables you to display wage types for several payroll periods. It does not take into consideration differences resulting from retroactive payroll. The report shows the current values (number and amount) for each wage type. The report evaluates the payroll records that are marked with update indicator ‘A’ when the report is run. Subsequent reporting runs may not give the same result if - in the intervening period - retroactive payroll has taken place for the evaluation period. The wage type distribution uses the data from the results table RT for the relevant payroll result. The employee’s organizational assignment is also evaluated from the payroll result. This data is taken from the Work Center Basic Pay table (WPBP).
    The wage type distribution offers you the following options for evaluation:
    Individual reporting for a specific personnel number or name.
    Totals evaluation without specifying a personnel number or name.
    You cannot use wage type distribution to run a report for several countries. You can only select payroll areas from one country for reporting.
    Scope of Function
    You use the following parameters to determine how the appearance of the wage type statement:
    Wage type for evaluation
    Enter all wage types that are to be evaluated. If you do not make an entry here, the system selects all wage types. Note that you can only select wage types that occur in the RT table.
    Evaluation start date
    Evaluation start date and evaluation end date define the evaluation period. Enter the year and payroll period for the start of the evaluation.
    Evaluation end date
    This parameter delimits the evaluation period. If you do not make an entry here, only the period from the period from the parameter Evaluation start date is evaluated.

Maybe you are looking for

  • What's the best way to save on a (sort-of) network?

    We are a small town newspaper moving from paste-up to full pagination in InDesign. We have two ladies who design ads. We have an editor who writes copy and several others who type copy and do stuff like obits, etc. For the last zillion years every si

  • How to activate my iphone 4 that is locked at (att) in UAE

    Hi. I have purchased an iphone 4 from att and it's locked,then i decided to go back to the UAE but the phone is locked so i cant use it how can i make it work on UAE Carriers (Etisalat-Du) please help me

  • Blue screen only after leopard install. HELP!!!!

    Here is what I did. I installed Leopard on my MacBook Pro and it booted perfectly. I did the upgrade option so I wouldn't lose my editing and graphics software. I decided to upgrade my Dual 867 MDD, which has a Sonnettech 1.67 processor for mirrored

  • Why do I have a missing file msvcr80.dll all of a sudden?

    I just used iTunes the other day and when I tried to open it today there is an error (7) and windows error 126 and a missing file msvcr80.dll. What is going on?

  • Stop motion queston

    Hoping someone can help. I'd like to try some stop motion animation so I'm wondering if anyone can shed some light on the subject as a whole. And specifically speaking, if anyone knows of an inexpensive usb webcam I can purchase for taking the stills