Web Service to just do .setProperty() and .store()

I am working on a Portal Component in the PDK for .NET which will take values selected from a CheckBoxGroup, concatenate it to a string and write that to a single Personalization preference.
However, the PDK for .NET does not support writing Personalization preferences to the PCD. Thus, I have determined the solution to be:
Make a Portal Service that takes a value and writes it to the Personalization of an iView. Basically it needs to simply do a:
IPortalComponentProfile profile =
request.getComponentContext().getProfile;
profile.setProperty("selectedVal", myData);
profile.store();
Then this will be converted to a Web Service. However, how will the Web Service know what iView its writing Personalization for?
I've searched and searched and come up with little clues here and there that I've somewhat pieced together but no concrete solutions. Please help. This is pretty urgent. Thanks! --Shibli

Hi Shibli,
I don't understand the limitation. You can build a portal service and expose it as a web service. The service can take the PCD address of the iView to personalize, plus the attribute value, as parameters.
The underlying portal service can do whatever you want it to do -- in this case, write to the PCD. There should be no limitation due to web services or .NET.
Hope this helps.
Daniel

Similar Messages

  • Consuming web service in PI 7.3 and creating file

    Hi,
    I need to consume web service in PI 7.3 and create file from response. I have WSDL for the web service. Now confused about datatype/message type. Is there any document/note to follow?
    thanks,
    7Z

    I need to consume web service in PI 7.3 and create file from response. I have WSDL for the web service. Now confused about datatype/message type. Is there any document/note to follow?
    ==>
    Hi,
    There are 2 ways you can do this :-
    If your sender is a file and receiver is a webservice and you want to map the response back to the file then :-
    Sol 1 :- Async-Sync Bridge using RequesResponse Oneway bean
    Sender File channel ---> Soap Receiver Channel
    Soap Receiver Channel brings the response back to the File Receiver Channel.
    Now this File Receiver Channel should be called inside the Sender File Channel using the above bean.
    Data Type :
    Src - File struc to SOAP request (WSDL used as an external definition)(mapping 1)
    SOAP response(WSDL used as an external definition) to Tgt File Struc (mapping 2)
    Sol 2 :- Async Scenario
    Make a Sender File Channel --> use SOAP lookup channel (pass the request payload through the SOAP receiver channel) --> Map the response back to the File using File Receiver Channel.
    Data Type:
    Src - File struc to Tgt File Struc (mapping 1). Since you are passing the request payload through SOAP lookup in the UDF itself.
    ======================================================================

  • Sending plain request to web service using receiver sender adapter and PI and expecting as attachment as response

    Hi
    In my scenario,we are sending plain request to web service using receiver sender adapter and PI will receive response as excel attachment. What are standard module required to achieve this and sequence? or checking Keep attachment box will help us to achieve this? 
    is it possible to receive excel sheet as attachment from receiver soap adapter ?
    Thanks in Advance

    Hi,
    This issue might be due to the invalid .pem certificate file.
    Make sure to include the beginning and end tags on each certificate.                   
    The result should look like this:                
    -----BEGIN CERTIFICATE-----
    (Your Primary SSL certificate: your_domain_name.crt)
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    (Your Intermediate certificate: DigiCertCA.crt)
    -----END CERTIFICATE-----
    For more detailed information, you could refer to:
    https://www.digicert.com/ssl-support/pem-ssl-creation.htm
    Regards

  • Informatica Web Services - Multiple Occurring Elements - PK and K

    I'm pretty sure that this is not the first error message in the session log; please check if there's any other message which precedes the message you've listed.If there are no accompanying messages, then please look in the Integration Service log whether you find any hints there.If that doesn't help either, I fear you will have to open a service request at Informatica Global Customer Support. Regards,Nico

    I have a web service that does address validation and provides a  suggestion list of addresses. I understand there will be a PK - FK  relationship in the SOAP response. I am currently getting the following  error: SDKS_38502    Plug-in #302600's target [o_Output::X_n4_Envelope:  Partition 1] failed in method [execute]. Is this a writer issue? If so,  what is the solution to fix it?  Thanks,Eric

  • Web Service to do Java PDK .setProperty() and .store()

    I had posted this in the EP Content Development group, but received no response. Sorry for the cross post but this is relatively urgent for me.
    I am working on a Portal Component in the PDK for .NET which will take values selected from a CheckBoxGroup, concatenate it to a string and write that to a single Personalization preference.
    However, the PDK for .NET does not support writing Personalization preferences to the PCD. Thus, I have determined the solution to be:
    Make a Portal Service that takes a value and writes it to the Personalization of an iView. Basically it needs to simply do a:
    IPortalComponentProfile profile =
    request.getComponentContext().getProfile;
    profile.setProperty("selectedVal", myData);
    profile.store();
    Then this will be converted to a Web Service. However, how will the Web Service know what iView its writing Personalization for?
    I've searched and searched and come up with little clues here and there that I've somewhat pieced together but no concrete solutions. Please help. Thanks! --Shibli

    Hi,
    I took a look at the portal javadoc and there is another getComponentContext method that gets a string, urn, perhaps that will help.
    Take a look <a href="https://media.sdn.sap.com/javadocs/NW04/SP12/runtime/com/sapportals/portal/prt/component/IPortalComponentRequest.html#getComponentContext(java.lang.String)">here.</a>
    Regards,
    Tsachi

  • Creating Web Service in Eclipse with Axis and Tomcat

    Hi I'm quite new to web services. But I got a compiled class that i want to create a web service of. Since this class is compiled and lies in a package I can't just use the WTP and create a Buttom Up Web Service. So I created av wrapper class to this class to see if that would solve the problem, but i still get error messages that it's not JAX-RPC compliant. I've decompiled the class file I want to create a web service of and made a wrapper class with an interface around this class.
    package org.ejbca.core.protocol.ocsp;
    import org.bouncycastle.ocsp.*;
    public class OCSPResponse
    public OCSPResponse()
    resp = null;
    fnr = null;
    httpReturnCode = 200;
    errCode = 0;
    public OCSPResponse(OCSPResp ocspresp)
    resp = null;
    fnr = null;
    httpReturnCode = 200;
    errCode = 0;
    resp = ocspresp;
    public int getHttpReturnCode()
    return httpReturnCode;
    public void setHttpReturnCode(int code)
    httpReturnCode = code;
    public int getErrorCode()
    return errCode;
    public void setErrorCode(int code)
    errCode = code;
    public String getFnr()
    return fnr;
    public void setFnr(String fnr)
    this.fnr = fnr;
    public OCSPResp getResp()
    return resp;
    public void setResp(OCSPResp resp)
    this.resp = resp;
    public int getStatus()
    Something
    private OCSPResp resp;
    private String fnr;
    private int httpReturnCode;
    private int errCode;
    OCSPResp is an object from boncycastle, as i found out one of the problems is that OCSPResponse is a non Non-Built-In Data Type and don't just contain bulit-in datatypes.
    So can anybody give me a detaild input on how to solve this problem, including some hints on how to create a wrapper incase I've done something wrong.
    Tommy

    Try having a look at the following tutorial on how to create web services in PeopleSoft.
    Integration Broker basics for the PeopleSoft developer | Blogging About Oracle Applications

  • Create web service consumer client with Ant and wsdl

    How can I create a web service client with just Ant and WSDL?
    Thanks.

    Hi,
    Did you check this web log?
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • Web Service ASMX parameter show twice and i only need one

    I'm sorry, i don't found appropiate category for this question.
    I have this code is web service asmx
    Public Structure AA
    Public Num As String
    End Structure
    Public Structure Resp
    Public Ret As String
    Public Men As String
    End Structure
    <WebMethod> _
    Public Function RecTab(ByVal dd As List(Of AA)) As Resp
    Dim strucResp As New Resp
    'Do something
    strucResp.Ret = "0"
    strucResp.Men = "Message"
    Return strucResp
    End Function
    When i publish, SOAP 1.1 show AA twice and just need one
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <AA>
    <Num>string</Num>
    </AA>
    <AA>
    <Num>string</Num>
    </AA>
    </dd>
    </RecTab>
    </soap:Body>
    I try with
    Public Function RecTab(ByVal dd As AA) As Resp
    but on SOAP 1.1 doesn't show AA, i get this
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <Num>string</Num>
    </dd>
    </RecTab>
    </soap:Body>
    I need three levels dd, AA and Num, but just once. How i do to get this?
    <soap:Body>
    <RecTab xmlns="http://tempuri.org">
    <dd>
    <AA>
    <Num>string</Num>
    </AA>
    </dd>
    </RecTab>
    </soap:Body>
    Thanks

    Hi Dave
    I checked your account and saw that the duplicate subscription has been cancelled and a refund processed.
    Kind regards
    Bev

  • Beginner question about Web Services pack just released

    Hi all,
    I have seen that Sun just released Web Services early access Api. I'd like to
    know if this Api are compatible with Weblogic standards for Web Services. For
    example can I use the Sun's JAXM Api with Weblogic for creating and sending Messages?
    or do I have to use weblogic Api to do this?
    Thanks
    Francesco

    It defines what the parameter names should be exposed as in the wsdl.
    Without specifying it JAX-WS for example would just name the arguments as arg0 and arg1 which i not very meaningful to the client programmer who will use your web service.
    - Roy

  • Calling a Web Service in another Web Service using JDev10.1.3 and AS 10g

    I am using JDeveloper 10.1.3.0.4.3673 and Oracle AS 10g 10.1.3 on Windows XP Professional Version 2002 service pack 2.
    Has anyone called a web service in another web service? I have not researched this yet. I assume it is possible. I need to get this figured out asap.
    My guess is that
    1. For the web service which is going to be called in the other web service, you need to create client-side proxy to call the web service - create a static method to instantiate and call the service.
    2. I would deploy this client-side proxy Stub which calls the web service along with the other web service which calls it to the Oracle AS 10g.
    Is this right? Is there any documentation on this specific thing?

    Hi,
    rhis kind of orchestration is what BPEL is made for.
    http://www.oracle.com/technology/products/ias/bpel/index.html
    Frank

  • Web Service Proxy with Dynamic IP and Port

    hi,
    I am currently looking at the Web Service Proxy generation in JDev 11g. I can generate proxies fine, but the proxies are generated with static host and port. I want to substitute the host and port during runtime if required, for instance read the values from a database. I need to do this to avoid compiling the application for every deployment we make dev, test and production. Is there an easy way to set the generated proxy host and port? Are there any examples?
    Thanks in advance!
    Stephen

    Hi,
    Maybe you should have a look on XML Catalogs feature, but I am not sure if JDeveloper support it and how to support it.
    -LJ

  • When I click on "System services" it just stays highlighted and have to close the settings down

    I have been have problems with my Iphone5S battery life recently, I have followed the steps to save as much battery life as possible and I went to a genius bar as I thought the battery may be on its way out but they ran tests and told me its still a healthy battery, in the 90% mark and anything over 80% is good especially when I have had over 500 charges. They told me software errors and crashes have occured a lot and to complete a fresh install of IOS which I'm hoping i factory settings, which I have just completed yesterday and so the software is completely new. I have found that the battery has already decreased by 10% in 20 minutes without hardly any use, I wanted to go to system services and turn off certain services and it just freezes on this title when clicked on and I have to close the setttings app down double tapping the home button. Has anyone else noticed this issue and does anyone reccomend any advice, do I need a new battery etc?
    thankyou

    UPDATE
    I have solved the settings issue so the main issue is have I reset the phone correctly and should I replace my battery? thanks

  • Web Service: Response has null value and no exception is thrown

    Hi
    I have generated a Web Service Proxy in JDeveloper 11gR1 against a web service.
    My problem is that if I try to invoke the web service programmatically the only property on the response object has the null value. I can inspect the response in the Http Analyzer and it seems to understand and display content of the response properly.
    I have debugged the service proxy and discovered that the set-method on the property is never called. No exceptions are thrown, so it is very hard to see where to start solving this issue!
    Any ideas?

    When a webservice provides a response that is not valid according to its wsdl, a webservice proxy in 10g will give useful error messages such as "Missing element 'xxx'."
    In 11g the web service proxy simply sets non-valid values to null, quietly accepting the invalid response. Is this the intended behavior?
    Is it possible to enter a debug mode, where the webservice response is validated against the wsdl as in 10g?
    I appreciate any help on this question.
    Thanks!

  • Web service hangs without any errors and exceptions

    hi all,
    We have a ejb application web service that is binded with shedular bc to trigger for every 2 hours
    and it runs for one and half hours making continous transactions with database..
    In the web service a outer for loop will be iterated by fetching list of data from database. And this list will be iterated in the inner for loop.
    This logic works fine for sometime, but suddenly after some random period of time without any errors and exceptions the outer for loop gets no list from database
    and the inner for loop is never executed and the web service completes processing.
    This i can able to see form my log files.
    i dont understand why the list is not fetched from the database, is the problem with hibernate or it lost the connection with database,
    either case it has to throw exception but the service is not.
    otherwise does this is garbage collector issue.
    Thanks in advance,
    Bye

    Without any code to see what's going on we'd be flying blind trying to answer this one.

  • Integrating Web Services Manager with Oracle Portal and SSO

    Hi,
    I wanted to throw this out there and make sure I was on the right track and also if somebody can point me to some resources online that might help. Basically, we have OWSM acting as a Gateway securing some web services. Oracle Portal is integrated w/ Oracle SSO (as well as using OID). What is the best way to pass the credentials to the OWSM from the Portal for authentication purposes? I believe using SAML voucher token is the way to go, but I'm not positive. Has anybody done this before and if so, what methodology did you use? I'm assuming since using SSO, we don't necessary want to also pass in the password.
    Thanks,
    Nathan

    I have noticed that nobody has same kind of situation and this is not intresting question. Still we have same problem and I have heard many oracle employee saing that this behaviour is wanted situation. In our kind of virtual host enviroment it would be nice to choose behaviour of Single-sign-on server and I request oracle support to find out ways to enable this option... I would be pleased if some oracle development would say opinion about this mater. Waiting for ideas.

Maybe you are looking for

  • Ipod touch (4th gen) not recognised by windows 7 computer!

    Hello everyone I have been unable to use itunes for a good while now because my computer will not recognise my ipod touch. My laptop makes a noise like it is configuring when I plug my ipod into it but then absolutely nothing happens. When I checked

  • Apps no longer working?

    I'm on vacation and tried to access my Facebook application. The icon is there, and when I click on it it acts like it's going to open, but then it returns to the main page. It does this for all of my applications that I have uploaded. I tried both r

  • Pricing conditions sales order

    Hi all, I need  to simulate order creation. I need to see how netwr chenge do to pricing conditions value modifications. I'm using FM SD_ORDER_CREATE, it works fine but when I pass to FM a value ' 0' for a pricing condition it return me default value

  • Change defaults on guest account

    Hi. I've been searching for this answer for a couple of hours now. And the only tricks i've found was to old i think. (from 2008-2011) I want to change the default settings on my guest account. The dock, startpage on safari, background and so on. I h

  • Why does Discoverer put my custom function into GROUP BY

    To make things clear with simple example: I have 10 id's from people (people.id) and sum function on their salary [sum(people.salary)] during a period of time that i set in my parameters. The sql looks something like this: SELECT PEOPLE.ID ,SUM(PEOPL