Issue in web services

Hi Guru's
We have a requirement to create a Web Services upon PL/SQL package. We were able to create and deploy the same using tutorial
http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
Issue is now when we want to use JNDI's so that it becomes generic and We can deploy it to other enviorements ( like QA, Test, prod) without need to recreate the WS.
I tried doing it but it gives error.
Can you please let me know how can we do this and where all do we need to change. I jad done chnges in Java file and web.xml file. ANy pointers will be highly appreciated
Regards
Sahil

Hi,
I do the settings according to your advice, i got below error when i run below command to add certificate to keystore.
command:
keytool -import -keystore /usr/j2ee/jdk/jre/lib/security/cacerts -file /usr/Class3G2.cer
Error:
keytool error: java.lang.Exception: Input not an X.509 certificate
Thanks
Edited by: 910361 on Jan 27, 2012 4:38 AM
Edited by: 910361 on Jan 27, 2012 4:39 AM
Edited by: 910361 on Jan 27, 2012 4:39 AM
Edited by: 910361 on Jan 27, 2012 5:29 AM
Edited by: 910361 on Nov 1, 2012 7:09 AM

Similar Messages

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Issue in Web Service after the Windows migration from 2003 to 2008

    My application is a web service and it was working fine in windows server 2003 .after it was migrated to 2008 ,the web service is working fine and but when its consumed in another web application which is also migrated to windows server 2008 ,its saying
    "request channel  timed out while waiting for a reply for 00:30:29.9820000.Increase the time out value passed to the request or increase the SendTimeout value on the binding .the time alloted to this operation may have been a portion of
    a longer time out" error.The iis setting of my application in production has anonymous authentication enabled but the kerberos is not generating tokens and hence its also not working fine.When we disable the anonymous authentication the kerberos
    token is generated but the application is prompting for credentails.Please help me to resolve the issue

    Hi,
    Since this issue is more related to IIS, I suggest you refer to IIS forum below to get more efficient support:
    http://forums.iis.net/
    Best Regards,
    Amy

  • Log4j.jar issue under Web Service Security Module

    I am running into an issue with log4j.jar for WebLogic OES PDP. there is a custom appender class that extends org.apache.log4j.AppenderSkeleton, if we packed into one jar file under \bea\ales32-ssm\webservice-ssm\lib\log4j.jar everthing is fine. if we split this class with another jar file(sth like patch.jar) and add a entry in the config file WLESws.wrapper.conf under bea\ales32-ssm\webservice-ssm\instance\WSSM\config and it failed with this error,
    but an error is
    generated when starting the WSSM(Web Service Security Module):
    log4j:ERROR A "com.foo.AuditJMSQueueAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
    log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
    log4j:ERROR [com.bea.security.providers.utils.InverseURLClassLoader@5f7d3f] whereas object of type
    log4j:ERROR "com.foo.AuditJMSQueueAppender" was loaded by [sun.misc.Launcher$AppClassLoader@a18aa2].
    log4j:ERROR Could not instantiate appender named "JMS_AUDIT".
    130
    ARME is started now
    Rendering object type: AuditAtzEvent
    I have tried add java option:log4j.ignoreTCL=true. in this WLESws.wrapper.conf file, but does not work.
    How to resolve this issue, Thanks for your help!

    hi
    Can anyone help with this...

  • Issue with Web Service Security

    Dear Forum Members and Readers,
    I am a beginner to Web Services, and facing an issue with WS-Security.
    My issue seemingly is quite specific to my projects though, It will be great if you can provide me your views.
    Context Description:
    I am developing a Java Web Service application that is deployed on JBoss Application Server.
    This application will communicate with two other applications those are not deployed in same JBoss Application Server.
    These 2 applications are third party applications, one is C++ based web services and other is Java based web services.
    My application gives a call to Third Party Application1 and receives the response back form it. It then passes this received response to Third Party Application 2.
    Issue Description:
    I now need to enable https paradigm among these 3 applications. (I need to implement web service security model here)
    I started with looking in to JBoss specific WS-Security but found it not suitable in my case, as it requires to configure both the client and server. I have the control over my application but not on other 2 third party applications.
    To this extent, I am unable to identify a solution that can address my issue.
    Can anybody please provide me with initial thoughts or any reference material that might help me to give this a start.
    Any clue will be highly appreciated!
    Thanks in advance
    Mukul

    mukul.object wrote:
    Actually, my SOAP messages contains some critical information that needs to be encrypted.You think that its critical information however your third party doesn't. If they would have had same thought they would have enabled the security. As I said earlier, you will have to discuss this with them.
    Another solution (however I don't know the viability in your case) could be to deploy one component before each third party service. Your web service will call this new component (Which is installed in their environment i.e. local to third party web service) and new component will forward the request to third party service. Now you can apply security/encryption/decryption between your web service and your component.
    I have had a look in to XMLEncrytion using that I can encrypt my SOAP messages but I wonder how would other tools decrypt that.My above comments answers this.
    Is there anyway I can encrypt my SOAP messages (without having to customize third party tools) in this scenario ??My above comments answers this.

  • Certificate Issue in web services Using j2ee in oracle apps 11i

    Hi all,
    I am working with web services integration in oracle apps 11i. I used j2ee technology. I installed j2eesdk-1_4_03 and test with j2eetutorial. I have to integrate third party payment system with web services in oracle apps 11i. I run following commands in putty
    build: asant build
    packing: asant create-war
    deploy: asant deploy-war
    client java:
    compile: asant build
    run: asant run
    While i run the "asant run" command, i got below the error
    sun.security.validator.ValidatorException: No trusted certificate found
    I added third party certification but i got same error which i mentioned above.
    Is any certification or settings need for run the web services in ebs.
    Thanks
    Edited by: 910361 on Nov 1, 2012 7:09 AM

    Hi,
    I do the settings according to your advice, i got below error when i run below command to add certificate to keystore.
    command:
    keytool -import -keystore /usr/j2ee/jdk/jre/lib/security/cacerts -file /usr/Class3G2.cer
    Error:
    keytool error: java.lang.Exception: Input not an X.509 certificate
    Thanks
    Edited by: 910361 on Jan 27, 2012 4:38 AM
    Edited by: 910361 on Jan 27, 2012 4:39 AM
    Edited by: 910361 on Jan 27, 2012 4:39 AM
    Edited by: 910361 on Jan 27, 2012 5:29 AM
    Edited by: 910361 on Nov 1, 2012 7:09 AM

  • Issue using web-service with forms9i

    using web-service with forms9i
    Hi
    I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to use that web-service after deploying my form on solaris, it initializes the web-service and performs the action successfully. Now the problem is that my form also makes a call to report server to generate a report. The problem is when i initialize the web-service and uses its function it works but after that making a call to report server will fail. Also if i make a call to report server first, it generates the report and then i make call to the web-service, then that web-service fails to run. And in both cases, the forms application stops saying session has aborted.
    Why cant i make call to both the things in one session of application? What could be the reason for that? Need help urgently.

    Sorry,
    I didn't know that this was necessary to find a solution.
    Here are the definition out of the WSDL File:
    <xsd:complexType name="ZS_EQART_RANGE_LINE">
         <xsd:sequence>
              <xsd:element name="SIGN" type="tns:char1"/>
              <xsd:element name="OPTION" type="tns:char2"/>
              <xsd:element name="LOW" type="tns:char10"/>
              <xsd:element name="HIGH" type="tns:char10"/>
         </xsd:sequence>
    </xsd:complexType>
    Thanks for Help
    Ron

  • Security issue with Web Services on Oracle SOA suite? (Serious?)

    Hi,
    I have recently installed and set up the SOA 10.1.3 on my local machine.
    I created a simple test web service and deployed - worked ok.
    I then added simple plain text security to the service, and again opened it up for testing using the test service function.
    Initially, it returns with the expected message 'missing soap header security'.
    However if you refresh the page / or test the service again, it is then invoked - seemingly bypassing the security !!!
    Oddly the 3rd attempt then shows the security message again, and it seems to alternate between allowing access to the service and imposing the security?!?!
    Has anyone else experience this ?
    Is it a bug ? (if so, its a pretty nasty one that could quite possibly catch alot of people out !)

    I have now created an independant client in Java to call the WS.
    The security is still bypassed on ever other call?!?!
    I have this over HTTPS also, and was hoping this would provide an adequate means of securing my web services.
    How is everyone else securing web services that are exposed to general consumers? Maybe i should find a new approach !

  • Possible issue with Web service connections in SP3

    Hello,
    I installed Xcelsius 2008 SP3 over SP2 and some of my input values for my web service connection were not being built into the XML request. I then rolled back to 2008 SP2 and all was fine. Not a thing i tried could fix it, and it was not all the input values just some of them and the same ones each time. Perhaps i installed different Xcesius suites: the SP2 one i have is trial version and has a black BO splash, the SP3 one has a yellow SAP splash. SP3 has some funky enhancements so i would certainly like to go that way. Any ideas? Or ideas as to how i could get this into BO support for troubleshooting?
    Regards,
    Gilbert

    By mistake I posted to this thread. Removing my message.
    Edited by: Anil Kumar on Dec 24, 2009 4:55 AM

  • As400 performence issue using web services

    Performance degrade while accessing as400 using web services instead of MQ Connection. Any suggestion what might cause this ?
    Edited by: indubala on Dec 16, 2009 6:26 PM

    It is not just 1 node, you will need to do several things which I have outlined here.
    In the first node set your variables.
    Here the invocation class is defined.
    Set this to the standard Native Invocation Class used in CCA.
    If this was not defined, the Campaign should use a default invocation class but I'd advise you to specify just to be sure.
    The values are:
    $invocationClass
    com.taw.web.invocation.WebServiceInvocation
    Remember that when specifying the string value single quotes (ticks) should surround the value (as with any string in CCA Campaigns).
    Next in the same node set the values for the service name.
    Set this to the default of ‘invoke’ used in CCA.
    If this was not defined, the Campaign should use the default of ‘invoke’ but again I'd advise on setting it to be sure.
    The values are :
    $serviceName
    invoke
    Next you will need to set the values that will be passed as the input objects to the invocation class.
    Recall that the two required objects are WebServiceInvocationId and KeyValue.
    The next area that would need to be defined is the Invocation wait loop.
    This is done for both testing as well as operation reasons.
    For testing this provides simple troubleshooting.
    For production use, the loop is important to handle time outs and errors.
    If the timeout value is ever reached, the return value will be set to Fail.
    First set the loop counter, then in the child nodes define the Loop counter expressions to check for a specific time to wait value.
    The external web service will need to be prepared to receive the exact objects sent by the Invocation class.
    In addition it will also expect to be instructed to process the invoke method.
    That should be enough to get you going.

  • Web Service Issue

    Hello Everyone,
    I am having an issue with web services. I created an ABAP FM based web service in R/3 (WAS 640). The web service was created successfully but when I try to publish it to wsNavigator using WSADMIN, it take me to the wsNavigator on our J2EE server but gives me the following error:
    "Cannot download WSDL from http://server:port/sap/bc/srt/rfc/sap/ZWS_TST?sap-client=100&wsdl=1.1&mode=sap_wsdl: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator"
    When I click this error then it downloads the WSDL wthout any issues. Is there any security that needs to set up on the R/3 side for this because it seems like wsNavigator is trying to download the WSDL from R/3 but it does not have the access.
    Do ABAP based web services even show up in wsnavigator?
    Has anyone ever come across this issue? Any ideas or suggestions will be great.
    I have researched a lot but have not gotten anywhere.
    Regards.

    Hii
    Did you found out the solution to this problem, as i am facing the same issue.
    Please let me know if you got the solution.
    Thanks in advance
    Jeet

  • Web Services Issues in Coldfusion 8

    Hello all,
    I am trying to deploy .cfc files as web services in a multiserver coldfusion 8 environment.  So far it has not been working out so well.  Whenever I navigate to the .cfc file in a browser the page dumps the .cgi scope and not the component documentation.  If i append ?wsdl to the URL  I get the code for the .cgi scope dump.   You also cannot manually register a web service in the coldfusion administrator.  (components that will be web services are marked as access="remote", these same .cfc files have been and are being used in CF 7.1.)
    The cfc files in the CFIDE folder use the cfcexplorer.cfc component and do show the component documentation.
    My Environment:
    3 x T6300 Sun Solaris Blades
    3 x 8 core processors
    32GB RAM
    Hardware Load Balancer:
    Juniper DX
    NAS /web partition mount for webroot
    Does anyone know of any issues with web services in multiserver CF 8 environment?  Why would the .cfc and .cfc?wsdl dump the cgi scope and not show me the component documentation or the WSDL file?  Is there a setting that I am missing somewhere to allow web services?  Why can't I explore the cfc documentation on a file in the webroot?
    Any help or insight would be greatly appreciated!
    thanks in advance
    Steve

    There is nothing about web service and multi-home ColdFusion or ColdFusion 8 that should be radically different then web services in stand-alone CF7.
    Is there anychance there is an arrent Application.cfc file that might be applied to these ColdFusion component files?  Note that any Application.cfc file (or Application.cfm) between the CFC file and the root directory would be applied to the code running the web service.  There is an often overlooked gotcha with some Application.cfc files that use the onRequest() method.  This method can interfere with the normal deliver of a wsdl response to a web service request if this has not been accounted for in the onRequest() method.

  • Web services with JDeveloper - serialization error

    Dear all,
    I have an issue with web services created with JDeveloper 10.1.3.2.0.
    Namely, this is what I do:
    1. I've created some TopLink classes from tables; one of this classes is called Task (and it's located in a package called "integration")
    2. I've created another class, called Integration, where I use these TopLink classes; in this new class I have a method called getTasksStatus, which returns an ArrayList containing Task objects
    3. I've created a web service from this class (Integration) by right-clicking on the class name in Applications Navigator and choosing Create J2EE Web Service.
    When I call the method getTasksStatus from the test web service (endpoint),
    I get this error:
    Oct 8, 2007 7:14:30 PM oracle.webservices.service
    SEVERE: serialization error: no serializer is registered for (class integration.Task, null) serialization error: no serializer is registered for (class integration.Task, null)
    When I call a method which returns a primitive type, everything is fine.
    I understand the problem, but I don't know a solution yet. Could you please help ?
    Thank you,
    Best regards,
    Sorin

    One solution to this problem is to make sure that the complex type you are using in yous service interface do implement the JAVA Bean as per the spec (at least Oracle's interpretation of it).
    You need to have getter/setter for all members and you need to have an empty ctor() to create new instances of your objects. In some cases, the design time let you get by, but the runtime fails in the code generation.
    In your case, the 'Task' class may have some issue.
    Hope it helps,
    -eric

  • Permissions.asmx web service problem

    Hi all,
    I have a big issue about web service action with Permissions.asmx. I have a custom created role and group on my site and i would like to grant this
    group accces to list with permissions from this role. 
    Unfortunately when I run  GetPermissionColection for another list where this group have acces based on this role (I have granted it manually) the returned Mask
    (201527329) is wrong because when i try to AddPermissions with this mask, new Permission level is created (Auto-generated Permission Level f03cb0fa-4ba9-45d1-9aed-1e42004ce891). I have
    no idea why? Maybe i do wrong calculation, or variable - Int32 is to short for permission mask? When I calculate it by hand, very big number appears which can't be stroed in int32.
    Could you help me with that?
    This is my custom role description (only checked fields are listed):
    List Permissions
     - View Items, 
     - View Application Pages,
     - Open Items,
    Site Permissions
     - Browse Directories,
     - View Pages,
     - Browse User Information,
     - Open.

    Hi Viko31,
    I can reproduce your issue, and get the same result.
    The first time, my custom group Mask id is -1, it can be added to another list with expected permission level, when I delete the group, and add it again in the list, the Mask ID change to “201527329”, and the permission level change to auto-generate using
    Permissions.AddPermission. the Mask id should be the issue of the method.
    I saw a similar thread about this issue, indicate that many users met this issue:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e14dfed9-21c4-423d-872b-dc3c03ba8156/why-do-i-get-autogenerated-permission-level-bcf3888409744236a02eb7cf1497a2d2-instead-of-actual?forum=sharepointdevelopmentlegacy
    As a workaround, I would suggest you custom web service to replace the getpermissioncollection add addpermission methods.
    http://sprider.org/2012/11/14/674/
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Consuming a web service from external system

    Hi exepert,
    I'm new in web service, I have to send a file towards external system so I think that I have to expose
    my web service in sap system.
    How, the external system, can understand that I exposed my web service, in other word that my file is
    ready to be sent ?
    tks, bye.

    I am not sure if web service is a right fit for your issue but web service is accessed from another system using a URL(Uniform Resource Locator) which will be generated when you create a web service using SE80 or by running the wizard.
    The other system might not know that you file is ready, I suggest to write a sequential(repetetive) program in the target system and check by using the URL and check if the file is ready. If the file is ready pick the file else repeat the step.

Maybe you are looking for

  • System Copy  and Logical system name conversion

    Hello All, Can any one let me know some inputs over these few queries. 1. How much time would a 500+GB clients take for Export and reimport after the system copy. 2. What would be run time of the BDLSS report ( Converting the logical system names) fo

  • Arch only detecting 1 CPU 1 core instead of 16 processors

    EDIT: It turns out it was a BIOS problem. I flashed to a different BIOS and reset everything to default settings in the BIOS, and now all 16 processors are recognized. I have a system with an Asus Z8PE-D18 motherboard with 2 Xeon E5520 CPUs. Each CPU

  • Mac Pro Monitor recommendations

    Hi Just acquired new Apple Mac Pro 3.7GHz 3.7 GHz ME253 Quad-Core INTEL XEON E5 12GB 256GB PCIe. For general use. Looking at " https://www.dabs.com/products/benq-bl3200pt-32--2560x1440-4ms-dvi-d-hdmi-display port-speakers-ips-led-monitor-9G7F.html?re

  • Version 4 TOC drop down

    I'm only seeing options for left & right horizontal overlay table of contents. No vertical, top-down or bottom-up option?

  • Elements 12 organizer error bec. Mac osx is 10.6.8 latest version available from MAC

    Process:         Adobe Elements 12 Organizer [17765] Path:            /Applications/Adobe Elements 12 Organizer.app/Contents/MacOS/Adobe Elements 12 Organizer Identifier:      com.adobe.ElementsOrganizer12 Version:         ??? (???) Code Type: