Links to Web Service Data Control for complex data types

Hello Forum members,
Could anyone please post good reference links to docs/blogs illustrating how to create and use a Data Control for a Web Serice Proxy Client providing interfcae for a complex xml schema ?
Any help highly appreciated :)

http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

Similar Messages

  • Managed Beans vs. POJO Data Control for sharing data

    Hi,
    I am currently using JAX-WS proxy client and POJO Data Controls to retrieve data from web services. This data needs to be shared across users. Normally I would use application scoped managed beans for this, but since I prefer using data controls and the binding layer, would using static POJO Data Control classes achieve the same thing?

    Hi,
    Data Controls don't exist across user sessions so in your use case use a managed bean in application scope. If you want to make this available from a Data Control
    - create a POJO
    - Use EL in the POJO to access the managed bean
    - Create a DataControl from the POJO
    This way the Data Control exposes the data as an API but itself always reaches out to the managed bean as a data store/cache
    Frank

  • Consuming an ASP web service which responds with complex data types...

    Here's my problem - I'm trying to consume a web service from a provider that uses complex data types.
    The starting part of the WSDL looks like this (I've not included the whole thing) - named have been changed to protect the innocent:
    <wsdl:definitions targetNamespace="http://domain_name">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://domain_name">
    <s:element name="Authentication">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string"/>
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string"/>
    <s:element minOccurs="0" maxOccurs="1" name="Token"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="AuthenticateResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="AuthOK" type="s:int"/>
    <s:element minOccurs="0" maxOccurs="1" name="Token"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    Since it's a complexType return, with a sequence, I'd expect an array or structure returned, but instead I just get the "AuthOK" value, and no way to get anything else.
    Here are the ways I've tried calling it:
    <cfscript>
        WS = createObject("webservice", "https://WSDL_URL");
        WS_ret = WS.Authentication(Username = "username", Password = "password", Token = "");
    </cfscript>
    <cfdump var="#WS_ret#" />
    <cfinvoke webservice="WSDL_URL" method="Authentication" returnVariable="WS_ret">
        <cfinvokeargument name="userID" value="7253320" />
        <cfinvokeargument name="password" value="ctpjxs3" />
        <cfinvokeargument name="SecurityToken" value="" />
    </cfinvoke>
    <cfdump var="#WS_ret#" />
    Any ideas how I can get the other variables in the sequence? I have other calls after this that have a much larger amount of variables, and as such I can't use it without being about to get more of the

    Thanks for the reply.
    If I CFDUMP the variable it returns just "1", no XML tags, nothing at all around the data - according to the web service providers they say that they are supplying the Token part as long as the first variable is "1" (a logical true if the authentication passed). If it is "0" then no Token is returned, that is why it's optional.
    As for the CFdocs issue, look here:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservices_25.html
    The paragraph before it (about 2/3 down the page) states:
    In this example, the operation updateEmployeeInfo takes a complex type as input and returns a complex type as output. To handle the input parameter, you create a structure. To handle the returned value, you write it to a ColdFusion variable, as the following example shows:
    It even states that you call "updateEmployeeInfo", and nowhere mentions "echoStruct" as a method - it's seemingly been put in as a random method name, or a function call for something else. The WSDL above the example only mentions "updateEmployeeInfo" and "updateEmployeeInfoSoapOut", again not mentioning "echoStruct".
    I see this as an error in the docs as it's calling a non-existant entity in the WSDL, which should cause a run-time error.

  • Web service data control for asynchronous bpel process

    I have an async BPEL process that I want to call from a JSP page. I followed the tutorial for creating a data control for web services. When the DC was created, it created an initiate operation that requires the ReplyTo and MessageID. I thought these are internal to the runtime stack, so why are they part of the data control? How do I get around it?
    Thanks,
    Rico

    http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

  • Slow attachment upload with Exchange Web Services (Outlook 2011 for Mac?)

    We're experiencing slow attachment upload with Exchange Web Services versus MAPI, OWA, and Outlook Anywhere.  I'm not totally certain that it is Exchange Web Services or specifically Outlook 2011 for Mac.  I attempted to test with the Mac Mail
    App, but it makes it difficult to tell when the attachment has been uploaded and the file has been sent.  Here's what we're seeing (10mb file):
    MAPI / RPC/HTTPS / OWA: 10-15 seconds upload time
    Exchange Web Services (Outlook 2011 for Mac): 60-90 seconds upload time
    Thoughts? Any idea why we would see such a drastic difference in attachment upload time?  Any way to prove definitively that it is Exchange Web Services vs. Outlook 2011 for Mac?  We've tried it from multiple locations with multiple different machines,
    and although the upload times vary (some locations have more bandwidth etc) the ratios remain similar.

     
    Hi ,
    Does all the user occurred the issue ?
    If only special user, I recommend you do the following steps and test:
    1.Remove and re-add the email account and check if this helps to resolve the issue.
    To remove and add the email accounts:
    Open Outlook > GO to Tools > Accounts > Click on "Minus" symbol to remove and "Plus" to add an Email account.
    2.Creating a new user profile:
    http://support.microsoft.com/kb/2439218/
    3. If the issue persists, rebuild the data base and check the results:
    http://support.microsoft.com/kb/2360509
    You can also post it on Office for MAC forum  to get special support about the difference between Outlook and Outlook for MAC.
    http://www.microsoft.com/mac/support
    Wendy Liu
    TechNet Community Support

  • Web services manager control login problem

    hi,
    I have installed SOA suite using Advanced installation type.
    After installation I am able to login into BPEL Console and it's working fine , but unable to login into web services manager control(http://localhost:8888/ccore) with oc4jadmin user...
    I found below errors in ccore.log file
    2008-10-03 09:33:45,879 INFO [AJPRequestHandler-HTTPThreadGroup-54] userregistry.UsersTable - isValidUserPassword() failed for oc4jadmin
    2008-10-03 09:33:45,879 INFO [AJPRequestHandler-HTTPThreadGroup-54] sampledb.LocalDBAuthProvider - The error in authenticate for user : oc4jadmin
    2008-10-03 09:33:45,879 SEVERE [AJPRequestHandler-HTTPThreadGroup-54] uibeans.LoginBean - Error when authenticating user. Invalid user id or password
    2008-10-03 10:17:30,744 SEVERE [AJPRequestHandler-HTTPThreadGroup-54] userregistry.UsersTable - isActiveUser() failed for oc4jadmin
    com.cfluent.utils.db.DBException: ORA-01017: invalid username/password; logon denied
         at com.cfluent.utils.db.DBContext.getConnection(DBContext.java:95)
         at com.cfluent.db.userregistry.UsersTable.isActiveUser(UsersTable.java:2599)
         at com.cfluent.db.userregistry.UsersTable.isValidUserPassword(UsersTable.java:2996)
         at com.cfluent.accessprovider.sampledb.LocalDBAuthProvider.authenticate(LocalDBAuthProvider.java:61)
         at com.cfluent.access.AccessSessionFactory.isAuthenticated(AccessSessionFactory.java:137)
         at com.cfluent.access.AccessSessionFactory.createSession(AccessSessionFactory.java:92)
         at com.cfluent.webui.uibeans.LoginBean.authenticateUser(LoginBean.java:31)
         at com.cfluent._coresv._Login._jspService(_Login.java:354)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.i18n.servlet.filter.ServletFilter.doFilter(ServletFilter.java:130)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:277)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:647)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
         at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at com.cfluent.utils.db.DBContext.getConnection(DBContext.java:86) ...
    can any one help me resolve this problem..

    You need to enable JSSO if you want the oc4jadmin password to be in scync with the other AS products. If you just want to login with oc4jadmin you perform the following steps. PLease note that if you change the passord in EM you will have to make these changes again to keep the password the same. JSSO is a cleaner solution.
    To change the default password for the user "admin", follow these steps:
    - delete admin user
    - add admin user back
    - add admin user to the super user group "su1-grp"
    1. Go to OC4J_HOME/owsm/bin directory and modify manageUserGroups.properties
    user_id=admin
    user_name=admin user
    user_password=yourNewPassword
    user_email=[email protected]
    group_id=su1-grp
    group_desc=super user group
    2. Delete the existing admin user by executing
    wsmadmin manageUserGroups deleteUser
    4. Add the admin user again by executing
    wsmadmin.bat manageUserGroups addUser
    5. Add admin user to super user group
    wsmadmin.bat manageUserGroups addUserGroup
    The admin user password is changed.

  • Web Services Manager Control, SOA Suite, Retrieving Roles from OID

    I am a bit confused about mapping of groups and privileges when it comes to the LDAP (in my case oracle internet directory, OID) and groups defined by Web Services Manager Control.
    I am using Web Services Manager Control->Manage Policies to define a gateway (or agent) for my web services. Through      
    Policy Management > Manage Policies > Policies > Policy
    I have also defined some pipeline steps which require authorization by an LDAP provider.(OID)
    I need two things:
    - First I have such roles and groups here in Web Services Manager:
    Administration > Groups / Roles
    Group Name      Role Name      
    su1-grp      Super User      
    da1-grp      Domain Administrator      
    ca1-grp      Component Administrator      
    ca2-grp      Component Administrator      
    which could be set for view and modification of web services. What is the relation between these groups and user groups in Oracle Internet Directory which I authorize against?
    - Second, my web services are invoked from pages which access to them involves authentication and authorization against OID. I need the username/password to be propagated to the webservice automatically. If the web service is presented as a button on such pages, for example, I don't want the user to be forced to enter username/passwords for each call to the services/
    I appreciate any comments or reference to books and documents.
    Thank you in advance.
    Best Regards,
    Farbod

    Hi Farbod
    Your problem is not new and i have posted in couple of other threads before.
    Roles in OID are for you to authorize the web service message itself. In your case when the user logins to your web application and calls the web service, you have to do two things:
    a) Extract Credentials
    b) AUthenticate against LDAP
    c) Perform authorization against LDAP
    Now the trick part is, you have to have the same username and password. You have to capture and store in session( ugly ugly..from security point of view) and then when you call the web service, you then invoke with the username and password.
    There are other better options available but might require additonal work or infrastructure.
    If your web application is protected by Oracle Access Manager or siteminder, you can pass those cookies.
    Next option is using SAML. You can generate SAML token on behalf of the user, and attach the SAML token to the web service messsage. In OWSM you then configure to validate SAML token and then you have to write custom step to extract the user name and perform any authorization.
    Since anyway you have to write custom step, third option is you can send encrypted cookie ( You web application can create a login session cookie -encrypted after the user signed in ). In OWSM you can write custom step to decrypt the cookie and then perform any validation.
    You have the easiest option of sending the same username and password with a security risk, or a custom development approach.
    Thanks
    Ram

  • Can I generate web service jcs control outside workshop?

    I want to generate a web service control, like I do in workshop, but not
    from the workshop IDE. I noticed workshop looks like it uses ant tasks for a
    good deal. Is there an ant task, or anything, I can use outside workshop to
    generate a web service jcx control?
    thanks

    Hi,
    I cannot confirm whether or not this is a known issue or even a defect. Out of instinct I am building Web Services proxies in their own project because it generates artifacts e.g. for the return types that I don't want to see lying around in my Web Services project. So I assume that it is considered best practices to not put them into the same project to avoid file overrides
    Frank

  • Where do I find my web service information sheet for hp deskjet 3510?

    Where do I find my web service information sheet for hp deskjet 3510?

    Hi,
    Please use the following instructions:
    Option one: If you see an ePrint buttonOn the printer control panel, press the ePrint ( ) button to open the Web Services menu.
    If Web Services is enabled , touch Print Info . An information sheet prints that has your claim code.
    If Web Services is not enabled , touch OK to accept the terms of service, and then touch OK to accept the update. An information sheet prints that has your claim code.
    Option two: If you see a Setup iconOn the printer control panel, touch Setup ( ), and then touch Web Services Settings .
    If Web Services is enabled , touch Print Info . An information sheet prints that has your claim code.
    If Web Services is not enabled , touch Continue , touch Yes to accept the terms of service, touch Yes to accept the update, and then touch Print Info . An information sheet prints that has your claim code.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Should we really go for bean data controls for a new project?

    Hi,
    I am still new data controls and trying to figure out the advantages of using bean data controls for our new project. Our UI is going to have customized UI components and our back end is going to be a tcp/ip server.
    Is it a good idea to develop java beans and then create data controls to bind to UI layer? I think it makes sense to use data controls if we want to use existing java beans. Maybe we would be separating the model layer by using data controls, but only thing it would be doing for us would be the simple object calls to my java beans. Would it be better to use data controls or use I choose to make object calls?
    Thanks,
    Manoj

    Hi,
    the POJO data control will always give you a benefit and develope productivity, unless what you have to build fits on a single page - in which case you may not mind the burdon of manual UI component binding
    Frank

  • Web Service execution failed for operation: ReadLogFile

    Hello,
    im getting the following error message in almost all of my Diagnostic Agent log files:
    [MAIJobObserver] ERROR occurred for metric collection
    00000000000000000019[com.sap.smd.mai.model.collector.SAPControlWSCollector].
    [EXCEPTION]
    com.sap.smd.mai.model.collector.CollectorException:
    [SAPControlWSCollector.collect] Web Service execution failed for operation:
    ReadLogFile. Collector : [SAPControlWSCollector]
    Id: 00000000000000000019,
    SID: EPX, instance number:00
    at
    com.sap.smd.mai.model.collector.SAPControlWSCollector.collect(SAPControlWSCollector.java:200)
    at
    com.sap.smd.mai.job.MetricJobRunner.run(MetricJobRunner.java:25)
    at
    com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)
    at
    com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
    at
    java.lang.Thread.run(Thread.java:722)
    Caused by: java.rmi.RemoteException:
    Service call exception; nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:http://<hostname>:50013/SAPControl.cgi
    I checked on SAP note 1563660 - sapcontrol, <sid>adm authorization issues (SUM) and confirmed, that ALL installations of the "sapuxuserchk" program are set with "chown root.sapsys" and "chmod u+s,o-rwx". I restarted the diagnostic Agent aftwards.
    I also checked on host_profile an made sure, that the parameter "service/admin_users = daaadm" is set.
    Still I get the above error messages, so I am at a loss what else to do...
    A lot of thanks for your Support !
    Best regards,
    Thorsten

    Hi Thorsten,
    Please check the user used for registration of Diagnostic agent to Solution Manager has appropriate roles assigned (e.g. user SMD_ADMIN)
    Also please update to latest patch of SAP Host agent and then try again.
    Hope this helps
    Thanks & Regards,
    Nisha

  • Why we are not using "Message Control" for Master data ?

    Hi friends,
    We are using Message control as output determination for Transactional data, <b>what is the main reason for not using the msg control for Master data.</b>Please explain with details...
    I am very thankful to them...
    Thanks and Regards.
    <i><b>Naveen Kumar. Chamala</b></i>

    Hi Naveen,
       Listing down those I know -
       1. Master data is expected to be changed/created less frequestly.
       2. Transactional data is expected to be chnaged/created more frequestly.
       3. Transactions to create/change/display master data do no have message control integration, since you are not supposed to print/fax/mail master data to your partners.
       4. Distribution of master data in generally supposed to happen within Enterprise boundry and typically you will have one central server maintaining master data which will be distributed to multiple downstream operation system (Some thing where MDM fits). So ideally when distributing master data using ALE you will be sending it to multiple systems.
       5. Distributing transactional data PO/SO etc is same as sending fax/print which fits with the requirement of message control.
    Hope this helps,
    Regards,
    Sanjeev

  • DO Web Service allow you to retrieve data from database and make it pluggab

    Can Web Services allo you to retrieve data from the database and do they make the pluggable by allow you to plug them into any database.. how is that possible....

    Going through the javaee tutorial is one sure way of accelerating your learning curve, as almost every basic you will need to get your job done is explaiined well in there. i have been using it to learn building enterprise application and is awesome good resource.
    seriously consider downloading it
    java.sun.com/javaee/5/docs/tutorial/doc/

  • What are web services in SAP for interface peoplesoft

    1. What is web services?
    2. which are web services used in SAP?
    what are web services in SAP for interface peoplesoft

    Hi,
    For R/3 4.7 based on WAS 6.20, If you activate the /sap/bc/soap/rfc service in SICF, you activate the possibility to use all RFC enabled function modules as web services.
    Suppose you want to test with function module STFC_CONNECTION
    You will access the WSDL with this URL
    http://<host>:<port>/sap/bc/soap/wsdl11?services=STFC_CONNECTION&sap-client=<client>
    You will call the web service with an HTTP POST to this URL
    http://<host>:<port>/sap/bc/soap/rfc?services=STFC_CONNECTION&sap-client=<client>&sap-user=<user>&sap-password=<password>
    >HTTP 500 Internal server error occurs u2013 Page cannot be displayed
    If you tested the call with a web browser and not a web service client, this is perfecly normal.
    The browser sends an HTTP GET with no SOAP enveloppe...
    On our R/3 4.7 production system we call up to 30 web services per second. It works great !
    Regards,
    Olivier

  • Is there an Web Services implementation (JSR172) for Pocket Pc?

    Hi,
    I'm currently using IBMs J9 MIDP2.0 jvm but can't seem to figure out where to find an web services (jsr172) implementation for PocketPC. Does it even exist? Does IBM provide one?
    I have tried to update WSDD, and this way I managed to download Web Services, bur for x86 and Palm only.
    I've also downloaded the reference implementation from Sun, but this is said to support CLDC 1.0.4 only, stability is not guaranteed on CLDC1.1.
    Thank you,
    Regards Andreas

    It's not an easy question to answer. So many other variables.
    Mac or PC, high speed cable versus lower connection speeds. Network traffic and the speed of your server also play a big part in your visitors experience.
    Add to those your desire to play back a file type that requires the viewer to have a very fast computer. I'd guess that less than a third of the computers in use can properly play most HD files (even the small sized ones).
    Your Mac is a monster! What you view on it isn't close to what I would see on my Mac mini.
    I would suggest you first figure out a display size of your file. Think small.
    I (personally) would avoid H.264 unless you know your target audience would only be using "high end" equipment. Hard to pick your audience for a Web based file.
    There are html "tricks" that can change the display size of your source movie. If you used a 480X360 (4:3 aspect) source you could "bump up" the display to 800X600 without too much loss in visual quality. Those "tags" are scale="tofit" and the to fit size is your height and width used in the html code (not the source file). Saves bandwidth and gives a better user experience.
    Since your file will be "downloaded" (not streamed) you could instruct your visitors to do some other work while your file downloads. Neck stretches, clean their monitor or pour another cup of coffee.
    If your goal is HD your visitors must know that these files are huge and that they take a very modern computer with plenty of horsepower.
    Your only other option is to reduce the file to more "standard" definition.

Maybe you are looking for

  • 8.1.7 management server can't start

    I tried to delete a DB service with oradim (W2K SP4, Oracle 8.1.7.0.0). Since then the management server can not start, with Windows error message Error 1075: The dependency service does not exist or has been marked for deletion. In services/properti

  • Alter table script for wrong database version

    When we generate an alter table script by connecting to a database, the scripts that get generated are for database version 7.3. Furthermore we cannot update the field "oracle version" for the database we created. When we choose a database version fr

  • Why don't some apps show up in my ITOUCH screen?

    I have a couple of apps that I have had on my Itouch 3rd gen for quite a while. One day after I synced, they no longer showed up anywhere. The apps are still on the ITouch but I have to go to the search screen and type their name in order to access t

  • Network, wireless, Airport disappeared,

    Hi, first my airport could not connect to the wireless net (it was off and I could not turn it on). i tried to remove the airport icon to put it back but i couldn't put it back. Now i have not icon and no Connection What to do?? Please help Masana

  • EWA reports in grey colour

    Dear friends, I have a problem with the EWA reports. It shows me grey colour - Rating not Determined (Gray) - SAP EarlyWatch Alert The EarlyWatch Alert session is not executed due to critical data quality issues. Check the data quality in the 'Servic