MDM Web Service authentication issue. How to use ?

Hi,
I' am a Microsoft technology person I' am working on integrating SAP MDM 7.1 to SharePoint 2010 using MDM Web Services interface and consuming the same in .NET custom component.
I tried the WS with "None" authentication and it worked great.
I' am having issues understanding how HTTPAuthentication with SAP Logon ticket authentication works in MDM.
Created the authentication enabled web service and while testing in NetWeaver WS Navigator, it throws me exception, not able to establish session with repository for user XYZ.
Please help me with the following queries I have:
1) How to test a authentication enabled web service in NetWeaver WS Navigator ? Do the user id/password needs to be set in the "Invocation Parameters" ? Link to any article etc will be appreciated.
2) How to pass the MDM user credentials (or just the username) in the MDM web service in .NET code. I didn't see any parameter in the Client class constructor to pass the same, nothing related to that found in the code that gets generated on adding the service reference.
As per the documentation on the MDM security, looks like a trust relationship also needs to be configured on MDM - allow.ip file entries.
However first I want to understand how to pass this information in Web Services through code.
SharePoint   -
(1)--> SAP PI  -(2)--
> SAP MDM                                             
(integrated with Active Directory                        (Where Web services are deployed     (have its own user accounts)
so logged in user is already authenticated)          and have its own user accounts)
The trust relationship configuration could solve the problem of authentication marked in second hop (2) by registering the IP address of PI server.
Please help me understand how would it work to solve the first hop (1) problem and what needs to be done.
Thanks,
Parvinder

Thanks Gaurav.
The link talks about setting up the Trust with MDM server.
The code sample provided there has the following step where user name is being set and passed to MDM:
Use  command to authenticate user session on trusted connection
       TrustedUserSessionCommand  tuscTrustedUser =
       new TrustedUserSessionCommand(mySimpleConnection);
       //  Set the user name to use
       tuscTrustedUser.setUserName(UsernameAsString);
       tuscTrustedUser.setSession(session);
       tuscTrustedUser.execute();
       session =  tuscTrustedUser.getSession();
I want to understand how to do that for MDM Web Services.
I didn't see any method accepting this user name while calling the web service method / creating client object.
So that link is still missing.
Appreciate if anyone can help me with that.
This is for MDM 7.1
Thanks,
Parvinder

Similar Messages

  • MDM Web Service Generator - How to Call WS in Java?

    Hi there,
    I have generated a web service by navigating to http://<server>:<port>/mdm/wsgenerator - The web service is succesfully generated and deployed. I can easily test the web service using the WS Navigator (http://<server>:<port>/wsnavigator).
    I am now trying to use NWDS7.2 to create a wrapper web service, and need to call my generated MDM WS using Java code. I have created a CAF project, and imported the MDM web service using the WSDL. I have created an application service and no matter what I try, I cannot get the MDM web service to instantiate.
    Is there anyone that has done this before? What method should be used?
    All I need to know is how to create an instance of the generated MDM web service - There is no obvious constructor to use. See my code below, but this creates an exception at runtime for "IndexOutOfBoundsException". Note that the web service I generated is called "MdmWfProjectUpdate"
    service = new MdmWfProjectUpdateViDefaultService(
                                  new java.net.URL(
                                              "http://<server>:<port>/MdmWfProjectUpdate/HTTPBasic?wsdl"),
                                  new javax.xml.namespace.QName(
                                              "urn:MdmWfProjectUpdateWsd/HTTPNone", "MdmWfProjectUpdateVi_DefaultService"));
    I can call other web services without a problem in my code, so it is quite confusing that I cannot get this to work...
    Any help will be appreciated!

    Hi david ,
    When u imported  this webservice,there will be lot of classes generated .In these classes some are executable classes.Like if your webservice contain some operations like update,create,delete.
    then for each operation tere will be one executable class  generated.
    this class  must have some function like execute or invoke.You have to call this function in order to get the results.
    Just check whether is there any such class generated or not.
    Kindly revert back with your results.
    Thanks,
    sudhanshu

  • Using MDM Web Services

    Hi
    Did any of you work on MDM Web Services? We have a requirement to search on MDM using the web services provided. The documentation talks about how to enable these web services in Netweaver stack but does not have a clue on how to access them using PI.
    Can any one help? Below are the SAP documentation links for the same.
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/018c03166a0486e10000000a155369/frameset.htm
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/01a2ab3a840486e10000000a155369/content.htm
    VJ

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/soa/soa-management/process-integration/accessing%20master%20data%20management%20web%20services%20through%20process%20integration.pdf
    VJ

  • SOAP Web Service Authentication configuration

    Hello,
    I've got a little problem with Web Service authentication configuration.
    I'm working on the SAP NetWeaver CE EHP1 7.11. I also have a XMII application deployed on the server and there are some SOAP Web Services(over XMII Transactions) that require basic authentication.
    I use all Web Services in the EJB layer. So, I've generated proxy using SAP NetWeaver as a Web Service Runtime for generation. And Iuse an injection mechanism to get a service implementation:
    @WebServiceRef(name="GetBatchListService")
    private XacuteWS batchListWS;
    In this case I could use Single Service Administration application in the NetWeaver Administrator@SOA Management@Application and Scenario Communication to configure basic authentication for EVERY Web Service. And this configuration disappears after every redeploy.
    The question is how and where could I configure authentication for all web services?
    I've read a lot of documentation, but, unfortunately, I haven't found needed one. I could see 2 direction of searching now, it might help:
    1) Destination: Configure HTTP Destination or Web Service Template Destination and use it in all Web Services proxies somehow.
    2) Find Configuration way: Create a configuration group or anything else to configure all services from one screen.
    Best Regards,
    Dmitry

    Dimtris,
    If your WSDL url is pointing to the URL of the Adapter Engine as shownin the Hot to Use the SOAP adapter there is no option. You cannot add it to the SOAP Url.
    But, if you change the SOAP Url to the Url shown in this blog by Stefan Grube then you can add the user id and pasword to the url by adding sap- user=userid and sap-password = password.
    The optin shown ion the blog by Grube can be used as long as you do not have to use SOAP attachments and in this  case you would not need both sender SOAP adapter and a sender agreement.
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Regards
    Bhavesh
    Regards
    Bhavesh

  • Generating Web Service from PL/SLQL procedures using ODSI

    1) Is there a way for us to generate REST based web services from PL/SQL procedures using Oracle data services Integrator? If Yes, Can you please point me to any available documentation
    2) I am trying to create a phyiscal data source based on PL/SQL procedures in the hope of turning these data sources into web services. I created a JDBC connection in web logic server console and am trying to view the packages under APPS but ODSI always crashes after selecting APPS. Is there a way to resolve this?
    Thanks
    Bhanu

    Hi..
    We came accross this problem a while back (I think it was us that the patch was created for). The patch was released under CR369707.
    Additionally it took us a while to figure out how to use it correctly.. Here's the info for it from a mail i receievd from our support contact..
    Here is more information from engineering on the patch:
    This is patch for filtering Stored Procedures in the New Physical Data Service Wizard. It is a partial fix to the problem. It just does filtering - it still retrieves all the jdbc metadata for everything that matches the filter. Ideally, the wizard would let you explore the stored procedures - retrieving the name only - and once you selected a stored procedure, it would retrieve the argument types (which is the expensive part).
    Copy these two files to a safe place
    <bea_home>\<aldsp_home>\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_10.3.0\dsp-ide-ldshredder.jar
    <bea_home>\<aldsp_home>\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.import_metadata_10.3.0.jar
    Replace the files with the ones provided in the patch (which I sent you be eMail recently).
    Creating Relational Database Physical Data Services -> Stored Procedures will be affected as follows :
    The Search field used to represent a pattern for the stored procedures only, and this patterns were applied against every schema visible to ALDSP. The patch allows you to also specify a list of catalogue patterns (useful only when applicable), a list of schema patterns and a list of procedure name patterns. These lists are separated by the pipe symbol, and the lists themselves are command-separated. The catalogue and schema patterns are regular expressions, the procedure pattern is for a database 'like' clause. For, Oracle, the catalogue patterns are not applicable.
    Example:
    |ODM1,ODM2|B% // look in schemas containing the strings ODM1 or ODM2 for procedures that start with B
    // possible results would be MY_ODM1.BUILDER, ODM2.BOTTOM
    |^ODM$|B%D // look in the ODM schema for procedures that start with B and end with D.
    Also - if there is a search string in the Search box, that search string will be applied to the schema when you click on the + to expand it in the Tree.
    Note that once a schema has been 'explored' - either by a search, or by expanding it in the tree, further searches will not update it's children. You would need to quit the wizard and restart.
    Once you get the patch if you have issues let me know..

  • Simple web service authentication question

    I'm using the application server included with Sun ONE Identity Server 6.1 (and Apache Axis) to deploy a very simple sample web service. Accessing it from a web browser works fine. (After entering the url to my service, I'm redirected to the authentication page. After authenticating, my service is executed as expected.)
    The problem comes when I attempt to execute this same web service from a Java application (using Apache Axis). I authenticate programmatically and have a valid SSOToken. How do I pass my authentication information along to the IS server when invoking the web service programmatically? Can I do this somehow with the SSOToken I have? Every time I invoke the service programmatically, a "(302)Moved Temporarily" HTML response is received.
    Thanks for your help.
    David

    This solved the problem for me (using Axis):
         call.setProperty(org.apache.axis.transport.http.HTTPConstants.HEADER_COOKIE,
                          "iPlanetDirectoryPro=" + token.getTokenID().toString());
         call.setMaintainSession(true);Hope this helps.

  • Web Service - Consumer Proxy - how to include wsa:To

    Hello to all,
    we have following scenario:
    ECC6.0 to ESB to WAS
    communication with Web Services
    ECC 6.0 Web Service Runtime configuration is correct.
    Now we need in the ESB the tag wsa:To
    How can we add  it to the message in the ECC 6.0?
    regards
    Martin

    Thanks Gaurav.
    The link talks about setting up the Trust with MDM server.
    The code sample provided there has the following step where user name is being set and passed to MDM:
    Use  command to authenticate user session on trusted connection
           TrustedUserSessionCommand  tuscTrustedUser =
           new TrustedUserSessionCommand(mySimpleConnection);
           //  Set the user name to use
           tuscTrustedUser.setUserName(UsernameAsString);
           tuscTrustedUser.setSession(session);
           tuscTrustedUser.execute();
           session =  tuscTrustedUser.getSession();
    I want to understand how to do that for MDM Web Services.
    I didn't see any method accepting this user name while calling the web service method / creating client object.
    So that link is still missing.
    Appreciate if anyone can help me with that.
    This is for MDM 7.1
    Thanks,
    Parvinder

  • MDM web services and the MDM BP services

    Hi *,
    I need to know what is the difference between the standard MDM web services and the MDM BP services.  How do I decide which set to use?
    - Kris

    Sorry but what are BP services? Do you mean Business package?
    If yes the approaches are completely different - you use Web Services when you have to customise the application and build your logic/functionality into the app. CRUD operations are procided by Web Services - you need to form your wrapper application from scratch and develop!
    With BP - it involves least development effort bearing in mind that its all standard content and not yet completely customizable. So based on your requirements plan whether to go for Business Package or Web Services or Java API completely...

  • XI Web Service Authentication problem

    Hi,
    I have a XI Web Service that our third-party PeopleSoft client is trying to consume. I tested the Web Service and that works. I used SOAP client testing tool that I have which posts SOAp message to the web service URL. Before i use this tool using Internext Explorer, I attempt to connect to the Web Service URL (by putting the entire web service URL in the Address Bar), it prompts me for the user name & password and upon successful authentication, MessageServlet gives me a success message.Once authenticated, i am successfully able to post SOAP messages to the Web Service URL.
    I provided my PeopleSoft team with the WSDL document, they uploaded into their system, made some configs, and the SOAP message that they are generating is as below
    As you can see in the SOAp message, they are attempting to pass the user name and password in SOAP header and I understand XI ignores SOAP headers OR that is at least not the way to authenticate.
    Shouldn't they be able to somehow authenticate themselves against SOAP adapter using User name and password that we provided them with and the send SOAP messages?
    ********<soap:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Header>
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken><wsse:Username>user name</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><MI_EMP_ADDR_CHG_OSSERVICE xmlns="https://pics.sco.ca.gov"><PERSON_ID>BB000001</PERSON_ID><START_DATE>20100501</START_DATE><ADDR_LINE1>100 MAIN ST</ADDR_LINE1><ADDR_LINE2/><CITY>CORONA</CITY><COUNTY>RIVERSIDE</COUNTY><STATE>CA</STATE><ZIP_CODE>91881</ZIP_CODE></MI_EMP_ADDR_CHG_OSSERVICE></soap:Body></soap:Envelope>
    I will appreciate any ideas.
    Thanks,
    Saurabh

    Indeed, they should take care of the authentication according to supported XI mechanisms, as explained here :
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm
    There is also a note #891877 that explains security level settings for SOAP adapter
    Chris

  • X.509 Web Service Authentication for ABAP AS Web Service Interaction

    We are trying to use X.509 web service authentication with SAP Web AS ABAP between 2 different SAP installations. Company 1 is trying to consume a web service set up by Company 2.
    Company 1 has installed Company 2's public key, generated the client proxy using Company 2's WSDL and created a corresponding lpconfig entry.
    Then company 2 has set up the profile parameter ICM/HTTPS/verify_client to accept certificates and imported Company 1's SLL client certificate and mapped the user in USREXTID.  Note that Company 1 uses self-signed certificates, so it does not have a root certificate, which is what the documentation says should be imported into the PSE instead of the SSL client certificate.
    When Company 1 tries the web service call, it receives a request to authenticate the web service from Company 2. (basic authentication logon screen, even though the web service configuration is set to X.509 Client Certificate.
    Should this work or is there a problem because Company 1 uses self-signed certificates or is there something else we are missing?

    >
    Connie Begovich wrote:
    > We are trying to use X.509 web service authentication with SAP Web AS ABAP between 2 different SAP installations. Company 1 is trying to consume a web service set up by Company 2.
    >
    > Company 1 has installed Company 2's public key, generated the client proxy using Company 2's WSDL and created a corresponding lpconfig entry.
    >
    > Then company 2 has set up the profile parameter ICM/HTTPS/verify_client to accept certificates and imported Company 1's SLL client certificate and mapped the user in USREXTID.  Note that Company 1 uses self-signed certificates, so it does not have a root certificate, which is what the documentation says should be imported into the PSE instead of the SSL client certificate.
    >
    > When Company 1 tries the web service call, it receives a request to authenticate the web service from Company 2. (basic authentication logon screen, even though the web service configuration is set to X.509 Client Certificate.
    >
    > Should this work or is there a problem because Company 1 uses self-signed certificates or is there something else we are missing?
    I think that the problem is in Service Authentication (in transaction sicf). You have to consume web-service, transmitting user-password for access.

  • Can MDM web service search results be filtered by tuple values?

    We are currently working with MDM 7.1 SP03 and Netweaver 7.0. Right now, there is a requirement to return a material record from MDM to a Web Dynpro form using the MDM search web service. The other requirement is that the form user can search for a material using material number, sales org and dist channel. Currently, the results include all sales org/dist channel combinations in the material record. Is there a way to filter the results so that only the specified sales org and dist channel are returned to the form by using the web service? For example, if a material record has 2 sales orgs with different dist channels and the user is only interested in one, is it possible for the web service to return the material record and only the one sales org? Or, does this need to be handled by the form? Thanks for any input.

    Hello Steven,
    currently there is no filter functionality in MDM Web services 7.1 for tuple values or qualified
    lookup values.
    For the next MDM release we are planning to have a new operation for retrieving multi tuple
    values as standalone operation, by which the user will be able to filter the
    tuple values by member field's criteria.
    Regards,
    Matthias

  • Can MDM Web Services pull rich content?

    Is it possible to pull images, PDF's and other rich content out of MDM using web services?  We are attempting to find the best method to front the information from our MDM repository to a Ecommerce website.  This is a non-sap website built on .NET 4.0 framework so .NET API's did not work since SAP only supports .NET 3.5.
    What options should we consider to retrieve our catalog data to an external site?
    Thanks in advance

    Hi Klimek,
    I don't think current MDM web service support rich content retrieval, you have to use kinds of API to implement this function. Considering the fact your .NET framework doesn't work, you can try to encapusulate this part of function into  the web service by using JAVA API, and deploy the customized web service onto the relevant server.
    I'm not sure whether we could retrieve the binary data from database level, anyway you can take a try.

  • Can MDM Web Services return qualifier values?

    We are running MDM 5.5 SP06 Patch04 (we will be doing a technical upgrade to MDM 7 later this year).
    I am investigating the MDM web services and came upon a potential problem. In the test harness, I searched for a record, specifying ALL for the result definition and everything seemed to come back except qualifiers; lookup values came back, taxonomy values came back, qualified lookup display values came back, qualified link ids came back, but no qualifier values.
    I searched again on the qualified link record ids in the qualified lookup table and I got the non-qualifiers, which is the expected behavior. The qualifiers have to come back with the main table record, though.
    Are qualifiers not fully supported in the MDM 5.5 web services, or am I not searching properly?
    Thanks for any help you can provide.
    Doug

    Hi Doug
    For me all  are working good.
    Can you look at pages 24-26 from "Portal content development guide"
    https://websmp201.sap-ag.de/~sapidb/011000358700001119612007E
    Regards
    Kanstantsin

  • MDM Web Services - connectivity

    Hello
    I deployed the MDM web services on the portal
    and I am trying to test the web service - update BP
    the message that I get is
    Problem while connecting to MDM repository BP on server server_name with user name
    it seems like the user is empty even tought I have configured it in the j2ee
    according to the MDM web services guide
    any ideas?
    thx
    Shai

    Hi Shai,
    Make sure that you enter the correct Userrname and password when doing the configuration in the VA,for that particular Webservice.
    You need to mention the credentials of the MDM created Username and pwd.
    Additionally can also refer the below links:
    https://websmp102.sap-ag.de/~sapidb/011000358700001119812007E
    https://websmp102.sap-ag.de/~sapidb/011000358700006427302006E
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20e06073-f485-2910-adb1-9a197bf98994(MDM webservice)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30a97ac6-c884-2910-c6ad-bae0de29e67b(MDM Webservice)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • MDM Web Services - Data Types Schema

    Hi,
    I am trying to call MDM Web Services from PI as per our requirement. I need to build a scenario in PI for that. The Web Service documentation only talks about the data types and their strucuture but never said where they are available for download.
    Can any one of you help me in finding them for download or do we have to create them manually? Please refer to the link below for documentation.
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/0068130b0c0487e10000000a155369/content.htm
    Thanks and Regards,
    VJ

    See the thread for information
    Configuration of MDM Web Service
    You can download the webservices from SAP support portal
    Points are welcome if it is helpful
    Koti Reddy

Maybe you are looking for

  • N8 Belle: Well well, isn´t it just about 4 days le...

    Is it just me exciting,  isn´t it 4 days until we ( in Europe) are getting the Belle software update.   It has been discussed that these coming months, from now until next spring is a living or .... for Nokia on the smartphone market.  Well we will s

  • Help w Help

    Where do I install the after_effects_cs5_help.pdf so it will function in help within the program? CS5 Master Collection on a Mac with OS X 10.6.4 (Offline Only! The registration was done by our IT Dept. while breifly online for that purpose). Thanks

  • How to make changes in an existing adf Library

    Hi, I am having an adf library, I am looking to make some changes in that adf library and put it back into the project. Please let me know how to make a jdeveloper project from the existing adf library,as I not having the original project from which

  • How to download photo's from a iPhone 4 to a Microsoft laptop? Can somebody help, please?

    My wife has an iPhone 4. He is completly filled with photo's. When I connect with the USB-cable to laptop and then choose to download the pictures, by the wizzard, he only downloads the .MOV files. I receive immediatly an error message for .JPG and .

  • Suggestions for CRM software?

    Does anyone have a suggestion for Mac-compatible CRM software with a single-user license (or anything under 3-4 users)? I realize this is the Leopard forum, but there really isn't a forum for non-Apple software questions. Any help is greatly apprecia