HTTP Error 401 while invoking WSDL

Hi Gurus,
The scenario is, a WSDL URL location requires a System login to view it from IE.
When I use the same WSDL location in my BPEL, I get an HTTP Error 401 (Unauthorized) as it requires the same Login Credentials that I used to view it in IE.
Now, can any of you please tell me how to pass this Login credentials to access the WSDL file without getting HTTP 401 error.
Please help. Thanks.
Bala

Muruga,
Thanks for your reply.
Let me explain little better...
Actually, I have a WSDL URL, which requires a System login in order to access it. In otherwords, the WebService for that WSDL is running remotely and it requires a System Login. Now, I am using that WSDL in my BPEL to create a Partnerlink. When I run the BPEL process, I am getting HTTP 401 error as the Remote system where the WebService is running, needs a login. I know the userid/password for that system...but how do I provide it in the WSDL/BPEL.
Hope the question is little clear now...
Thanks
Bala

Similar Messages

  • HTTP error: 401 Unauthorized while uploading photo in hr master data

    Hi All,
    Transaction code OAAD while uploading a photo  iam faceing a problem
    i am getting error massage *HTTP error: 401 Unauthorized"
    i have done modifications in the transaction codes
    OANR ,OAC2,TABLE: V_T5850,OAC0,OAOH,OAAD,
    IN OAAD Transaction code i am getting this error
    HTTP error: 401 Unauthorized
    please guide me on this issue

    Hi Sai,
    First create a communication type user (via SU01) with SAP_ALL profile.
    Then goto SICF transaction.
    While hierarchy type is SERVICe hit "Execute" button.
    Find contentserver under default_host -> sap -> bc.
    Double click the service.
    Press Logon tab.
    Enter the relevant user info.
    Save - Back button.
    Activate the service (if it is not already active)
    Regards,
    Dilek

  • Error 401 while sending SOAP Request to XI

    hi friend ..
    i am getting Error 401 while sending SOAP Request to XI..
    can u suggest me where may be the error?
    thanks..

    Hi,
    Refer these threads:
    Testing XI SOAP scenario via XMLSpy
    Re: SOAP Sender ADAPTER 401 No Authorisation
    Re: XI Web Service - Code: (401) Unauthorized.
    Try soap client https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Regards
    Suraj

  • HTTP Error 401: Unauthorized on testing content repository connection

    Hi,
    I am facing one problem while testing connection of repository created through TCode OAC0. Its giving error "HTTP error: 401 Unauthorized". Please if anyone has solution let me know.. Reward Points will be given...
    Regards
    Hardik

    yeah it was already set on "0"
    antoher problem i think. every time when i click on "CS Admin" inside the repository (OAC0) i need a username and password ( <a href="http://img404.imageshack.us/img404/1958/userzp2.jpg">click</a> ). i always use a system account who is local administrator and after that i can access the repository settings. <a href="http://img84.imageshack.us/img84/1982/csinizi2.jpg">This is my CS.ini</a>. I set the security on "0" too but always the 401. Is there a need to open antoher port beside the default 1090? Because http is working on 80 and i know that every port must be opened for that server. Or do i need antoher user for that CS.
    If you need other informations, just ask!
    Thanks
    Regards,
    Patrick

  • HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

    Dear Experts,
    Transaction code : ME23N
    while create a document by through a GOS (Generic Object Service), Iam facing a problem and it through a error message:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.
    Please giude me  on this issue.
    Thank & Regards,
    Mahendra.

    Hi Janos,
    by through a GOS under a GOS by using a  Store Business document to create a document in Transaction. Please find the below attached screenshots has i following to create a document in a Transaction. So , while creation a document in T-code am facing a error like:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

  • Archive link error:HTTP error: 401 Unauthorized

    Hi all,
    I am getting "HTTP error: 401 Unauthorized" error while uploading pdf via archive link  store business document
    from front end.
    Any solution
    Regards
    Abhijit

    Abhijit,
    Check that the OS user that is used to run the web application has read/write permissions for the both the "installation path" and the "repository path" - for UNIX its the Apache user id and for Windows its the user that started the IIS service.
    This may resolve your issue.
    -Srini

  • OAAD: HTTP ERROR 401

    HI
    When to use OAAD to upload employee photo but will get HTTP error 401 unoutorized!
    HR system is independence and connect with other module with RFC.
    how to check this error!
    thank you advance!

    hi
    Please note, these instructions were given to me so am now giving them to the community. I do hope they help someone. Kudos to the orginal author! someone on sapfans.com
    1. Create a number range for SAP Archive Link :
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
    Tcode: OANR
    Create range 01 from 0000000001 to 9999999999 without the external number flag.
    2. Document type HRICOLFOTO must exist with document class JPG.
    IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
    Table: TOAVE
    Tcode: OAC2
    3. Document type HRICOLFOTO must be linked to object type PREL and IT0002.
    IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
    View: V_T585O,
    In all three columns there are minuses, don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
    Table: TOAOM_C,
    Tcode: OAC3
    Content Repository
    Create a content repository with storage type FILE archive.
    Transaction code OAC0
    IMG: Basis Components --> Basis Services --> SAP Archive Link --> Basic Settings --> Maintain content repositories
    Swap from display to amend. Select a current entry and ‘copy’ or just hit ‘create’. Then select .
    Then fill in the details as below:
    Choose a two character name – can use Zx (where x is a number) if you wish to use the customer namespace
    Choose the relevant description
    Set DocArea to be ‘Archive Link’
    Storage type – set to R/3 Database
    Protocol – leave blank
    Choose Version no. 0046 (or the latest one that is available)
    Contents table – set this to SDOKCONT1&#65288;&#36825;&#20010;TABLE&#32467;&#26500;&#35828;&#26126;&#65289;
    Basic Path – c:\ (this should be set to where the photos are all held)
    Archive Path – c:\ (this is the area from where the photos are retrieved)
    Output Device – can leave blank
    Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a ‘copy’ and stores it elsewhere. The path may only need to be entered to ‘Arch.path’, but entering to all three doesn’t seem to hurt.
    5. Create this content repository with storage type FILE archive.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
    Tcode: OAC0
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C .
    6. Link photo to personnel number.
    Menu>Tools>Business Documents>Miscellaneous>Stored Documents.
    Tcode: OAAD
    Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.
    To delete archived document :
    Tcode: OAAD
    click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.
    4.7 Version
    1).Use SICF Tcode: that displays lot of services. Under sap --> bc there is a service called content server interface. Activate this service.
    Here you activate the Content Server Interface.
    First you need to create a user profile – with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on “content server” in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)
    Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL
    Transaction code: OAC3
    Table TOAOM_C
    Set the ‘Content Repository’ field to the one you set up in the step above.
    Note the Ret.per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!)
    2).Now Create the A2 repository with Tcode: OAC0.
    Click on the Create – Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).
    Enter the Personnel Number of the employee you want to link the photo to. Choose also the infotype that you wish the photo to be displayed on (not sure how relevant this is. It works if you use 0002 but should also work if left blank. Suspect is only relevant if you wanted to store different photos for different infotypes)
    Click on Continue.
    Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory.
    SAP will notify that the Stored document is created successfully and you end up with something like:
    If you get an error 401 to do with missing authorisations, then try and redo the above step. It often only happens the first time you try and load the photo.
    3).While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
    4).Now upload the picture using Tcode: OAAD
    i hope will help for you!

  • Not Authorized HTTP Error 401. The requested resource requires user authentication.

    Hi All,
    I have MDS web application on one server and MDS DB on another, both in same domain .
    MDS web application is created as new website on same IIS with SharePoint and have their own port assign
    In IIS Windows Authentication is added and enabled.
    Users do have function permission and module enabled.
    MDS is accessible only on server where web application is.
    When it is accessed from any computer within domain error is
    Not Authorized
    HTTP Error 401. The requested resource requires user authentication.
    Can anyone offer any suggestions?
    Thanks
    Zorko

    Hi Zorko,
    The issue may happen in case:
    1. The Master Data Service(MDS) web application is running under a domain user account
    2. You didn't register a Service Principal Name(SPN) for the account
    3. You are using fully qualified domain name(FQDN) or host name to access the MDS
    4. You are able to access the MDS by IP address(http://<ip address>)
    If I am right, it is because of the browser choose to use Kerberos authentication to connect to the MDS.
    So then, to fix the issue, please:
    Register SPN for the application pool account. Enable the delegation.
    Or, please force the web site to use NTLM authentication only.
    For more information, please see:
    How to use SPNs when you configure Web applications that are hosted on Internet Information Services:
    http://support.microsoft.com/kb/929650
    Forcing NTLM Authentication (IIS 6.0):
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7258232a-5e16-4a83-b76e-11e07c3f2615.mspx?mfr=true
    Thanks,
    Jinchun Chen
    Jinchun Chen(JC)
    TechNet Community Support

  • HTTP Error: 401 unauthorized when executing a costcenter report.

    Hi.
    I get this HTTP error when executing an costcenter report.
    The steps I do is following.
    Call upp the report Y_D02_77000xxx
    Under the "kostenstellen:Selection I Fill in this values.
    Controlling area
    Fiscal Year
    From Period
    To     Period
    Plan version
    and finally i enter the "Cost Center group"
    Then i press "execute" and get the result for differrent Cost Element, i get 2 lines "*Total" and
    "**Over/underabsorption"
    Now i doubleclick Over/underabsorption and select report "Cost Centers: Actual Line Items"
    Now i Should get a new window woth results but instead i get a blank screen with the errormessage:
    "HTTP error: 401 unauthorized"
    This procedure worked fine until a couple of weeks ago.
    Anyone have any ideas about what could be the problem?
    Regards Johan

    You might want to check all of your connections in SM59. When you get the 401 error, this is sometimes due to a connection failure (bad password and so on) in the RFC connections (this can also happen if you are using the Content Manager).
    Hope that helps.
    J. Haynes

  • HTTP error: 401 (unauthorized)  "Error in configSet"

    Hi ,
    I am getting this error "HTTP error: 401 (unauthorized)  "Error in configSet"  in the following scenarios.
    A. Creating a content repository from SAP in T-code "CSADMIN"
    B.Accessing the http://<domainname>:<portno>
    If i give complete URL it is working.
    Example :
    http://<domain name>:<port no>/ContentServer/ContentServer.dll?serverInfo
    when i provide,only with domain name and password in the url
    it is asking for username & password and later it gives 401 unauthorized error
    http://<domainname>:<portno>
    I assume that this error is due the security settings either in IIS or in OS level.
    system landscape:
    CRM :5.0
    SAP Content Server :6.3
    Win server 2003 with sp2
    Note:
    Content Server is running and i can see the status from SAP.
    Thanks in Advance.
    Points will be awardeed for right answers.
    Regards
    Ganesh
    Edited by: ganesh subbiah on Aug 13, 2008 4:39 PM

    Check the following :
    - In IIS application pools check "Identity" property for the content server application is "LocalSystem", and not ApplicationPoolIdentity
    - in IIS "handler mapping" on your content server site, check ISAPI-dll is enabled
    - user access for "NETWORK SERVICE" following note 658442 - execute command :
    cacls <INSTDIR> /T /E /G "NETWORK SERVICE":F
    The first point has solved the issue for me.
      Pierre

  • HTTP error .401 Unauthorized

    Hello experts,
    We are unable to upload image file, getting error " HTTP error .401 Unauthorized "
    what could be the reason , how can i resolve  this error . please help .......
    Thanks & Regards,
    KNM

    Hi Rajukumar,
    You question is related to ASP.NET, you can open a new thread in
    ASP.NET forum for a better response. I'll move your thred to Off-Topic forum.
    Best regards,

  • HTTP error:401 Unauthorized ,Photo Upload in R/3

    Hi SAP Guru's
    We have followed note 595563 for implementing photo upload functionaly in our server.
    but when I am storing photo by tocode OAAD , it's giving error.
    HTTP error:401 Unauthorized
    Please help actually I have checked all the SDN threds but no success.

    TCode SICF- Here you activate the Content Server Interface.
    First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on "content server" in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this, click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

  • HTTP error: 401 unauthorized -error in photo upload

    Hi
    Please suggest in OAAD,how to rectify the error ' HTTP error: 401 unauthorized '  during Photo upload in IT0002.
    Regards
    Ritu Saurabh

    make sure that u have activate the content server in SCIF t code
    if yes check with ur basis team as arun said

  • IPP Error 0xF0191 / HTTP Error 401 - Authorization Required

    Hey guys,
    i'm struggeling with my iPrint.
    When I try to manage my Driverstore an error occurs
    "Authorization Required
    IPP Error: 0xF0191
    HTTP Error: 401"
    I already tried the work-around from the KB but i cant help myself.
    I also tried to add another user and another Driverstore but both also didnt work.
    Best Regards,
    Kevin

    w0zzup,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • The request failed with HTTP status 401: Unauthorized Invoke Webservice

    I want Adding a Web reference dynamically at Runtime follow
    SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
    internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)
    System.Net.
    WebClient client = new System.Net.WebClient();
    client.Credentials =
    new NetworkCredential("username", "pass");
    // Connect To the web service
    System.IO.
    Stream stream = client.OpenRead(webServiceAsmxUrl + "?wsdl");
    // Now read the WSDL file describing a service.
    ServiceDescription description = ServiceDescription.Read(stream);
    ///// LOAD THE DOM /////////
    // Initialize a service description importer.
    ServiceDescriptionImporter importer = new ServiceDescriptionImporter();
    importer.ProtocolName =
    "Soap12"; // Use SOAP 1.2.
    importer.AddServiceDescription(description,
    null, null);
    // Generate a proxy client.
    importer.Style =
    ServiceDescriptionImportStyle.Client;
    // Generate properties to represent primitive values.
    importer.CodeGenerationOptions = System.Xml.Serialization.
    CodeGenerationOptions.GenerateProperties;
    // Initialize a Code-DOM tree into which we will import the service.
    CodeNamespace nmspace = new CodeNamespace();
    CodeCompileUnit unit1 = new CodeCompileUnit();
    unit1.Namespaces.Add(nmspace);
    // Import the service into the Code-DOM tree. This creates proxy code that uses the service.
    ServiceDescriptionImportWarnings warning = importer.Import(nmspace, unit1);
    if (warning == 0) // If zero then we are good to go
    // Generate the proxy code
    CodeDomProvider provider1 = CodeDomProvider.CreateProvider("CSharp");
    // Compile the assembly proxy with the appropriate references
    string[] assemblyReferences = new string[5] { "System.dll", "System.Web.Services.dll", "System.Web.dll", "System.Xml.dll", "System.Data.dll" };
    CompilerParameters parms = new CompilerParameters(assemblyReferences);
    CompilerResults results = provider1.CompileAssemblyFromDom(parms, unit1);
    // Check For Errors
    if (results.Errors.Count > 0)
    foreach (CompilerError oops in results.Errors)
    System.Diagnostics.
    Debug.WriteLine("========Compiler error============");
    System.Diagnostics.
    Debug.WriteLine(oops.ErrorText);
    throw new System.Exception("Compile Error Occured calling webservice. Check Debug ouput window.");
    // Finally, Invoke the web service method
    object wsvcClass = results.CompiledAssembly.CreateInstance(serviceName);
    MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
    return mi.Invoke(wsvcClass, args);
    else
    return null;
    When i call CallWebService method , it is error
    The request failed with HTTP status 401: Unauthorized.
    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    Source Error:
    Line 1880: MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
    Line 1881:
    Line 1882: return mi.Invoke(wsvcClass, args);
    Help me solve this problem.
    Thanhks

    Thank advance
     I tried it, but it till error
    Stack Trace:
    [WebException: The request failed with HTTP status 401: Unauthorized.]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431201
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
    HSCVWS.HelloWorld() +31
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
    System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
    System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
    System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
    WsProxy.CallWebService(String webServiceAsmxUrl, String serviceName, String methodName, Object[] args) in d:\ViDu01\ttt.aspx.cs:1882
    ttt.Page_Load(Object sender, EventArgs e) in d:\ViDu01\ttt.aspx.cs:27
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2009-06-09 02:43:10
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2009-06-09 02:43:10 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
    2009-06-09 02:43:13 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
    2009-06-09 02:43:16 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
    2009-06-09 02:43:17 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
    2009-06-09 02:44:42 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 servername\username 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0

Maybe you are looking for

  • How do you restrict web browsing to view only specified sites for business use?

    Hello, I need to restrict the use of Firefox and Internet Explorer to only specified websites that we use for business use. I have a problem with a number of employees using unauthorized and dangerous websites that have put my business computers at r

  • How do I change default software of an extension?

    how do I change default software of an extension? For exemple, I want do change .dwg to a recently installed software.

  • Generate Report

    Hi I am very new to bo . I try to generate repoer using e-fashion universe want to compare accessories sold in California and those sold in Colorado.

  • Scale progress bar with Event.RESIZE

    Hi all, I am trying to create a preloader bar that goes across the whole stage. The code below works fine, except that I would also like to be able to resize the stage and have the preloader bar recognize this and change it's scaleX to accomodate the

  • Error during Managed system setup "Wilyhost Agent" type

    Hello All, Managed system setup finished with one error. Iam using this for selfmonitoring (solman itself as managed system) Error msg as follows. 0 Wilyhost Agent(s) from host inbbssun02 are connected to the EM. Wilyhost Agent configuration finished