Two URLs for same WS

Hi everyone! I've created a function and I've published it like web service... Now, i see the WS in SE80 (Service Definition --> WSDL tab) and i get URL and WSDL (by example: http://hostname:8000/sap/bc/srt/wsdl/sdef_ZFUNCTIO_001/wsdl11/ws_policy/document?sap-client=100 ).
Then, i go to SOAMANAGER, and i get another URL (with a little distinct WSDL: http://hostname:8000/sap/bc/srt/wsdl/bndg_E0DE487057B0E7F1A58C005056900046/wsdl11/allinone/ws_policy/document?sap-client=100 ). If i put these in Explorer, both open correctly...
Why there're two URLs for same WS? Wich is correct?
Thanks!!

Hi,
say for example
your one URL is
x.hostname:portno/irj/1stURL
and the second URL is
x.hostname:portno/irj/2ndURL
and maintain two umLogonPagedefault.jsp with names,
umLogonPage1stURL.jsp and umLogonPage2ndURL.jsp and do the necessary coding you want inside the JSPs.
Now, umLogonPage.JSP is the JSP file responsible for determinig your portal URL to open when user wants to enter into portal. So Open that JSP(umLogonPage.JSP) and do like this:::
<%
String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString() ;
%>
<%
if ( strReqURL != null && strReqURL.endsWith("/1stURL"))     
%>
     <%@ include file="umLogonPage1stURL.jsp"%>
<%
else if ( strReqURL != null && strReqURL.endsWith("/2nuURL"))
%>
<%@ include file="umLogonPage2ndURL.jsp"%>
<%
%>
Regards,
Srinivas.

Similar Messages

  • Two urls for portal

    Hi,
    1.Can anybody tell me how to configure two urls for portal?
    2. How can I configure SSL certificates for both the urls?
    our main aim is to have 2 urls one with Kerberos and one with non kerberos.  want to define two urls for these two and want to install SSL certificates. Please help me.
    Thanks
    karunakar.M

    Hi,
    Blog: Using certificates with the SAP NetWeaver Portal
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    Microsoft: http://support.microsoft.com/kb/931351
    br,
    Tobias

  • Vendor payment made two times for same DC no

    dear expert,
    This urgent tickets,
    my CLIENT PAID TWO TIMES (MIGO,MIRO done)against same vendor,for same DC no ,in one year ? i want that list ,how can i find out?
    thanks

    Dear As far as my knowledge is concerned it isn't possible.
    How can u Paid 2 times against a GR for which IV has been done.

  • Two different retrieval results on two spreadsheets for same account

    I am encountering some very bizarre retrieval behavior that I've never seen before. The version is 11.1.1.3. I have a dynamically calculated account, which produces a Contract-to-date value for Net Sales.
    The formula is:
    IF(@ISMBR("Jan"))
    @MDSHIFT("CTD Sales", 24, "Period", , -1, "Years", ) + "Net Sales";
    ELSE
    @PRIOR("CTD Sales") + "Net Sales";
    It's always worked correctly as far as I can determine. I took a copy of the outline and put it in my dev system and have been working on some other development. In testing, I noticed that my CTD Sales wasn't retrieving the correct number. This is on a spreadsheet with multiple other accounts on it. It works fine up through FY12, then in January of FY13 and thereafter, produces incorrect numbers, with no apparent pattern of error. So I put just the Net Sales and CTD Sales members onto another spreadsheet, without all of the other stuff, and retrieved that, and it produced the correct numbers. It's not a matter of having a spreadsheet formula in the retrieval spot that I've forgotten about (I've done that before). I also copied the spreadsheet with the wrong numbers, and retrieved in Smart View (was retrieving in Essbase add-in before), and got the same wrong numbers.
    In addition, I actually have three dynamically calculated CTD accounts on the sheet, and the bizarre behavior is happening for all three. With all of the other accounts on the sheet, wrong numbers. With only those accounts on the sheet, correct numbers.
    Also, for more information, one of my calculation scripts uses these CTD members, and it is producing the correct result, so this appears to be isolated purely to spreadsheet retrieval.
    So how can the same exact dimension intersection produce two different numbers on two different spreadsheets? Why would having other account members on a spreadsheet affect the results of one of the accounts? Has anyone ever encountered this before?
    Sabrina

    are you sure you have same combinations from rest of dimensions in both spreadsheets...like retrieving for same month ???Absolutely, 100% sure.
    Also does the difference exists for all months retrieval or only for Jan retrieval?It starts in January and the difference continues for the rest of the months/years after. The amount it's off by changes each year, but remains the same for each month in the year. So Jan through Dec of FY13 are all off by 50,321,000. Jan through Dec of FY14 are all off by 186,378,000. Jan through Dec of FY15 are all off by 351,757,000.
    Also note that if you have a retrieval as shown in the screenshot in the following link... for the last 5 months (AUG to DEC) under FY11 will actually retreive for FY12. this is a wierd behaviour.No, I have the year above each month.
    Sabrina
    Edited by: SabrinaD on Aug 3, 2010 12:31 PM

  • Help required: Two smartforms for same output type?

    Dear All,
    I have a requirement to display bill of lading for a shipment.
    The shipment usually contains two kinds of materials.
    The data to be displayed for the first set of materials data is different from what is
    displayed for the second set/kind of materials. The layout(columns and structure) is entirely
    different. But the user wants to see the two sets of data in two pages, (for the same output type).
    But, from what I know, we can only associate one smartform to an output type.
    Any inputs.
    Thanks.

    Hi
    V/30, just check your output type, if you click on form and routines there is option assigning multiple programs and forms (i,e, Upto 5).
    Have not tried it , you can try and let us know your feedback
    Regards
    Jitesh

  • Delevery Qty. not avalable in case having two customer for same item

    Hi Experts
    I am facing a problem , delivery qty. not available in VL01N in case where I have two sales order for the same item . There are two customer for the same item. Material is available in unrestricted use but it does not show against one sales order but show in second order. I have  01 availability check, SL-CP and Rq Ty -KSL. Please guide how to solve this problem.
    Regards
    Parkash chand

    hi,
    Steps 1: Use T-Code: MM03 and check in MRP 3 Material Availability check = 02 or not.
    Steps 2: if your sales order material planning CN= No MRP then
    First check: during sales creation Sales Order Autometically check ATP or not. here Sales Order, Order Qty wise Confirmed Confirm Qty reservation by ATP.
    ATP will shown you how many qty reservation against a sales order for delivery.
    Two sales order, same customer does not fact, fact is sales order wise confirm qty reservation for delivery. Also check material available date and schedule line. if every this is fine then sales order qty wise must be delivery qty should be open for delivery.
    else
    your sales order material planning CP= MRP then make prodcution against the specific sales order then sales order wise seperate stock should available for delivery.
    thanks
    Md. Enayet Hossain

  • How to assign two url for a single picture?

    I have a picture and put it into sprite,like follows:
       var loader:Loader=new Loader();
       addChild(loader);  
       loader.load(new URLRequest("logo.jpg"));
    At the right top of logo.jpg,and there are two word location in the logo.jpg,one is 'home' and another is 'about us',I want to add two url on 'home' and 'about us',how to do it?
    Thanks

    add your loader to a sprite or movieclip and, after loading is complete, add two transparent children to overlay your words.  add listeners to your transparent children.

  • Two Urls for the same portal server

    Hi,
    I have to access the same portal server for the two diffent url links.
    This is required for me to have two different logon pages for the portal for completely different urls.
    Please share your ideas here!
    Ram

    Hi,
    say for example
    your one URL is
    x.hostname:portno/irj/1stURL
    and the second URL is
    x.hostname:portno/irj/2ndURL
    and maintain two umLogonPagedefault.jsp with names,
    umLogonPage1stURL.jsp and umLogonPage2ndURL.jsp and do the necessary coding you want inside the JSPs.
    Now, umLogonPage.JSP is the JSP file responsible for determinig your portal URL to open when user wants to enter into portal. So Open that JSP(umLogonPage.JSP) and do like this:::
    <%
    String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString() ;
    %>
    <%
    if ( strReqURL != null && strReqURL.endsWith("/1stURL"))     
    %>
         <%@ include file="umLogonPage1stURL.jsp"%>
    <%
    else if ( strReqURL != null && strReqURL.endsWith("/2nuURL"))
    %>
    <%@ include file="umLogonPage2ndURL.jsp"%>
    <%
    %>
    Regards,
    Srinivas.

  • How compare two URLs for equality if one uses jar protocol?

    I'm trying to see if some URLs are referring to the same jar file but some of them come with the prepend/append of "jar:file:/" and "!/" and some are just as "file:/". So when I call "URL.equals(...)", it returns false. How do I properly compare these two?
    //Returns false, even though both can be used to find the jar file
    new URL( "jar:file:/home/me/tmp.jar!/" ).equals( new URL( "file:/home/me/tmp.jar" ) );

    The URL with the leading "jar:" and trailing "!/" is a JAR URL. It's described in the JarURLConnection class API document.
    This is one way (there any be a simpler one). You will have to figure out whether you're working with a jar URL or a "regular" URL by parsing the URL to figure out which kind it is. One diffrence is the leading "jar"
    import java.io.IOException;
    import java.net.JarURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class Xy
        public static void main(String[] args)
            throws MalformedURLException, IOException
            URL fileURL =
                new URL("file:/Program Files/Java/jre6/lib/deploy.jar");
            URL jarURL =
                new URL("jar:file:/Program Files/Java/jre6/lib/deploy.jar!/");
            String fURL = fileURL.toString();
            System.out.println("fileURL: " + fURL);
            String jURL = ((JarURLConnection) jarURL.openConnection()).
                getJarFileURL().toString();
            System.out.println("jarURL: " + jURL);
            if (fURL.equals(jURL))
                System.out.println("They are equivalent");
    }

  • Creating two layouts for same document

    I have a document to produce in CS5 that I am hoping to can have two different layouts. The first is 8.5 x 11 that is to be saved as a PDF for customers to access and print from our website. The second goes to a printer where it is to be produced as a double-folded, two sided, single sheet. The folded document has six pages total that is to be put into a binder. The foldable version has three pages to a side. How do I best accomplish this?
    Any suggestions?

    Eugene is 100% right when he tells you to design for print, first. However, I would use a slightly different tactic:
    1) Design for print on letterhalf-sized pages.
    2) Make sure that your entire document is one big story with threaded text frames.
    3) Make sure that your entire document is perfectly styled with character and paragraph styles. No overrides anywhere in the whole document.
    4) Export an RTF of your text.
    5) Place that RTF in your 8.5 x 11 layout.
    6) That layout has styles with the same names, but the font sizes etc. might be different. So, when you place it, the same text will automagically acquire the styles for your web-distro PDF.
    I'd do that because I would expect that placing the letterhalf pages in full letter-size pages for PDF export could be kind of annoying with wrong or different margins, lack of availabilty to manipulate hyperlinks, and etc. Much depends on what you need from your PDFs to be distributed on the web - links? Different graphics? Graphics in different places? In many (most) cases, Eugene's plan is a lot less work than mine.

  • Batch is being Generate two Record for Same Vendor in Payable

    Gusy, (Oracle Payable)
    We have entered six validate invoice with same site,vendor,Payment mod and currency as well but when we see batch in payment window ,it is being show two record insted of one transaction ,howerver system should show one record.
    Please help me to rectify this problem or any solution.
    Thanks in advance.

    Please confirm if you are on version 12.0.4 and the vendor is an employee type supplier. We had faced similar issue in the provided condition.
    Vinit

  • Can we generate two invoice  for same product in two different currency

    dear all gurus,
    actually we are in export sales
    so we are generating export invoice.
    my client is asking for another invoice in INR too this is called comercila invoice
    with this i ve to generate the ARE form
    so how to do this three things
    1.export invoice in foreign currency
    2.commercial invoice in INR
    3.ARE form with referance to this export sales
    with regards
    subrat

    Hi Subrat,
    I really dont know how this scenario can be handled.
    2invoices for the same order is not allowed legally also. So if the user is asking for it, may be first they need to discuss this with their legal department.
    If they say ok, then you may think of only an output, where you can change the values with a standard exchange etc. But having 2invoices in the system of different currencies for a single sales order will lead to lot of problems in reporting.
    Can somebody throw some light on this, on how to enable this without any problems.

  • Run Dreamweaver cs3 on two computers for same website?

    Hi,
    I just purchased a 2nd computer and I want to move/add Dreamweaver to that. My goal is to really use the computer I have now as a "backup" and the new one as the one I work on my site with. But I'd like to be able to update the "backup" computer so that both have the same info. updated daily or at all times. Is this hard to do? Possible?
    Also, one way or the other, what is the best way for me to move Dreamweaver and my website folder to the new computer. Do I install Dreamweaver with the original disk then move the files later. Any tips on best way to transfer so many files?
    Sorry question so long.
    Thanks much.
    Ken

    I didn't really think that was info. you would need. But if it matters...
    old computer Windows Home premium, 32 bit
    New computer Windows 7, 64 bit
    Do you need any other info.?
    Thanks

  • Two logins for same site

    I have saved the password and login of a site into my keychain, however i have other logins and passwords for the same site. How can i make it access these?
    I've tried adding them to the keychain, with keychain access, but it still only seems to use the first one that i added via safari.

    You originally purchased a monthly Plan.
    It is just that - monthly.
    It is not possible to add more minutes to your Plan until the first month has expired.
    You can ask Customer Support if they will consider a refund.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Two events for same workflow

    Hi Friends,
    I needs to develop a workflow. In my workflow i have to send email notification when it is relesed as well as if user will change the PO after finally released  i need to send email notification for change also. 
    i.e : 1. email notification for PO aprroval
          2. after finally approve the PO if they change again i have   to send mail. In future also if they change   released PO i have to send mail again.
    Is this possible in one workflow OR i have to create 2 workflows.
    Thanks,
    NK

    Hi Naresh  ,
    Yes you can do this within the same workflow . Just add an entry in the transaction SWEC for change event of your object .
    Here are the steps :
    Click New Entry.
    Give Change doc object .
    Object type as your  object .
    Event as your event name which you created..
    Select Change radio button .
    Save.

Maybe you are looking for

  • Improving the 2013 Macbook Air i7 battery life

    Hi I've checked couple of topics related to this issue seems many people suffer from this problem, i7 8gb ram with 512gb ssd Macbook air has some issues with its battery life it reduced very quickly. I've applied some techniques -like smc reset,delet

  • Now that I upgraded to Lion, my photoshop CS5 is not working.  Does anyone know what to do about this?

    It keeps saying I need to download Java but I'm not connected to the internet.  I upgraded Java from the apple website but it's still not working. 

  • Office mac 2011 won't install

    purchased office mac 2011 for mac desktop.  office keeps telling us it's not a valid product code.  already tried going into preferences and deleting this com.microsoft.office.licensing.plist.  STILL won't recognize the key code

  • HP mini 110-1000 password reset

    I have an HP Mini110-1000 that has a missing BIOS password. After three attempts the error reported is CNU94183RQ. Any suggestions on how to adjust the time and date in the BIOS. Also I'm interested in upgrading the A-Data 8gb SSD to a larger unit. A

  • Re-installation Mac OS X original discs (ver. 10.4.6)

    Hi there, I was trying to load the new Mac Office 08 when I realised I totally forgot my password (I'm the 'administrator'). After several attempts, I thought if I reinstalled Mac OS then I could reset my password and then load Office again. I had st