Custom SPML Response

Hi,
How can I return only few required attributes in SPML response instead of the complete user data?
For ex: My sample SPML soap request to add a user is given below:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><wsa1:OIMUser soapenv:mustUnderstand="0" xmlns:wsa1="http://xmlns.oracle.com/OIM/provisioning"><wsa1:OIMUserId xmlns:wsa1="http://xmlns.oracle.com/OIM/provisioning">user1</wsa1:OIMUserId><wsa1:OIMUserPassword xmlns:wsa1="http://xmlns.oracle.com/OIM/provisioning">pwd1</wsa1:OIMUserPassword></wsa1:OIMUser></soapenv:Header><soapenv:Body><m:processRequest xmlns:m="http://xmlns.oracle.com/OIM/provisioning"><sOAPElement><addRequest returnData="everything" xmlns="urn:oasis:names:tc:SPML:2:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core"><data><dsml:attr name="objectclass"><dsml:value>Users</dsml:value></dsml:attr><dsml:attr name="Users.User ID"><dsml:value>TestUsercv</dsml:value></dsml:attr><dsml:attr name="Users.First Name"><dsml:value>Testcv</dsml:value></dsml:attr><dsml:attr name="Users.Last Name"><dsml:value>Usercv</dsml:value></dsml:attr><dsml:attr name="Organizations.Organization Name"><dsml:value>Xellerate Users</dsml:value></dsml:attr><dsml:attr name="Users.Xellerate Type"><dsml:value>End-User</dsml:value></dsml:attr><dsml:attr name="Users.Role"><dsml:value>Full-Time</dsml:value></dsml:attr><dsml:attr name="Users.Password"><dsml:value>abc123</dsml:value></dsml:attr></data></addRequest></sOAPElement></m:processRequest></soapenv:Body></soapenv:Envelope>
Here when i give returndata="everything" / returndata="data", i get all the user field values in response.
However if I give returndata="identifier", i only get psoID and User Id in response.
But as per my reqmnt, i only need User's first name and Last name in response.
Any pointers to achieve this would be helpful.

Add it as a message in one of the actions of your workflow and it will appear as an attribute in the response. This is an example that sets a message telling whether the configurator user was found or not:
<TaskDefinition name='Teste'  ...>
  <Extension>
    <WFProcess name='Teste' maxSteps='0'>
      <Variable name='theReturn'/>
      <Activity id='0' name='process'>
        <Action id='0' application='com.waveset.session.WorkflowServices'>
          <Argument name='op' value='getObject'/>
          <Argument name='type' value='User'/>
          <Argument name='name' value='configurator'/>
          <Return to='theReturn'>
              <cond>
                <isTrue>
                  <ref>WF_ACTION_ERROR</ref>
                </isTrue>
                <s>HELP! I need somebody!</s>
                <s>Yeah, right.</s>
              </cond>
          </Return>
        </Action>
        <Action id='1'>
          <ActionResult type='message'>
            <ref>theReturn</ref>
          </ActionResult>
        </Action>
        <Transition to='end'/>
        <WorkflowEditor x='187' y='95'/>
      </Activity>
      <Activity id='1' name='start'>
        <Transition to='process'/>
        <WorkflowEditor x='93' y='79'/>
      </Activity>
      <Activity id='2' name='end'>
        <WorkflowEditor x='282' y='108'/>
      </Activity>
    </WFProcess>
  </Extension>
  <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
  </MemberObjectGroups>
  <Properties>
    <Property name='editorOriginalName' value='Teste'/>
  </Properties>
</TaskDefinition>

Similar Messages

  • Custom Error Responses - S1WS 6.1

    Hello
    Iam trying to create custom error responses. I did this thru Admin , Class Manager.
    I gave the absoulte path to file which contains error messages for the HTTPcodes (Not Found, Unauthorized etc)..
    When i did testing, the browser still gets 404 back. I did verify whether obj.conf has the settings. I also restared the web server. The setting was selected for "Entire Web Server".
    Please help.
    Thanks
    ssk

    I'm not sure I understand. Even if you specify a custom error page, the server will continue to send a response with a 404 HTTP status code. It will use the contents of your page for the body, but the HTTP status code will still be 404.
    If you're not really concerned about the HTTP status code but rather the body of the response, check the log files:
    1. Check the errors log. Is the server trying to tell you something?
    2. Check the access log. Is the server getting the request? Is the server sending your file (check the response size, it should match the size of your file)?
    If there's nothing in errors and access suggests the server is sending your file, the browser may be choosing not to display your error page. Microsoft Internet Explorer does this when the page is below a certain size. Try increasing the size of your error page.

  • Custom SPML based webservice

    Hi All,
    Has any one worked on custom SPML base webservice? I have created custom web service which accept SOAP request and process, but there is a requirement that it should be SPML based.
    Thanks
    Closing this thread as solution acheived!
    Edited by: AG on May 2, 2013 7:44 AM

    Answered

  • NI PXIe 4141 Custom transient response

    Hi All,
    I am using NI PXIe 4141 SMU. I am trying control the Settling Time and Overshoot of step response of my Voltage output. I am trying to use "Custom Transient Response (CTR)" configuration for this purpose. We have following three parameters that we can use to configure the CTR.
    Pole-Zero Ration
    Compensation Frequency
    Gain BW
    I have tried to change the values manually and check the system response. I couldn't see any change in the Transient Response of SMU. Is there any documentation available to calculate those parameters according to my loading condition? 
    Is there anyone who worked on such setup?
    Please help.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com

  • SPML Web Service -  custom Add Response

    Hi,
    Each time an Add Request is requested to OIM's SPML Web Services, there is a standard SPML Add Response received where in PSO ID is returned.
    We in our project are looking to customise this format and return additional parameters (which OIM would generate based on some logic) to the requesting consumer.
    Can I achieve this in OIM. Is this an Out-of-the-box feature OR some thing which I would need to do. If so, kindly eloborate and brief me the steps to proceed.
    Edited by: bond8135 on 11-Apr-2010 18:37

    Sunny,
    As you have pointed out, API will work.
    But regarding your statement:
    "Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
    SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
    Did you tweak something to get it working?
    Thanks.

  • EJB 3.0 Web Services - Custom Request/Response Wrappers

    Hi All,
    I'm having an issue using Document Literal Wrapped web services with EJB 3.0. I have declared a service endpoint interface(SEI) in one jar file, along with custom wrapper classes for the requests and responses. The wrappers have the XML content customized a bit (different type names, etc.), but should be compatible with the @RequestWrapper and @ResponseWrapper annotations. The implementation is in an EJB jar file that includes the jar with the SEI in it. My issue is that the wrapper classes I declared are not being used, and instead new ones are being generated. Is it even possible for it to use supplied wrappers, or does it have to generate its own (and if so, is it in any way possible to specify the XML types it generates). I've tested this with wsgen, and I get the same result (new wrapper classes, the ones I supplied ignored) as when I deploy it. Here is the output from wsgen:
    Note: ap round: 1
    [ProcessedMethods Interface: com.company.IngestorService]
    [should process method: ingestProductDirectory hasWebMethods: false ]
    [endpointReferencesInterface: true]
    [declaring class has WebSevice: true]
    [returning: true]
    [WrapperGen - method: ingestProductDirectory(java.lang.String,java.lang.String)]
    [method.getDeclaringType(): com.company.IngestorService]
    [requestWrapper: com.company.IngestProductDirectoryRequest]
    [should process method: datatypes hasWebMethods: false ]
    [endpointReferencesInterface: true]
    [declaring class has WebSevice: true]
    [returning: true]
    [WrapperGen - method: datatypes()]
    [method.getDeclaringType(): com.company.IngestorService]
    [requestWrapper: com.company.DatatypesRequest]
    com\company\DatatypesRequest.java
    com\company\DatatypesResponse.java
    com\company\IngestProductDirectoryRequest.java
    com\company\IngestProductDirectoryResponse.java
    Note: ap round: 2
    I note that is says "hasWebMethods: false". Could that be an issue? Could it not be seeing my methods as web methods. The SEI and the implementation class are in different jar files and different packages. Could this be an issue?
    Here is the web service interface:
    @WebService(
    name = "IngestorService",
    targetNamespace = "http://company.com/"
    @SOAPBinding(
    style = SOAPBinding.Style.DOCUMENT,
    parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
    public interface IngestorService
    @WebMethod(
    action = "http://company.com/ingestProductDirectory"
    @WebResult(
    name = "response",
    targetNamespace = ""
    @RequestWrapper(
    className = "com.company.IngestProductDirectoryRequest"
    @ResponseWrapper(
    className = "com.company.IngestProductDirectoryResponse"
    public void ingestProductDirectory(
    @WebParam(
    name = "sourceDirectory",
    targetNamespace = ""
    String sourceDirectory,
    @WebParam(
    name = "datatype",
    targetNamespace = ""
    String datatype);
    @WebMethod(
    operationName = "datatypes",
    action = "http://company.com/datatypes"
    @WebResult(
    name = "datatypes",
    targetNamespace = ""
    @RequestWrapper(
    localName = "DatatypesRequest",
    className = "com.company.DatatypesRequest"
    @ResponseWrapper(
    localName = "DatatypesResponse",
    className = "com.company.DatatypesResponse"
    public List datatypes();
    Here are the datatype request and response wrappers:
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(
    name = "DatatypesRequest"
    public class DatatypesRequest
    DatatypesResponse.java:
    @XmlAccessorType(XmlAccessType.PROPERTY)
    @XmlType(
    name = "DatatypesResponse",
    propOrder =
    "datatypes"
    public class DatatypesResponse
    private List<String> _datatypes;
    @XmlElementWrapper(
    name = "datatypes",
    required = true,
    nillable = false
    @XmlElement(
    name = "datatype",
    required = false
    public List<String> getDatatypes() {
    if (_datatypes == null) {
    _datatypes = new ArrayList<String>();
    return _datatypes;
    Any help would be greatly appreciated. Thanks.

    I have been trying to do the same... and it seems to be impossible... (or completly undocumented).
    It seems that OC4J 10.3.x is ... no exactly fully EJB3/J2EE5 compliant...
    Or something like that:
    http://blogs.infosupport.com/berte/archive/2005/09/09/1117.aspx
    IMHO... OC4J 10.3.x is still a preview for OC4J 11...
    OC4J 10.3.x is kind of a J2EE4/5 hybrid... if you start digging in the documentation, you will find out that the only
    way to have WS-Security is going back to J2EE4 http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
    (of course, I hope you probe me wrong)
    Message was edited by:
    luxspes

  • I hate to say - DISATISFIED WITH with CUSTOMER CARE RESPONSE and VERIZON in all for first time.

    I am currently on National 900 plan on Motorola Droid. I switched from AT&T primarily because I love to use data on mobile. Verizon provided me the unlimited plan. I was a very happy customer with Verizon untill now.
    Scenario -
    Today, I called up Verizon customer care executive to see why bill for the month was not readjusted. Can anyone believe it its staggering $1137.73 [Roaming charges 1019.19].
    Since this January, I am visiting to Canada. On first visit in January, I called up customer care to see what options I do have to use my phone in Canada as I use it in US. Verizon had a wonderful plan - just the monthly data plan is escalated appear. 30-40$ extra than the normal appear. 29.99$ plan. I happily added that plan before visiting Canada. While there is Canada, I did get notification couple of time that I am exceeding data limit but again checked with customer care later - they readjusted the bill as that was 'FALSE ALERT' as I was on unlimited data plan while roaming as well in Canada since I paid the additional prorated of (30-40$) for period of my stay there.   
    This equation worked for first and second visit - Unlimited Data while I used to get FALSE ALERT.  
    On my  third visit , things changed - Verizon stopped providing the unlimited data services. I called up as usual before this visit. Customer care executive said - you are set to go to Canada now. I was not very specifically told on call that the rules have changed now and there is limit to data usage while roaming. During this visit also, I got the alerts - I assumed this was also a FALSE ALERT like prior one. 
    But this time, it was not FALSE ALERT, now I charged with this fee. I raised my concern and called up customer care appear. 10 day before [today is March 6th], they assured me that it is going to be re-adjusted ONLY for this time. And, they also asked to check account after 48 hours and if not readjusted please call. But, I checked my account today and it was not readjusted. So, I called up customer care executive for half an hour -- not willing to listen to any logic of mine and he said politely 'SIR, WE CANNOT READJUST YOUR BILL' . I am still trying to figure out where is my fault when I was not told DATA PLAN HAS CHANGED FROM THIS VISIT.
    I hope senior management will look into this matter and re-adjust current bill. It's due this March 10th. I would appreciate any positive response prior to this so that I can pay the bill and BE A HAPPY VERIZON CUSTOMER.
    Sincerely,
    Manoj K. [removed personal information]

    I called them back yesterday night, not willing to listen my story. Sir we sent you SMS notifications. But these notifications, I also got when I had unlimited plans on first and second visit. Then customer care told SIR you don't need to worry - but this time I should have been very specifically told rules are changed before changing my plans which I wasn't. I was under impression that I am on same unlimited plans.
    A job not well done in COMMUNICATING TO CUSTOMERS and using that an opportunity to OVERCHARGE $1100 - INSANE for one month bill. None of my fault. SMS notification is no communication as earlier SMS noitification were false positive and bills were adjusted as I was on unlimited data plan.
    Now you change the rules and send SMS Notification; RULE CHANGE, one is not aware of.. ANY NORMAL person will treat SMS notification as FALSE ALERT.. isn't it??

  • Adding custome header : response.setHeader()

    HI
    I have an application where in authorization is done from a different server. When we hit our app's URL proxy redirects to that othorizing server and that server adds a header named sn_userdn in the header and we read that header and accordingly we do the further processing based on that.
    But now I need to bypass this thing. I need to develop a login page which gets the user information and sets same header this is because we are going to not use the third party authorization any more.
    I am useing response.addHeader("sn_userdn","binoyb9");but while trying to read it as we were doing it previously it gives null.
    can you tell me why?
    How do i set custom headers in jsp?

    response.addHeader() will add a header that goes back to the response, usually to the browser. If something isn't intercepting that after that, it's not going to be there. I think it seems you are adding something to the wrong place. Perhaps a servlet filter could be used to add the header before the servlet/jsp page gets it.

  • WCF Custom - Solicit response port - System.ArgumentException: The provided URI scheme 'https' is invalid; expected 'http',

    Hi,
    BizTalk WCF Custom Adapter - is send in a solicit response port. It works with a http address.
    However, I need to point it to a Https location.
    I imported the bindings, and changed the address to https. I was able to re-import the bindings. The send port gets started. But, when we try send a message via the send port, it throws an error:
    Error Description: System.ArgumentException: The provided URI scheme 'https' is invalid; expected 'http'.
    Parameter name: via
    Any help is appreciated.
    Regards,
    Sharmishtha

    The error logs do not give any other information.
    Also, security is TransportCredentialOnly, with Basic - Client Credential Type.
    Regards,
    Sharmishtha
    Hi Sharmishtha,
    TransportCredentialOnly mode
    does not provide message integrity and confidentiality. It provides HTTP-based client authentication. You need to use either of the below security mode :
    Transport
    TransportWithMessageCredential
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Customer support - response t

    Forumites
    What do you consider the acceptable time for email response from creative. One day, two days a week? Please let me know as I cant be the only one with problems.

    NDIB,
    Did you get an automated reply mail back after posting to support? If not, probably your mail did not get through to them. If yes, you will need to reply back to them using the automated reply as quoted from the bottom of the mail.
    'If the problem persists or the issue experienced is unrelated to the above solutions, please reply to this e-mail and a customer support advisor will assist you further.'
    Jason

  • Setting a OAM custom authentication response

    I'm working on OAM 11.1.1.5.0 BP03 and trying to use a custom authentication plugin to add a response to the HTTP header. I need to add information to the HTTP header that cannot be provided by a response on the Protected Resource Policy.
    I can see using log entries that my plugin is working but I have a sample JSP landing page that OAM redirects to that just dumps out request.getHeaderNames and I don't see the value set by the plugin.
    I was assuming that the PluginResponse class would suit my needs but I've tried every type of PluginAttributeContextType and cannot get it to work.
    Is this possible? What code should I have written?
    Here's a sample of what I tried:
              PluginResponse response = new PluginResponse();
              response.setName("OAM_TEST_KEY");
              response.setType(PluginAttributeContextType.CLIENT);
              response.setValue("TESTVALUE");
              context.addResponse(response);

    Hi Ewan,
    Instead of writing a custom plugin and maintaining it in case future upgrades is going to be cumbersome. I would suggest introduce OVD in your environment. Create a Join Adapter. This Adapter would join your LDAP server and AD Server users using employee ID. That way you can use a supported configuration and avoid writing a plugin. Now the user visible to OAM via OVD would have the LDAP attribute of AD username and hence you can set it as a header variable. Or you can setup Sync between your LDAP and AD. Most of the industry standard LDAP servers such as OID, ODSEE etc allow you to sync user information. That way you can fetch AD username attribute to your LDAP server. It doesn't need to have same attribute in your LDAP server. It can be stored in any attribute of LDAP server with a valid value. All you need to do is set header variable using attribute which contains the AD username attribute value.
    Regards,
    Yagnesh

  • Customer support response ti

    I've sent an email concerning returning my micro for repair, and after submitting they state that they will reply within working day, it has been 3, how long should I wait before trying to contact them again?
    how long have other people had to wait for a response?

    well, just for refernece i sent the email from the email support page and on the confirmation email they sent me it is from [email][email protected]][email protected][/url],
    but i'm still waiting for a reply in person
    i sent it in english so i don't see a problem there.
    i mentioned this http://forums.creative.com/creativel...d=34806#M34806, i don't really think this should cause a delay in contacting me
    thanks Cat and SSR

  • Custom Challenge/Response Logic

    We have our own JSPs that validate a user based on challenge/response questions stored in our LDAP. What I would like to be able to do is once they have been authenticated via this method, continue on via the normal iDM pwd reset process. So, is there a method to call once I validate the user to create the iDM session and bypass the iDM challenge response screens?
    We are using iDM 6.0.

    Hi,
    I am able to locate the file..
    The error messages are available in userservcentermsg.xml under /identity/oblix/lang/en-us/ ..
    Regards,
    Srikanth

  • Custom notification/response? (wf_standard.block?)

    I have designed a workflow which which requires a user to review a document before continuing. The document is in the application which this workflow supports, and the user will access the document through this Web app. and enter their review comments. The review comments will be written to the application's tables.
    Is this the correct approach?
    1.) send a FYI notification to the reviewer where the message contains a URL to the document review page in the Web app.
    2.) issue a wf_standard.block to stop the process until the document has been reviewed.
    3.) issue a wf_standard.continueflow from the Web app. once the review is done to continue the process.
    Please let me know if there is a more simple way...
    --Andrew                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I discovered that the correct call to use from an external app to signal workflow to continue is wf_engine.CompleteActivity()

  • Customized responsibility not run " Supplier Open Balance Letter Report"

    I have customized standard Responsibility from " Payable Manager " , this Responsibility run the " Supplier Open Balance Letter Report" with completed Error Status . ?
    Even it has same Request Group " All Reports " and " Payables " Application.
    The Error Message in the log is =
    ERR REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    needs help urgently.
    Message was edited by:
    alihaddawi

    Dear,
    I have Enabled the parameters ( Debug Flag , Trace Flag) with checking Display of both , ran the Report got that from LOG this one:
    Payables: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXSOBLX module: Supplier Open Balance Letter
    Current system time is 23-SEP-2007 09:46:02
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_AS_OF_DATE='2007/09/01 00:00:00'
    P_SUPPLIER_NAME_FROM='BABYLON Eagles Security Co.'
    P_SUPPLIER_NAME_TO='BABYLON Eagles Security Co.'
    P_CURRENCY='USD'
    P_INCLUDE_PREPAYMENTS='Y'
    P_MIN_INVOICE_BALANCE='0'
    P_MIN_OPEN_BALANCE='0'
    P_DEBUG_FLAG='y'
    P_TRACE_FLAG='y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AR8MSWIN1256
    LOG :
    Report: F:\oracle\prodappl\ap\11.5.0\reports\US\APXSOBLX.rdf
    Logged onto server:
    Username:
    LOG :
    Logged onto server:
    Username: APPS
    ERR REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 3
    Cause: The program terminated, returning status code 3.
    Action: Check your installation manual for the meaning of this code on this operating system.
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 268930.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 23-SEP-2007 09:46:03
    ---------------------------------------------------------------------------

Maybe you are looking for

  • How can I change the Save as PDF view?

    Whenever I save a website page on Safari, or an e-mail or a document as a PDF file,  I click File, Print and then PDF when the print page comes up.  I then click Save as PDF which brings up what appears to be a Finder window.  The problem is all my f

  • Having trouble upgrading "The Complete U2" to iTunes Plus

    I purchased "The Complete U2" in early 2005. When iTunes went DRM-Free/256kbps "The Complete U2" was not immediately available. Apparently, on 05/23/09, for many who had purchased "The Complete U2" like I did, the collection became available for upgr

  • Problems with configure soa option in linux

    Hi all, I cannot configura soa in ubuntu, I get a error message saying that failed after 9 min, I think it is something related to the hosts file and I have no idea how to make this work and I really need to install BAM in ubuntu. Thanks Mario

  • BRSPACE create new tablespace for compressed table

    Dear expert, I'm plannng to create new tablespace  PSAPCOMP for compressed table by brspace. the current total size of the tables that i want to compression is 1T. Now i have  2 question about the brspace script 1.How big size should the PSAPCOMP be

  • 11G vs 12C

    Hi We are migrating our 11g standard database to 12c, however the first thing that we noticed is that EM is no longer part of the Oracle Database Installation. In the past, EM was installed by default in 11g, however in 12c is not even an option. Wit