Publish WebService and Create Alias Name

Dear All,
          I created web service and deployed into WAS sucessfully through WebDynpro. Now i can access that webservice through Dynpro application. I didn't publish on
the UDDI Registry.
          My problem is in future the the Web service URL might be changed into some other server. So without coding change i have to access new web service URL.
     I tried the following way to access _setHTTPDestinationName() method, but i could not see this method.
If try the following way i got only three methods.
1. _setEndPoint()
2. _setPassword()
3. _setUser().
  wdContext.currentRequest_RLCWebServiceViDocument_getRoleElement().modelObject().
Can you anybody help how to publish in UDDI directory and create alias name?.
Advance Thanks,
S.Saravanan.

Hi,
I was also facing the same problem when I was using NWDS 2.0.9. After it was upgraded to SP 15, the issue got solved.
The method _setHTTPDestinationName() for setting the HTTP Destination name to a modelobject is available in the NWDS SP 15. Pls make a try with this version of NWDS and hope this would solve the problem.
Srinivasan T

Similar Messages

  • Creating alias name for Context

    I have a servlet instance name Sample I can access like this
    http://localhost:8080/Sample
    I am going to change the instance name programmatic ally. For example the same instance has to access like this also
    http://localhost:8080/Sample1
    http://localhost:8080/Sample2 etc...
    this something like one instance with multiple names
    what are the steps to do in tomcat side ?? Explain me more clear
    One more question , Inside the tomcat webapps i have a folder & place a WAR in it. while restarting the WAR has to expanded right?
    this is not done, I know why b'coz is in conf folder, server.xml will have appBase 'webapps' unpackWARs = true. How to change the appBase in server.xml through code.
    Thanks in advance,
    Saratha

    I guess you could do that. With 11g Rac you would be able to use SCAN which is a single dns name to access your cluster. But even in 10g you could create additional names for your vips if you like those names better.
    Bjoern

  • Move files and create unique name something wrong with my script

    Can you see where I might be going wrong here?
    Just trying to create a unique name if something exists.
    In English.
    Move file to the destinationFolder
    Item exists in destinationFolder > Move file in the destination folder to the fake Trash > If it exists in fakeTrash too then give it a new name an ending of_a.psd then out it in the trash
    Once thats done move start file to the destination folder.
    Currently when the file exists in the destination folder and in the trash, I get the prompt then the error
    error "System Events got an error: Can’t get disk item \"NN_FR10WW06290PK3LE.psd\"." number -1728 from disk item "NN_FR10WW06290PK3LE.psd"
    set fileMatrix to {¬
              {folderName:"BHS", prefixes:{"BH", "SM", "AL"}}, ¬
              {folderName:"Bu", prefixes:{"BU"}}, ¬
              {folderName:"Da", prefixes:{"ES"}}, ¬
              {folderName:"Di", prefixes:{"DV"}}, ¬
              {folderName:"Do", prefixes:{"DJ", "RA"}}, ¬
              {folderName:"In", prefixes:{"GT", "CC"}}, ¬
              {folderName:"Fr", prefixes:{"FR"}}, ¬
              {folderName:"No", prefixes:{"NN"}}, ¬
              {folderName:"Ma", prefixes:{"MA", "MF", "FI", "MC", "MH", "MB"}}, ¬
              {folderName:"Pr", prefixes:{"PR"}}, ¬
              {folderName:"To", prefixes:{"TM15", "TM11", "TM17"}}, ¬
              {folderName:"Wa", prefixes:{"WA"}}, ¬
              {folderName:"Se", prefixes:{"SE"}}}
    tell application "Finder"
              set theHotFolder to folder "Hal 9000:Users:matthew:Pictures:HotFolderDone"
              set foldericon to folder "Hal 9000:Users:matthew:Pictures:Icons:Rejected Folder Done"
              set fakeTrash to folder "Hal 9000:Users:matthew:FakeTrash"
      ---here
              repeat with matrixItem in fileMatrix -- look for folder
                        set destinationFolder to (folders of desktop whose name starts with folderName of matrixItem)
                        if destinationFolder is not {} then -- found one
                                  set destinationFolder to first item of destinationFolder -- only one destination
                                  set theFolderName to name of destinationFolder
                                  repeat with aPrefix in prefixes of matrixItem -- look for files
                                            set theFiles to (files of theHotFolder whose namestarts with aPrefix) as alias list
                                            if theFiles is not {} then repeat with startFile intheFiles -- move files
                                                      try
      move startFile to destinationFolder
                                                      on error
      activate
                                                                display dialog "File “" & (name ofstartFile) & "” already exists in folder “" & theFolderName & "”. Do you want to replace it?"buttons {"Don't replace", "Replace"} default button 2 with icon 1
                                                                if button returned of result is "Stop"then
                                                                          if (count theLastFolder) is 0 thendelete theLastFolder
                                                                          return
                                                                else if button returned of result is"Replace" then
                                                                          set fileName to get name ofstartFile
                                                                          if exists file fileName indestinationFolder then ¬
                                                                                    try
      --next line moves existing file to the faketrash
      move file fileName of destinationFolder to fakeTrash
      move file startFile to destinationFolder
      --if it already exists in fake trash give it a new name then move that file to fake trash
                                                                                    on error errmess numbererrnum -- oops (should probably check for a specific error number)
                                                                                               log "Error " & errnum& " moving file: " &errmess
                                                                                               set newName to mygetUniqueName(fileName,fakeTrash)
                                                                                               set name of fileNameto "this is a unique name"-- or whatever
                                                                                               set name of fileNameto newName
      --Now move the renamed file to the fake trash
      move file fileName to fakeTrash
      --now move the startfile to destination folder
      move file startFile to destinationFolder
                                                                                    end try
                                                                else -- "Don't replace"
                                                                          if not (exists folder "Hal 9000:Users:matthew:Desktop:Rejected Folder Done") then
                                                                                    set theLastFolder toduplicate foldericonto desktop
                                                                          else
                                                                                    set theLastFolder to folder"Hal 9000:Users:matthew:Desktop:Rejected Folder Done"
                                                                          end if
                                                                          delay 0.5
      move startFile to theLastFolder with replacing
                                                                end if
                                                      end try
                                            end repeat
                                  end repeat
                        end if
              end repeat
              try
                        if (count theLastFolder) is 0 then delete theLastFolder
              end try
    end tell
    to getUniqueName(someFile, someFolder)
         check if someFile exists in someFolder, creating a new unique file name (if needed) by adding a suffix
              parameters -          someFile [mixed]: a source file path
                                  someFolder [mixed]: a folder to check
              returns [list]:          a unique file name and extension
              set {counter, suffixes, divider} to {0, "abcdefghijklmnopqrstuvwxyz", "_"}
              set someFile to someFile as text -- System Events will use both Finder and POSIX text
              tell application "System Events" to tell disk item someFile to set{theName, theExtension} to {name, name extension}
              if theExtension is not "" then set theExtension to "." & theExtension
              set theName to text 1 thru -((length of theExtension) + 1) of theName -- just the name part
              set newName to theName & theExtension
              tell application "System Events" to tell (get name of files of folder(someFolder as text))
                        repeat while it contains newName
                                  set counter to counter + 1 -- hopefully there aren't more than 26 duplicates (numbers are easier)
                                  set newName to theName & divider & (item counter ofsuffixes) & theExtension
                        end repeat
              end tell
              return newName
    end getUniqueName

    There are numerous errors in your script, and it's a large script so there might be more, but these are the standouts for me:
    At line 48 you:
                                                                          set fileName to get name of startFile
    which is fair enough - you then use this to see if the file already exists in the destinationFolder. However, if it does the logic about how to deal with that is flawed.
    At line 56 you catch the error:
                                                                                    on error errmess number errnum -- oops (should probably check for a specific error number)
                                                                                              log "Error " & errnum & " moving file: " & errmess
                                                                                              set newName to my getUniqueName(fileName, fakeTrash)
                                                                                              set name of fileName to "this is a unique name" -- or whatever
                                                                                              set name of fileName to newName
      --Now move the renamed file to the fake trash
      move file fileName to fakeTrash
      --now move the startfile to destination folder
      move file startFile to destinationFolder
                                                                                    end try
    so let's focus on that.
    56: catch the error
    57: log the error
    58: generate a new unique filename
    59: change the name of fileName to some other string
    Hang on, wait a minute.... we already ascertained that at line 48 you defined fileName as a string object that indicates the name of the file. This is just a string. It's no longer associated with the original file... it's just a list of characters. Consequently you cannot set the 'name' of a string, hence your script is doomed to fail.
    Instead, what I think you want to do is set the name of the startFile to the unique string. Files have filenames, and therefore you can set the name.
    You have a similar problem on line 64 where you try to 'move file filename to fakeTrash'. fileName is just a string of characters. It isn't enough to identify a file - let's say the file name is 'some.psd'. You're asking AppleScript to move file some.psd to the trash. The question is which some.psd? The one on the desktop? in your home directory? maybe on the root of the volume? or maybe it should search your drive to find any/all files with that name? nope. None of the above. You can't just reference a file by name without identifying where that file is. So you probably want to 'move file fileName of destinationFolder...'
    There may be other problems, but they're likely to be related - all issues with object classes (e.g. files vs. strings), or not being specific about which object you want.
    As I said before, though, I might be way off - you don't say where the error is triggered to make it easy to narrow down the problem. Usually AppleScript will highlight the line that triggered an error. Knowing what that line is would help a lot.

  • Documentation on SAP Published WebServices and Troubleshooting

    hi,
    Just curious to know where is the documentation on what each  WebService published on FT2 does, about the input parameters, about the output response and the error codes, exceptions thrown ?
    For example if there is an input parameter SystemAccountUserID what does it mean (employee id or user login id...etc..?)
    I am also curious to know if there are any troubleshooting  recommendations, best practices.
    Thanks
    Kiran

    Hi,
    You can download it from service market place.
    www.service.sap.com
    and the link to the doc is below
    [https://websmp210.sap-ag.de/sapdownload/011000358700000469462006E/SAP_ISA50_DevAndExtGuide.pdf|https://websmp210.sap-ag.de/sapdownload/011000358700000469462006E/SAP_ISA50_DevAndExtGuide.pdf]
    Regards,
    Sateesh Chandra

  • How to extract member, default alias and custom alias into separate columns

    Hi,
    is there a way to get simultaneously member name, default alias name and custom alias name with Essbase 9x report scripts (Report Writer)?
    I do know that using for example
    <OUTALTSELECT "default or custom alias table"
    <REPMBRALIAS "dimension"
    I can get both the real member name and selected alias table, but the problem is that they're both returned to same column.
    Using fix columns and order I can repeat member name into several columns if needed, but I would need to tell what to put for each column.
    For example : { ORDER 0,0,0,1,2,3,4,5 FIXCOLUMNS 8 }
    I would like to force the report script to put Member name into first column in row, default alias name of member into second column in row and custom alias name of member into third column in row, like :
    MEMBERNAME DEFAULTALIASNAME CUSTOMALIASNAME
    Any ideas how to handle this?
    I can of course create several extracts containing one sort of info per list, but it would make life somewhat easier having all of these in same extract.
    Thanks in advance!
    Br,
    MK

    Hi,
    well, that's pretty much what I want to achieve, to get all info of member within same row, but into separate columns.
    The other option is to then produce 2 other extracts containing:
    Extract 1:
    MEMBERNAME DEFAULTALIASNAME
    and
    Extract 2:
    MEMBERNAME CUSTOMALIASNAME
    These values should be in separate columns?
    I think I lost the track while playing around with report writer, does anyone have a ready made solution for this?
    <REPMBRALIAS brings the needed info, but returns the values into same column.
    Empty space delimiter could be handled with customalias table, but in this case default alias name may have long text with several empty spaces making it hard to sort in the other system side.
    Any suggestions?
    Thanks so far for your kind help.
    Br,
    MK

  • Using alias name from view

    Can I create somehow a view like this one:
    CREATE VIEW clerk_view AS
       SELECT employee_id as ei, last_name as ln, department_id as di
       FROM employees
       WHERE job_id = 'PU_CLERK' ;and using this view with aliases, e.g.:
    select * from clerk_view where ln = 'Mickey';
    My Oracle database version is 11.2.0.3
    Best.

    Hi,
    lesak wrote:
    So can you tell me what I'm missing in above CREATE statement? Sorry, no, not without knowing exactly what you're doing. That's why you need to post a complete test script that people can run to re-create the problem. Except for the identifier LN, there's nothing wrong with the code you posted per se , but there could be millions of things wrong with how how you're trying to use it. Even if I could post millions of suggestions, you wouldn';t want to read them all, just to fond the one or two that apply to your case. So way exactly what your case is. Post a complete test script that creates and populates the table (if necessay), calls the view, tries to use the view, and gets the error.
    When I create view in the same way in production and use alias name, I've got following error: ORA-00904. Not everyone who wants to help you has all the error codes memorized. That's why you should post the complete error message.
    So Oracle don't know that my employee_id or other column have also alias name?!Sure, it will know the alias name. That's exactly what aliases are for.

  • Accessing BI Publisher webservices

    Hi All,
    We need to create a client for BI publisher Webservice. Can please post the sample program which connect to BI Publisher Webservice and give the response.
    Thanks in advance

    Here is the answer to your question:
    http://bipconsulting.blogspot.com/2010/04/how-to-use-bi-publisher-web-service.html
    Please grant the points and close this thread
    thanks
    Jorge

  • JDBC Url for connecting SQL Server Alias name

    Hi All,
    I am having a SqlServer Databse Instance for that we have created "alias name".
    i am unable to connect to that particular alias name.
    please can any one though light on this plz.
    Edited by: mahesh512 on Jun 17, 2009 6:48 PM

    If i am geussing right, you mean that you have created a TNS Name for your Database Server.
    If you are accessing it from your DB Client via the TNS name, maybe the CLient is configured to contact a TNS Server to retrieve the IP if the server.
    Your JDBC Driver does not do that. Either use the IP of the DB Server or provide a Source for the Driver to look up the IP via the TNS Name.
    How this is accomplished deplends on your Database.

  • Email workflow showing domain and alias and not the name in the email

    I created an email workflow for a specific user field value to receive an email on a trigger event.
    However, the email received shows the DOMAIN/Alias and not the "Name" in the email content.
    How to correct this error? Not sure where is the issue is.
    Sample:
    Hello [%Current Item: Reviewer%] is the greeting line.
    If Reviewer is say Domain A/v-abcd and Name is Abcd.
    The email reads
    "Hello Domain A/v-abcd" and not "Hello Abcd"

    Hi,
    Just select "Display Name" instead of "Login Name" in the "Return field as" field of Lookup dialog.
    It should help.
    Regards Michael (http://sp2013-blog.com)
    Please, don't forget to upvote and mark as an answer if appropriate

  • Create webservices and deploy

    Dear Gurus,
    I had followed the below steps in creating webservices using ABAP.
    1. Create Package
    2. Create Function group
    3. Create RFC function module
    4. Create webservice from the function module
    5. Create service definition, select port profie and deploy service and assign to Package and transport request
    6. Executed SOAMANAGER transaction , it opens  a webpage with internet explorer defaul web page and I dont see any SOA administration related information and I dont have any clue how to proceed further.
    Please let me know if I there is any prerequisities Like SP to be installed, or any configuration / settings needs to be done.
    I am workign in SAP ECC 6.0 (SAP version 700)
    Thanks in advance.
    Thanks
    Shanthi

    Hi,
    The steps are
    1. In start menu --> Run --> type Drivers and press enter
    2. In that select the folder etc
    3. Then open the file hosts in notepad
    4. In the hosts file add your server ip and the domain name and save it.
    5. Then in internet explorer click tools --> internet options --> connections --> lan settings ---> advanced and add the domain there also.
    it will work fine
          For this get the assist from your system Admin.

  • ORA-15124: ASM file name contain invalid alias name after creating standby

    OS level: redhat 5
    db version: 11gr2
    I just created a standby using rman duplicate from active database and the rman duplicate ran successful.
    Then I modified parameter files on standby to include the current controlfile and try to start the db as mounted, I got following error:
    SQL> startup mount;
    ORA-15124: ASM file name '+DAT/prds/controlfile/current.913.794712357, +FRA/prds/controlfile/current.5616.794712357' contains an invalid alias name
    SQL> exit
    I could not figure out what went wrong here.
    Those are two most current controlfile created during duplicate of db.
    I double checked everythng, everything else seems working.
    What should I look at now?
    Thanks for help as always.

    SQL> startup mount;
    ORA-15124: ASM file name '+DAT/prds/controlfile/current.913.794712357, +FRA/prds/controlfile/current.5616.794712357' contains an invalid alias name
    SQL> exit
    The parameter control_files in pfile/spfile should have value as '+DAT/prds/controlfile/current.913.794712357','+FRA/prds/controlfile/current.5616.794712357'
    It looks like you have missed out the adding quotes to each controlfile path and you have specified both the files under one quote.
    *ORA-15124: ASM file name '+DAT/prds/controlfile/current.913.794712357, +FRA/prds/controlfile/current.5616.794712357'*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Publish Service and Collection Names

    I am creating a publish service and need some information on the naming of publish collections.
    I want to prevent the user from naming the collections anything but the name that is on the server. This needs to happen even on creation.
    I know I can prevent the renaming by setting disableRenamePublishedCollection = false, but that does not help on the creation.
    The best way to do this would to prevent the user from entering a name when they are creating a collection, I have yet to see a way to do this.
    If not then need to set the name of the collection to the name that is on the server. I have tried this with no luck. http://forums.adobe.com/thread/662683?tstart=60
    I cannot get the name of the collection to change right after it is created. It may change for a second then goes right back.
    Anyone have any suggestions?
    I thought of maybe making a thread that would wait a time then rename the collection, but I am lost on how to do that.

    I don't know if this will help, but:
    the catalog:withWriteAccessDo function creates an SQL transaction, and if any error occurs before that function returns the catalog changes are rolled back. Also, no changes take place until that function returns successfully. So try code like:
    local sts = LrTasks.pcall( cat.withWriteAccessDo, cat, ..., function()
         change name
    end )
    then check the status...
    If the status is good, but the name isn't sticking, then I don't have a clue...
    Rob

  • Ip address and port from alias name

    Is there any java api which will give the ip and port no of the oracle server ?I have created the java.sql.Connection object using the alias name given in tnsnames.ora file.
    Thanks.
    --sathya.                                                                                                                                                                                                                                                                                                                                                                                                   

    No. The way to get that information is to go to the database administrator and ask.

  • Firefox will not open and my profile name changes, after I creat a new profile it works until I try to open again

    Firefox version 16.0.2 was working I have used FF for years. A few days ago it started to run very slow opening web sites. Then this morning when I tried to open it I saw a progress bar that looked like the kind I see after an update has been applied but FF never opened.
    I rebooted my windows 7 64 bit and tried again, nothing FF would not open and I got no error message.
    So I opened the profile manager and only found a default profile not the one I created last year with my name. I created a new profile and browsed to my old profile folder. FF opened and ran fine until I closed it and later tried to open it again then I kept getting an error box telling me that FF had crashed and asked if I wanted to send a report and restart, I did but no good it still would not open.
    I ran the profile manager again and found my profile had changed name to a bunch of numbers. I delete that profile but kept the folder then made a new one and that worked. I shut it down again and once again I get the We're sorry error box.
    By the way I had set the profile manager to open when FF loads and it is not opening so the problem is before it gets to that command.

    First I already have my view set to show everything so that is not the problem.
    But I just tried opening "Computer" from the start button then type in profiles.ini in the address bar and hit enter. The profile manager opened with my profile listed. I selected it and hit start firefox and it opened as it should.
    I closed it again and tried to open it from the shortcut in my task bar and I got the Sorry window.
    But then I tried to open it from the short cut you get when you press the start button and program list and it work!
    I went back to my desk top and tried the short cut on the desk top and it worked.
    So I deleted the short cut on the task bar and created a new one and it worked.
    I rebooted the computer and tried again and the task bar shortcut works and has the right profile.
    So it seems that the problem is that the short cut was corrupted and was causing the error that caused the program to fail to open.
    I had no idea a shortcut could do that. In the past I have had short cut stop working but never do what this one did.
    I still have no idea where the profiles.ini is.

  • HT1386 How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    Yes, I do have multiple devices and it appeared to me that every time I tried to sync or log onto iTunes, the password was incorrect.  Consequently, I was and am constantly changing it.  Wouldn't it be nice if Apple would simply say that you only need one Apple ID and one password regardless of the number of Apple devices you intend to sync via iTunes. 
    Barring the above, how about a way to merge all of the Apple IDs and passwords into one.

Maybe you are looking for

  • Some programs crash but not in safe mode or for guest user

    Hoping that some talented and kind Mac wizard will help me solve a bizarre problem: Some but not all of my programs have started crashing immediately upon launch, but not in safe mode, nor when I log in as a guest user. The problem began on February

  • Can I create a new document with a locked PDF file, add new pages, and lock it all again?

    I published a PDF document ten years ago and now want to add Creative Commons licensing language to the copyright page.  But I forgot the password!  I gather from the Forum that there is no way to recover the password.  However, I wonder if I can tak

  • SQL LIKE statement help

    Hi all, I want to select all values from prps-usr00 where the field contains XXX-XXXX...where X is any letter or number. How in the world do I do that? Thanks, Mat

  • Adobe flash player 10.1.102.64 not working in opera 11

    hi    i am using IE and opera 11. for IE flash player 10.1.102.64  is working in the youtube..... but    while using OPERA 11its not working? pls feel free to reply me: what i was done is. 1.i disable antivirus 2.select my operating system and bowers

  • PO's that have multiple deliveries?

    What's the best practice for managing deliveries for PO's? What I'm trying to figure out is how to best keep track of partial shipments of PO's.  Example would be we have ordered 100 pieces but the vendor can only ship 50 pieces on it's initial shipm