Clientgen for password protected WSDL

Hi,
I am trying to invoke an SAP web service. But I am not able to run the clientgen ANT task since the WSDL is password protected. This used to run earlier without any problem when it was public. Please help. Here is the error:
[clientgen] <Aug 8, 2006 2:17:48 PM EDT> <Info> <WebService> <BEA-220094> <An IOException
was thrown trying to access the WSDL at the given URL.>
[clientgen] <Aug 8, 2006 2:17:49 PM EDT> <Info> <WebService> <BEA-220034> <A stack trace a
ssociated with message 220094 follows:
[clientgen] java.io.IOException: Server returned HTTP response code: 401 for URL: http://p
rh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER
[clientgen] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
onFactory.java:113)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
ClientGenImpl.java:396)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
va:340)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
tGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
Task.java:208)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
ner.java:423)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
nner.java:137)
[clientgen] >
[clientgen] weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL fr
om http://prh458.pr.us.pri.com:8094/sap/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSF
ER. Please check the URL and make sure that it is a valid XML file [java.io.IOException: S
erver returned HTTP response code: 401 for URL: http://prh458.pr.us.pri.com:8094/sap
/bc/soap/wsdl11?services=ZELS_DOCUMENT_TRANSFER]
[clientgen] at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(Definiti
onFactory.java:153)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(
ClientGenImpl.java:396)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.ja
va:340)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(Clien
tGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGen
Task.java:208)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRun
ner.java:423)
[clientgen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRu
nner.java:137)

You can try to open the documents with a password that is guaranteed to be wrong, i.e. a password that isn't used for any of the documents. If the document has no password, Word will open it without complaining - it only checks the password if the document
is password-protected. If the document does have a password, error 5408 will occur, and you can trap this error with an error handler. For example, with a variable doc of type Document and a variable strPath of type String that contains the full path of a
document:
On Error Resume Next
Set doc = Documents.Open(FileName:=strPath, PasswordDocument:="!@#$%")
If Err = 0 Then ' no error occurred
' Process the document
' And close it
doc.Close SaveChanges:=True ' or False
End If
Regards, Hans Vogelaar (http://www.eileenslounge.com)

Similar Messages

  • What APPS are folks using for password protection?

    What are folks using for password protection?

    Miss Dee wrote:
    I'm looking for a way to save all my passwords to one place and then going to that place and pulling out the password I need. I have so many passwords, I just can't remember them. I thought that having the keychain would allow someone to sign in as me and then get the password.
    Does this make sense to you?
    Sorry, it isn't entirely clear to me, lets see if I understand correctly…
    The 'anyone can see my passwords when my account is logged in' issue is resolved by having a different password on the keychain compared to the user account, but it can make life frustrating to enter the password time after time, but security does conflict with convenience.
    Open up Keychain Access & take a look at an existing item in your login keychain - it should still ask for the keychain password to view the password for that item. By default that is the user account password.
    You can add extra passwords (and secure notes) to keychain if you have some that are not currently saved in the keychain. If any passwords are 'super secret' add them into another keychain & only unlock that when you need to do so, it will stop the OS using these automatically.

  • Does anyone have any suggestions for password protecting e-mail on the i pad?

    Does anyone have any suggestions for password protecting e-mail on the i pad?  Other people sometimes want to use my i pad but I don't want them to have access to my e-mail (which is on AOL)
    Presently you can password protect the whole i pad by having to put in a 4 digit code to open it, but once it's open whoever is using it has access to everything you have on it.

    Skydiver...that did it!!  I shut the mail app from automatically opening and now I can sign onto my AOL acct. through Safari!!  I had called Apple Care and had asked  different peope in Apple stores about this and no one but you had any suggestions!  YAY!!  Thanks!!!

  • REQUEST: Support for password-protected PDF files and SD-card installation

    I would like to request for the features in the topic.
    The current version can't open password-protected files hence I still need to download them on a PC before viewing them.
    SD-card install is necessary for some devices running on Froyo as they don't have a lot of internal memory.
    Thanks in advance.

    Hi AndrewSV,
    I am sorry to hear that you are having problems opening password-protected PDF files, and that the users are being prompted for a password, which shouldn't be required for Viewing and Printing the file.
    I have opened up a [https://bugzilla.mozilla.org/show_bug.cgi?id=900822 bug for this issue], and our engineers and volunteers will be able to investigate this issue.
    Yes, please attach the write-protected PDF as an example, so that they can see what's happening.
    Thank you for your help! =)
    - Ralph

  • Copy and paste Java script for password protecting a page?

    I need to password protect one page which I want to call my LOGIN page on a site I'm making in Dreamweaver CS5.5.  Unfortunately I know that the hosting company I'm using does not have the ability to allow me password a single directory on the server end to accomplish this (I know STRANGE)   .... SO
    I found some code online - java script that I can just copy and paste into the <head> section of my page.  This might be a silly question but is this a 'safe' way to do this?    (I don't need anything fancy and the people whom will be accessing this page will all have the SAME password, so I don't need a registration form or anything fancier...)
    Any thoughts?

    Ugg I totally knew you would all say that (because I already knew that would offer me the easiest solution), change hosts and now I'm embarrassed to say that YES I am paying for the hosting; BUT, I have to explain that I'm with this hosting company because way back when I started that site I needed something super user friendly because I was just learning.  Now I have learned more and have started to use Dreamweaver.  I just stayed with the same hosting and will use FTP to upload my new more updated site.  In the company's defense even though they do offer a way to FTP a site up, their main objective (I think) is to have a really easy way for people to get a site up without knowing anything about code or css or anything; and they operate under the assumption that MOST of their customers will be using their super easy software and not use FTP.  That is why I think they are limited to what they offer, at least that is my take on it.  My more recent sites do not use this company as I have tried to learn and 'move up'. 
    Anyway I guess if I don't want to switch hosting I still have the same problem.  Is it really that difficult to make something that has just one use ID and password which would be the same thing for every person?  Might be a great learning experience for me?
    Yep it might be time for me to switch hosting....  sigh.  What to do.....

  • Using php include for password protection

    Hi all, and as usual I am also new to RH. I am running a
    password protection site using php include.
    I have published my WebHelp project but was trying to change
    the htm file to php and include the php include and I keep
    receiving this error - "whlstt0.htm was not found on this server."
    I have done a search and can not find any direction. Has
    anyone an idea of how I can create a default php file the will open
    all the frame files needed?
    Thanray

    Hi Thanray. Please try not to cross post in multiple forums.
    It doesn't help others searching for a solution if only one thread
    has been answered.
    Click
    here
    for the other thread.

  • Recommended solution for password protecting a page for clients only

    Hello,
    I am using Dreamweaver CS6 on Mac (Mavericks).
    I am building a new website for my business and I want to create a page where only my clients can access information after using an id and password that I provide them with. I do not want them to register online, etc. to access the page.
    I was instructed to not use Dreamweaver's solution because it is outdated.
    Can anyone provide me with advice on how to best do this? Use/Not use Dreamweaver functionality? Recommended extension?
    Thanks,
    Joshua

    OK. If you have 50 to 100 clients and you want all of them to have different passwords, then the solutions recommended so far would be a pain to maintain.
    I'm going to give you a solution that is easy to maintain. You will simply add new passwords to the "array" at the top of the script. This is of course not a secure method, but it will work for you. You can edit the design and text, etc. Simply paste all the code into a new file and call it "access.php.
    This is not the method I use for password access. I use a method that handles hundreds of thousands of passwords easily, but it's far more complex. . .and secure. But I think this simple method should work for you:
    <?php
    // All the PHP code is in these first few lines at the top except a few lines that all begin with <?php  -- watch out about editing those lines.
    //  this is where you create the set of passwords. Simply follow the pattern below to add new passwords to the list. Note that the final item does not have a trailing comma:
    $passwords = array(
        "client1",
        "anotherclient",
        "lastclient"
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <title>Reports</title>
    <style type="text/css">
    fieldset {
    border:solid 10px #edebe4;
    border-top:20px solid #edebe4;
    width:700px;
    margin-bottom:10px;
    padding:20px;  
    fieldset legend {
    background-color:#edebe4;
    color:#468cb7;
    padding:0 5px 0 5px ;  
    font-family: Verdana, Sans-serif;
    a {
    color:#468cb7;
    font-family: Verdana, Sans-serif;
    a:hover {
    color:red;  
    li {
    font-family: Verdana, Sans-serif;
    color:#666666;
    font-size:13px;
    margin-left:50px;  
    </style>
    </head>
    <body class="body_admin">
    <div id="admin_wrapper">
    <div class="content" style="padding-left:50px;padding-bottom:25px">
    <?php if (in_array($_POST['view'], $passwords)){ ?>
    <h1>You have access!</h1>
    <fieldset><legend>Choices</legend>
    <h2>Do the following</h2>
    <ul><li><a href='page.html'>A link (you will need to change link url)</li>
    <li><a href='page.html'>Another link (you will need to change link url)</li>
      </ul>
      <p> </p><p>
    </fieldset>
    <?php } else { ?>
    <h2 style='text-align:center'>Enter Password</h2><form action='access.php'  method='post'><p style='text-align:center'><input type = 'text' name='view' required style='margin-top:25px'/><br/><input type='submit' name='submit' value='SUBMIT' style='margin:15px'/></p></form>";
    <?php } ?>
    </div></div>
    </body>
    </html>

  • What type of encryption is firefox using for password protection and how trustworthy is it

    I would like to know what kind of encryption FF uses and how I know I can trust it? This is not a bone of contention with FF, I love the product, rather it is just a concern I have that will convince me to let FF manage my financial passwords. Thanks for any assistance with understanding this issue more completely.

    The degree of protection very much depends on how strong your master password is.
    When using a master password, the data is encrypted using [http://www.tropsoft.com/strongenc/des3.html Triple DES Encryption in CBC mode]. This level of encryption is good for general purpose use. The weak point it the master password, if you have a weak master password there are programs available that will be able to crack the master password, they often do this by using a brute force method. If you use a strong master password, the brute force method will need a very long time to crack passwords. For details on password strength and creating strong passwords see http://en.wikipedia.org/wiki/Password_strength and http://luxsci.com/blog/security-simplified-the-basesuffix-method-for-memorable-strong-passwords.html

  • Combine supported files in Acrobat 10 Pro fails for password protected files

    I use Acrobat 10 Pro and wanted to combine a number of pdf-files to one big file.
    It failed because the files in question have a permission password.
    After I bought Acrobat on first creation of a pdf-file I was asked set a password
    for reading and/or modifying it.
    I decided to set no password for reading, but one for modification namely
    <christian-name>.<surname> . I noted this down.
    When I got the error indication after I tried to combine some pdf-files I tried
    to remove the permission password. I was asked my password, but the program
    refuses to take it.
    What can i do, except to scan all the invoved pdf-documents once again, this time
    without any password. It's quite a lot of them.
    Thanks in advance.
    Michael

    Hi thandman,
    Acrobat 8 is not certified for Win 7 64 bit, so this may just be the first issue you will encounter.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.pdfscripting.com
    www.windjack.com

  • Can't remember password for password protected document

    I can't remember the password I generated for a pages document.  Is there anyway to unlock document with administrative password?  PLEASE HELP!

    There exist software that will allow you to unlock it. I know word has some free software that does that you can find online. I am not sure about pages. In the future, make sure you write every password you ever use to anything in a document. If you aren't comfortable with this document being on your computer, save it to a thumb drive or SD card. Store this card somewhere safe where no one will ever touch it.

  • Password Protection of PDF file generated thru SAP

    Hi,
    I have written a program to send payslip through email . This mail sends the payslip as a PDF attachment.
    I want to password protect that PDF document, so that it asks for a password before being opened by the employee.
    Your suggestions will be highly appreciated.
    Sanchit

    Hi sanchit,
    1. The payslip passes thru SCOT
       settings,
       which in turn generates the PDF
       and sends mail.
    2. SCOT does not provide any such facility,
       for password protection.
    3. I don't think the password
       concept can be done in a normal fashion !
    regards,
    amit m.

  • Using mobileme password protected galleries on iWeb

    I have a bunch of galleries on my mobileme gallery; most of them are visible only by specific users. I would like to use them on a iWeb (password protected) web site but the option Insert-> MobileMe Gallery is only available for public galleries not for password protected ones. Is there any workaround for this?

    You could try embedding a Gallery in your iWeb page — see this old thread:
    ...or you could hyperlink from an iWeb page to a Gallery.

  • Password protected PDF

    We create PDF's regularly using Adobe Output Designer 5.5 and are wondering if it's possible to password protect these documents using a field in the.DAT file

    FYI
    I received a patch for Output Designer 5.5 which allows for the use of PDFLock. This allows for password protection (though I have yet to test it)

  • Password-protected podcasts; does Podcasts app support?

    Now that a beloved podcast has gone behind a paywall, I'm in need of support for password protection in Podcasts app. The workaround in iOS5 was to enter the password on iTunes on the Mac, and the program would update to the Music app on the iPhone. Now, the Music app no longer supports podcasts at all, and the password-protected podcasts seem to transfer to the iPhone intermittently. And certainly, there seems to be no support or subscribing to password-protected apps from Podcasts app directly.
    Or am I missing something?

    I've been getting a similar problem. When I update my podcast feeds, if I don't press ok on the password window before it times out, it kills Itunes. I think what is happening is that Itunes is start to request the feed, gets an "I want an user name and password" dialog from the server and then pops up a window. If you don't respond in time, the far server ends the session, and when you finally do respond, itunes can't handle the response from the far server and crashes.
    What needs to happen is that Itunes needs to say "I have a username and password associated with this feed" and automatically send that, then only prompt the user if there is a response from the server saying there is a problem.
    That being said, I still have the same problem of not finding a place to report this bug as well.

  • Urgent...help password protection...

    hello...
    Anyone out there know the coding for password protection using application....for example the user will type in the username and password and a statement will come out to validate the password...
    Thanks a lot..
    -pal-

    Hi! A simple way of approaching the matter is to read the user name and the password from the GUI, then get the password from the database corresponding to the username and compare the two. You'll need to use JDBC for the latter.
    Here are a couple of points to remember. You may want to determine if your password scheme is case-sensitive or not. Secondly, you may want to use the setEchoChar() method (if you're using a java.awt.TextField object for getting the password from the user) so that the password is not echoed to the screen while the user is typing it.
    Hope this helps! Feel free to ask if something's not too clear.
    Cheers!

Maybe you are looking for

  • How to set a sheet as Ad Hoc via VBA ...

    We keep trying to convert our existing workbooks for Smart View. As you can imagine this is a nightmare process but we keep trying ... There is some progress and we learnt a lot on the way but we still face some major issues - we find SV with VBA to

  • Parameter forms in reports9i

    hello i am having a problem so relief is desired from anyone.i have to migrate some 200 reports built in 6i reports and most of them consists of parameter forms so is there any way to have the same functionality in 9i reports without much of the re-w

  • Error 29 after trying to upgrade to 4.2

    My 3GS was doing just fine until I tried to update it today. Now it's a useless brick that I am unable to restore. Anyone else seeing this or have any idea how to correct?

  • Find a Iphone 5 in Perú. How return to his owner in EEUU

    Encontre un Iphone 5 en una taxi en Lima - Perú sin su tarjeta Sim. Por el IMEI veo que pertece a AT&T de EEUU pero no sé como contactarme con ellos para que le informen a su dueño. Me da pena botar el equipo. 

  • Why SM35 was replaced by SM37

    My programmer design a customized program, when I choose from Menu, Program/execute in background, this program will call transaction FB01 to post accounting document. I choose execute immediately,  it is said Background job was scheduled for program