PI as Webservice provider - URL with username and password

Dear Experts,
I need to test my webservice in PI from a SOAP client like XMLSpy or SOAPUI.
I tested the URL from the browser. It prompted for the username and password and worked.
How do I pass the username and password in the URL when I call this from the SOAP clients?
I tried the following format:
http://<server:5xxxx>/XISOAPAdapter/MessageServlet?channel=:<bs>:<soap sender channel>&sap-user=<username>&sap-password=<password>
I still got a 401 Unauthorized response back.
Any ideal please?

Hi
1) testing through XML Spy
In your WSDL file provide URL in -
<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
While sending request to server,it will ask XI/PI user id and password itself. The user id must have authorization to invoke web service.Better take SAP_ALL or PIAPPLUSER authorization in this id.
2) You can pass user id and password also in this URL
http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>
Try both the options.
Best Regards

Similar Messages

  • Using url with username and password in URL class

    Hi,
    I'm writting an applet in which I use getAppletContext().showDocument with an URL.
    The problem is that I'm using URLs with username and password (http://user:[email protected]/page) and it isn't working because the browser is getting the URL http://user/page.
    Is this a bug in the URL class? Or in the showDocument method?
    Is there any way to make this work?
    Thanks for any help,
    Pedro Prospero Luis ([email protected])

    I'm not sure whether this is supported behaviour. I've had this syntax fail to work in the Netscape address bar so I can't recommend it as an approach for authentication.
    If you want to authenticate the user before redirecting to the page, though, you could try creating a connection to another page on the same server and sending the authorization information then. Your browser may then be successfully authenticated.
    See http://www.javaworld.com/javatips/jw-javatip47.html for information on this.
    You might not need to read back the page from the server, just connect to it. Might work.

  • How to login owa using URL embedding username and password?

    Hi, guys
    Whether can users login O365 owa using url embedding username and password? Such as  https://mail.mycompany.com/owa/....username=myalias...pwd=password... ?
    I found a post http://blog.leederbyshire.com/2012/10/12/how-to-login-to-owa-2010-by-passing-credentials-in-the-url-querystring/
    But it doesn't work.
    Thanks.

    Hi,
    I don't think we can login Office 365 OWA using url embedding username and password.
    The post you found may be a way to login OWA 2010. As mentioned in the post you provided, we need to use code to support with the URL
    https://yourserver.yourdomain.com/owa/?un=yourusername&pw=yourpassword#sthash.cuiZTz5Y.dpuf, not just a simple
    URL.
    There is a location in the blog you mentioned:
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth\logon.aspx
    It's a location on a computer which installed Exchange server. As stated in the blog, we need to insert the code into the logon.aspx
    file and then login OWA with the URL.
    However, for Office 365 OWA which uses a cloud based server, we can do nothing to change the logon.aspx file for Office 365 OWA. That's why I don't think we can do the trick.
    Regards,
    Steve Fan
    TechNet Community Support

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • Adobe Revel?  I have forgotten:  the URL; my username and password.  How do I ask Adobe for these items?  Thanking your reply !!!

    Adobe Revel? I have forgotten: the URL; my username and password. How do I ask Adobe for these items? Thanking your reply !!!
    [email protected]

    Dave,
    No worries, this link will help you with your issues. You do have a revel account with that email, so resetting your password should be all you need to do. Just click on the "I forgot my password" link on the web page listed below:
    http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    Once you reset your password, you should be able to login to revel at adoberevel.com on a browser or from one of our apps on mac, ios, win8, or android.
    Pattie

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • SOAP URL without username and password

    Hello Everyone,
    its a synchronous SOAP - PI -ECC scenario .
    I have created HTTP URL through sender agreement in integration for testing.
    However, customer now wants HTTPS URL without Username and password in  production URL. How do i create this .
    Regards,
    Ravi

    Hello,
    However, customer now wants HTTPS URL without Username and password in production URL. How do i create this .
    You can disable basic authentication for the sender SOAP Adapter by following William's reply in this thread
    http://forums.sdn.sap.com/thread.jspa?threadID=236507
    However, the authentication will be disabled for all SOAP Sender, so you should weigh-in the impacts of granting that request.
    Hope this helps,
    Mark
    Edited by: Mark Dihiansan on Feb 13, 2012 3:51 AM

  • Sign in with username and password every time I want to check emails on my PC using iCloud?

    Signing in with username and password every time I want to check emails on my PC using iCloud
    Having convinced my parents to get rid of their old AOL account and sign up for iCloud to sync their new iPhone with their old PC running Windows 7, I thought I was on to a winner. All working OK but is there any other way to get into emails besides going on iCloud website and signing in with name and password everytime? Can it be set up as a Mail account directly like on a Mac? Or using Outlook or Entourage? Help! I'm not a PC person!!
    ELF

    If they have Win 7 or 8, and Outlook 2007 or newer then you can.
    Just download the iCloud Control Panel for Windows. Install and select the services you want (Mail Contacts and Calendars will appear in Outlook)

  • Using CreateObject for Webservice with username and password

    When using createObject() to call a web service how do I pass
    in the user name and password required by the service?
    If I do a cfdump on the webservice object I see it has
    setUserName() and setPassword() methods but they don't seem to be
    working.
    I also see there are properties named "USERNAME_PROPERTY" and
    "PASSWORD_PROPERTY" but I can't seem to modify them in code. I
    suppose they are protected.
    example:
    ws = createObject("webservice", "
    http://url.to/wsdl.xml",
    "serviceport");
    ws.setUserName("myawesomeusername");
    ws.setPassword("myawesomepassword");
    myReturn = ws.serviceMethodCall("bla");

    quote:
    Originally posted by:
    MACRStockHolder
    For anyone that encounters the same issue/question;
    apparently you can't apply a username/password to the object call
    like you can when using <cfinvoke> to make a web service
    call.
    FYI Adobe: this is VERY limiting, I have to use a web service
    that uses in/out parameters which to the best of my knowledge
    requires the use of createObject() but at the same time the web
    service requires a username and password which I can only do with
    <cfinvoke>. Looks like I will be writing a compiled custom
    tag just for a workaround.
    According to the docs you can provide a username and password
    by passing a struct containing these items to CreateObject
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_18.html#45 14398
    If you like cfinvoke use it. You can get return values by
    using the returnVariable argument. I would assume mutliple output
    parameters would be returned in a struct.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_10.html#4001127

  • Logging on ISA with username and password in URL

    Hi!
    We have a scenario where a customer have an internal portal and from this portal they access different suppliers webshop and get automatic access since the username and password is supplied in the URL.
    In our current Online Store solution we use a special log on page and the user gets logged in, but how is this possible in ISA?
    Regards
    rollo

    Hi!
    The correct answer should be YES, it is possible!
    It is not related to what Florian wrote, just simly add  the userid and password in the URL.
    Exemple
    https://mybigcompany.com/b2b/b2b/init.do?language=sv&userid=rollo&password=mytopsecretpassword
    The only negative issue is that the first log on will not work, the user get an errormessage and have to enter the log on data again.
    Message was edited by:
            rollo

  • WebService in XI with user and password

    Hello,
    I´ve created a webservice in XI. When I call this webservice without user and password from an external tool (soapUI 1.7.5), the following error appears:
    +Logon Error Message
    Der Aufruf der URL http:... wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.+
    (means: the call failed because of missing authorization)
    Ok, but where can I implement the user and passwort, that this webservice can be called automatically from an other application?
    Thanks for your assistence.
    Kind regards
    Martin

    Hi Huber,
    <b>but where can I implement the user and passwort, that this webservice can be called automatically from an other application?</b>
    open the WSDL  ....and in the left side (bottom) u can see option of user name and password...but i guess its not possible to login automaticaly.
    u have to provide the username and password evrytime....
    regards
    biplab

  • Configuring Basic Authentication with Username and password on BizTalk Schema Service

    Hi,
    I have published my schema as a webservice with WCF-BASICHTTP adapter in IIS 8.0.
    I wanted to have a Basic Authentication(User name and password restriction).
    I made the Receive location with Security mode as Transport and Transport Client Crediential Type as Basic.
    I also set the Service in IIS with Basic Authentication only enabled.
    But I don't know how to provide a UserName and Password Authentication.
    Please provide your suggestions
    Regards, Vignesh S

    Hi,
    Try & go through the below MSDN link as it explains configuring WCF BasicHttp adapter very well.
    http://msdn.microsoft.com/en-us/library/bb246064(v=bts.80).aspx
    HTH,
    Sumit
    Sumit Verma - MCTS BizTalk 2006/2010 - Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

  • SOAP Lookup with username and password

    I am doing a lookup using a Java UDF from PI message mapping using a SOAP receiver channel by passing a username and password to get a value from a webservice. This is passed to a field in the target side. Everything works fine.
    But I want to avoid hardcoding the username and password sent in the XML for the lookup in the UDF. Anyone has any suggestions?
    Thank you.

    Hi Param,
    Are you passing the userid and password in url of SOAP Lookup?  You can try using value mapping to get the password for a given username..
    Else maintain it in SOAP channels and for each user id try selecting a different SOAP channel..  HEre also you can use value mapping for userid = soapchannel relationship.
    Regards
    Suraj

  • Run Crystal Report from URL includes username and password

    Hello,
    I've downloaded CR 2008, and CR Server 2008 demo's.
    I'm trying to use a feature I've used with CR10 enterprise, and XI report server, where I can run a report direct from the URL.
    Something like:
    HTTP://scada-ho/crystal/enterprise/admin/en/viewrpt.cwr?id=381&init=actx&apsuser=administrator&apspassword=&apsauthtype=secenterprise
    or
    http://192.168.72.98/businessobjects/enterprise115/infoview/main.aspx?id=1024&init=actx&apssystem=hobprim&apsuser=visy&apspassword=Fillers3&apsauthtype=secenterprise
    I've noticed that there were subtle syntax differences between CR10 Enterprise and XI report server in the past, and expect that similar differences exist with CR server 2008.
    Could someone show me the syntax for CR Server 2008 to run a report from a URL, and pass the required username and password, without having to go through the infoview logon screen

    Tim,
    Thanks for the reply.  I admit I did see that thread when I was looking for a solution.
    My hesitance is that for a non programmer it looks very difficult, and a lot of settings.
    I liked the URL reporting because of its simplicity - one line.
    I know that it advertises the username and password, but for our requirement (intranet reporting, LAN separated from IT), its not a big risk.
    My further investigations indicate that for CRS 2008 something like the following should work:
    http://192.168.207.156/CrystalReports/view.aspx?id=1102&apsuser=administrator&apspassword=admin1&apsauthtype=secEnterprise&init=java
    However I get
    404 - File or Directory not found.
    I'm running on Windows7 with IIS7, so I think it must be an IIS configuration issue
    Any Ideas?

  • Problem with username and password

    I've been trying to set up a new back up from scratch, and after losing my network and wifi connection, I just about have it all working again.
    I have wireless connection, and I have the TC appearing correctly in Airport Utility, green light, reporting no issues, and seemingly ready to go.
    It shows up correctly when I select disk in TM's system preferences, and it shows up and connects OK i n Finder, under shared items.
    However, when I try to initiate a backup, its reporting a problem with the username and password, even though I'm entering the correct password.
    I've checked it in the keychain, changed it in AU to be sure etc, and when I enter a wrong password, it just tells me its the wrong password, rather than this longer message explaining there's a problem with the username or password.
    So I guess it could be with the username, but not sure what that might be - any ideas?
    The only thing I can think of is that the name appears as Time Capsule b7e45c in AU, but as Iain MacDonald's Time Capsule on Time Capsule b7e45c in TM's system prefs.
    Message was edited by: Iain MacDonald1

    Exactly the same here...error 107 is reported when I try to back up.
    There are 4 computers sharing the time capsule and only one of them reports this error.
    Is there a way to remove the sparsebundle and start again for this computer without having to lose all the others?

Maybe you are looking for