Need Web services guides or book to learn and deploy...

can any one help me out in getting some online books or guides for Webservices....

Just download J2ee tutorial from sun's wesite. Its free.

Similar Messages

  • Do I need web services

    What is web services for and do I need to do the update?

    Hi,
    For all printers which support ePrint, you need web services. 
    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.

  • Web service functions in SSO without username and password

    Is there a way to use the Public Report Web Service functions when configured in SSO and without passing a username and password? I was able to try out the web service and make it work. As we all know, you need to pass a username and password for each web service call unless your reports can be accessed by guests. In an SSO + LDAP server configuration, there are cases in which you are not allowed to get the password. The password can not be decrypted.
    Is there a way to still use web service? or do you need to use the url approach instead? But if you use the url approach then you may be limited to generating reports only.
    I'm thinking there should be since if you are already logged in for SSO then you should be able to generate.
    Any way to configure this?

    <i>When I access web reports from bw.</i>
    i hope you are not talking about BEX web reports , since you have mentioned ITS.
    Is it a standlone ITS or intergrated ITS?
    can you post the url pattern here.
    Regards
    Raja

  • Q: General : When will you use Web Service as opposed to just Servlet and/or EJB?

    Hi,
    I don't know if this is an appropriate question to ask for this class as it's not
    workshop
    specific. I was wondering how will I decide when it is appropriate to use a web
    service as opposed to say servlet or an EJB for my application? What is a good
    rationale to use?
    Thanks,
    Sadhana

    Hi Adam,
    Thanks a lot for giving such a lucid explanation of my vague question!
    I understand now the difference between when to use EJBs/Servlets/Web Services.
    Thanks again!
    Sadhana
    "Adam FitzGerald" <[email protected]> wrote:
    >
    Hi Sadhana,
    Web service versus Servlet versus EJB. Which one to use? That is a very
    good question.
    EJBs should be the core desription and processing of your business rules.
    They generally
    have good performance, are easy to integrate into your security set up but
    they require
    access using the RMI-IIOP protocol. This means that generally EJBs are not
    accessible
    outside of your firewall and their clients have to be written in Java (other
    enterprise
    objects or applets or GUI applications).
    Servlets often form a web-based front end to EJBs. They also have good performance,
    integrate into security and only require HTTP access. This means they are
    accessible
    outside your firewall and any client with a HTTP or web API can call on
    them, however,
    there is no standard contract or rules for this type of interaction so you
    will need
    provide direct input into development of the client.
    Web services are also accessible via HTTP and so can be accessed from outside
    your
    firewall. In fact, Web services internally within Workshop and WebLogic
    actually
    operate by using servlets and EJBs but the main advantage is that the mechanism/contract
    for interacting with the web service is a well defined standard (WSDL) and
    can actually
    be registered or retreived dynamically (UDDI). Since web service standards
    are open,
    most popular programming languages already provide client APIs to interact
    with them
    thus freeing the web service developer from direct interaction with the
    client developer
    and letting the client be developed on any platform. The penalty for this
    openness
    is a small performance hit (XML translation) and a slowly maturing security
    model.
    So in summary, use EJBs for business operations that have Java clients within
    your
    enterprise, use servlets to provide web style access to your business operations
    (like web pages) and use web services to enable automated clients that can
    be written
    on any platform either inside or outside your enterprise (firewall). In
    fact, it
    is common to write the EJB first and then to expose some parts of it outside
    of your
    enterprise by writing a web service wrapper (maybe using the EJB controls
    that we
    saw in class).
    I hope this helps.
    Adam
    "Sadhana Jain" <[email protected]> wrote:
    Hi,
    I don't know if this is an appropriate question to ask for this class as
    it's not
    workshop
    specific. I was wondering how will I decide when it is appropriate to use
    a web
    service as opposed to say servlet or an EJB for my application? What is
    a good
    rationale to use?
    Thanks,
    Sadhana

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Security: web services on WLS 8.5, ALSB and proxy on 9.1

    Hi everyone, here's my current situation. I've got some web services running on WLS 8.5, and I've imported them as Business Services into ALSB. The web services themselves are not secured, but I modified the WSDLs so that I could create proxy services which enforce the security.
    The security enforcement works when I test it through ALSB test console. However, now I'm trying to create a client web service to invoke the proxy. The client is being made using Workshop running on 8.5 server.
    I can get the client to successfully invoke the proxy with no policies attached. Then I made a proxy with BEA's Auth.xml required for inbound messages. The keystores are identical on both the proxy server and the client server.
    <input>
    <wsp:Policy>
    <wsp:PolicyReference URI="policy:Auth.xml"/>
    </wsp:Policy>
    <soap:body use="literal"/>
    </input>
    I imported the WSDL into workshop and created a java control from it. I attached a WSSE policy file to the control:
    <wsSecurityOut>
    <encryption>
    <encryptionKey>
    <alias>flcoi1</alias>
    </encryptionKey>
    </encryption>
    </wsSecurityOut>
    Added this control into a blank web service. The only error being returned from the server is:
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.NullPointerException
    String:null
    Detail:
    END SERVICE FAULT
    with no further explanations. Does someone know what would cause this exception? Or if it's even possible to do what I'm trying (between WLS 8 and 9)?

    Hi!
    In my tries to get security to work between WL 8.x to ALSB I realized that WL 8.x don't have support for WS-Security (and therfore WS-Policy) that ALSB uses, but maybe there are some workarounds...
    /Patrik

  • Need steps to create ant scripts for publishing and deploying projects.

    Need steps to create ant scripts for publishing and deploying projects.
    Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
    Any working example would help me to understand, please do mail me at [email protected]
    Thanks in advance.
    -Sree

    Sreekant,
    Please find the build file to publish and deploy.
    <project name="deployProject"
    xmlns:fuego="antlib:fuego.tools.ant.enterprise"
    xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
              <property file="./Properties/fuego_deploy.properties"/>
              <fuego:passport id="fuego.passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish" description="Publish and deploy processes" depends = "takeInputs">
    <!-- Open a session to the Oracle BPM directory -->
    <fuego:session
    passportref="fuego.passport"
    verbose="true"
                   properties="${fuego.basedir}/conf/directory.xml"
    haltonerror="true" >
    <!-- Publish processes -->
    <fuego:publish fpr="${fuego.project.name}"
    deploy="true"
    engine="${fuego.engineName}"
                        importdata = "${fuego.importdata}"
                        automaproles="${fuego.automaproles}"
                        automapbuspars = "${fuego.automapbuspars}"
                        automapvars="${fuego.automapvars}"
                        automapconfigs = "${fuego.automapconfigs}">
    </fuego:publish>
    </fuego:session>
    </target>
    <target name= "takeInputs" >
    <input
    message="Please enter admin-username:"
    addproperty="fuego.participant"
    />
    <input
    message="Please enter admin-password:"
    addproperty="fuego.password"
    >
    </input>
    </target>
    </project>
    and find the properties I have used..
    fuego.basedir=C:\OraBPMEnterpriseHome
    fuego.directoryid=default
    fuego.engineName = bpmengine
    fuego.project.name = E:/antExamples/Project/CommonUtilities
    # If the below property is true then ant script imports data from the project, as defined in Studio.
    # This includes importing:
    #      •Holiday and Calendar rules
    #      •Organizational Units
    #      •Roles
    #      •Resource configurations
    #      •External Variables
    fuego.importdata = true
    #If the below property is true ant script automatically map abstract roles to real ones with the same name.
    fuego.automaproles=true
    #If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapbuspars = true
    #If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapvars=true
    #If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapconfigs = true

  • ERROR DEPLOYING A WEB SERVICE (SOA Order Booking application)

    Hi everyone...
    I got some problem here, I hope somebody help me...
    So...
    I've quite laboriously managed to get SOA Suite installed and I'm half way through the deployment of the order
    booking demo, and encountered an error that I can't find a reference to in
    online searches. I'm up to the step "4. Deploy the Credit Service application"
    and get the following error:
    Operation failed with error:
    Error compiling :/home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITS
    ERVICE-CreditService-WS/WebServices: Error instantiating compiler: Web service
    artifact generation failed:oracle.classloader.util.AnnotatedClassFormatError:
    Bad version number in .class file
    Invalid class: org.soademo.creditservice.types.com.globalcompany.ns.credit.CreditCard
    Loader: SOADEMO-CREDITSERVICE-CreditService-WS.web.WebServices:0.0.0
    Code-Source:
    /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITSE
    RVICE-CreditService-WS/WebServices/WEB-INF/classes/
    Configuration: WEB-INF/classes/ in
    /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITSE
    RVICE-CreditService-WS/WebServices/WEB-INF/classes
    Dependent class: oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer
    Loader: oracle.ws.client:10.1.3
    Code-Source: /home/oracle/product/10.1.3.1/OracleAS_6/webservices/lib/wsclient.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml
    in /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/oc4j.jar
    Deployment failed
    Elapsed time for deployment: 53 seconds
    #### Deployment incomplete. #### 20/06/2007 11:00:22
    So, does anyone can tell me what am I have to do?!
    Regards...

    I am currently having the same problem with the SOA Order booking demo application. All of the installation went fine until I tried to run the web client. Whenever I try to access http://localhost:8888/soademo, I get a 500 internal server error.
    Did you ever find a solution for this problem?
    Thanks in advance!
    Marita

  • Need Web Service implementation tutorial on SOA11g with weblogic 11g AppSer

    Hi Experts,
    I am new to webservice topic. I don't know ABCD of web service, but i got a task to implement webservice and need prepare xsd file to move 3 fields information from source system to target machine.
    Note: Target system have webservice to capture 3 fields information but I need to prepare a web service to capture 3 fields information from log file (normal text file) through web service (from source system and later link same to target web service).
    My task is to implement web service at source system to fetch 3 fileds data from log file and link to target machine web service.
    Can any one help me out any basic information on it and apreciate if any one provide practical tutorial on web service creation using SAO 11g and weblogic 11g application server.
    Thanks,
    Phani

    thanks you for your response and tutorial.
    I need some more help, can you please help me out how to read data from log file to webservice
    Note: Log file have a xml content but it is saved as .log file thru an third party application. Third party application does not have capability to store log file as xml but it istoring has .log file (normal text file) with XML content.
    If you have any sample code, please provide the same
    Thanks,
    Phani

  • A web service that returns a xml file and gets another xml file as input?

    Hi,
    I want to create a web service which gets an xml document as input then returns again an xml document.How can I create this kind of web service?
    Is this kind of implementation is possible?
    public Document mywebservice(Document input){
    Document d;
    return d;
    or do I have to use serialization processes which I don't know very much.
    I am waiting for your help.Thank you...

    If you want to deal directly with the Document and not want the SOAP engine to serialize/deserialize the XML into Java objects, then you can easliy implement this using Axis. Look at the Axis documentation (http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage) under the heading "Message Services". One of the provided API methods that Axis provides is in the form you want: public Document method(Document body). Hope that helps. As for how to implement the service using Axis, that is beyond the scope of this forum. Check the Axis docs for more help on that.

  • 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

  • Web Service Usage Discussion - Both for request and response.

    Hi,
    I have some discussion questions ( by the way i have done my search in the forums )
    1) How would you solve the problem of registering user from iphone application without making the user to enter a security code to prevent spam?
    ( We use graphical captchas to minimize the risk in web.. but what would you do or what are you doing to make a proper registration from iphone directly to the web server? ) I can request, user, pass,email and register the user, but i can not want him to click on the confirmation code that i've sent to his/her email.. He'll leave my application, click the link,... safari will open.. etc etc...
    2) How would you authenticate the user and send commands according to that session?
    Would you send user and pass in plaintext, like many web pages' login system..?
    And after that would you just get a session id from response and after that, would you use only that code to send new commands according to that authenticated user? like ( http://myserver.com/?cmd=message&text=hi&session_id=34524534 ) ? How would you implement, or you are implementing this in iphone application?
    3)What would you use to send commands to server? You use simple url request? ( maybe somewhat REST ) or would you send xml to the server? And how would you get the response? As an XML? as comma seperated simple mode, as JSON to parse? Or would you return property list recognized by iphone? Or.... Or?? What would you use, or what are you using? What's your idea to do it in a proper way? (I know that this can change from people to people, but at least we can see what everyone is telling.. )..
    What response type you prefer and why do you prefer it? For example, you are trying to avoid xml to stay away from parsing it without standard libraries... OR... ?
    I'll be glad if you share your ideas/experiences with us? We may learn new things/we may improve our selves/we may change the way we do these things, we may be happy together (:

    Hi MaxLeyton,
    Thank you for posting in the MSDN forum.
    >>I am trying create a webmethod in a webservice, this webmethod must to have two different headers, one for request and one for response.
    Since it is related to the Web, to help you resolve this issue as soon as possible, you could post this issue to the ASP.NET forum.
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Accessing a web service defined in XI with login and password

    Hello,
    I've configured a web service on XI and made it available. I want to use it from a NWDS portal object. Accessing the page needs authentication.
    If I use XMLSpy to make a request I get an enter user login/password screen. But I don't know where i should  tell the login and password in my NWDS request.
    I tried to add the stuff in the url like this http://user:pass@host:port/... without success
    Does anyone know what is to be made in order to let me access my web service ?
    In NDWS I get my service ...
    (Service) myservice = PortalRuntime.getRuntimeResources().getService("MY/Service");
    MyResult myResult = myservice.makeRequest()
    Thx,
    mejj

    Check out
    http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes.cfm
    The last part of that link is .cfm - not sure why its getting
    cut off.

  • Web Service to Query with 21 Columns and up to 1000 Rows

    Hi Experts,
    I have a web service to a query that returns a table of 21 Columns and up to 1000 Rows.
    I would like to display this data in an UI element such List view / Spreadsheet table.
    When I am doing so, I have the following issues:
    1. With the Spreadsheet table I can't set the header of the columns to the name of the column in the query.
    2. with both elements I would like to have a paging capability which I am not sure if is even possible.
    3. With both elements I am not able to set the width of each column as I need, and also not able to define the correct formating (date / string....)
    Is it possible to have what I am looking for with these elements? Or there are other UI elements for it?
    Thanks in advanced,
    DoronS

    Hi Charles,
    Actually, I am using Xcelsius as you said, and wanted to use it also as I mentioned since in the Web Intelligence I could not find the way to have a good filtering mechanism.
    Meaning, there is an option to add filters based on the fields that are in the query. But you can only choose one value per filter filed. If I want filter the data with more than one value it is impossible. Furthermore, there is no way to use free text filtering.
    Do you know in what BO Tool I will be able to provide such filtering capabilities?
    DoronS

Maybe you are looking for

  • How can i sync my work calendar from my iPhone 5 to my iMac using iCloud?

    We just updated to the Mountain Lion software on the iMac and now i would like to be able to look and even create new appointments on my caldendar on the iMac and see them on my iPhone. Is this possible??

  • Quantum Gateway Router Problems

    Hello. After installing my new quantum gateway router, I have had nothign but problems.  The router will connect to the laptops and phones very reliably, but it never has a stable connection with either a ROKU 3 or Amazon Fire STick int he same room.

  • How do I convert video's using quicktime

    I can't figure out how to convert videos to quicktime so I can put them on my ipod with sound.Can anybody explain this to me?

  • HT4623 Can't update iPhone and get restore error -1. Help?

    I tried to do the latest update on a 3GS iPhone I gave my daughter (minus the phone usage) and it started the restore then got stuck with error message -1.  I tried everything it said to do under the error to correct it and it still won't restore.  T

  • Problème airplay iphone 4

    Salut. J'ai un iphone 4 et en me connectent a une enceinte en bleutooth airplay c'est active et j'arrive pas a l'enlever du coup j'ai plus de son qui sort a part sonneri ou alarme ou avec écouteur. Aidez moi s'il vous plait