Web service deployed to outside of JDeveloper

Hello, I've created a web service which runs fine within JDeveloper, but I'm running into problems when trying to deploy the WAR to a seperate container, specifically Tomcat. Tomcat throws an ClassCastException because, given the WAR created by JDeveloper, it expects the service endpoint to extend the Servlet API. I see no way to just plug the generated WAR into Tomcat without having to execute additional steps. The only solution I found, being new to both JDeveloper and Web Services, is to manually extract the service classes from the WAR and then use the AXIS client to add the service to Tomcat. I'm wondering if some one has found an easier solution, specifically:
* is there a way, when creating your web service in JDeveloper, to make the end points more compatible with seperate contianers, i.e. am I using the wrong mapping type or some thing?
* is there a way, when creating your deployment profiles, to make the generated WARs more compatible with seperate containers? I tried using the Deploy To > Tomcat option but still encountered the same problem.
Any help would be GREATLY appreciated- we have a small development window (before the Oracle App Server is available) where code developed in JDeveloper will need to be deployed in Tomcat, hence the need. Thanks for your time. Take care.
Sean

Hello Sean,
In Oracle JDevelopeg 10g R3 (10.1.3) the default stack used by Web services is JAX-RPC (the standard J2EE specifications).
Even if JAX-RPC is a Java EE standard, each vendor (like EJB 1.x and 2.x) has some specific to ave a complete stack. So when you create a JAX-RPC service we have some dependency on some Oracle classes. So you can not directly deploy a WAR build for OracleAS Web Service to anoter container. (it is true the other way, with other vendor implemetation). Currently our Web Service runtime is not portable cross container.
I think you should be able to use the Sun RI of JAX-RPC on Tomcat but in this case you need to create a specific build/war to be able to generate the correct artifact from your implementation class, SEI and WSDL. The Oracle Web Service team is currently working on a document explaning how you can create JAX-RPC services and deploy them in different container, but it is still an ongoing project and Tomcat is not the first targetted platform.
Since you look familiar with Apache Axis, it is today the most portable Web Service stack, it has some limitations (support of WS-* for example), but based on your use case it looks using Apache Axis will be the best approach. As you may know Apace Axis is supported on OracleAS 10g R2 and R3.
Regards
Tugdual Grall

Similar Messages

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • Error invoking web service deployed in SOA Suite

    I have implemented a stateful web service in Jdeveloper 10.1.3.2.
    I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suite.
    The response of the web service in the second case, is the xml of the request.I can not understand.
    I implemented a web service proxy in jdeveloper that invokes the web service deployed in soa suite.When i run it, it gives me an exception like this:
    unexpected element name: expected={http://orclproject/types/}doLoginResponseElement, actual={http://orclproject/types/}doLoginElement
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:231)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._deserialize_doLogin(OrclLoginWSSoapHttp_Stub.java:1022)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._readFirstBodyElement(OrclLoginWSSoapHttp_Stub.java:891)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub.doLogin(OrclLoginWSSoapHttp_Stub.java:484)
         at orclproject.OrclLoginWSSoapHttpPortClient.doLogin(OrclLoginWSSoapHttpPortClient.java:65)
         at orclproject.OrclLoginWSSoapHttpPortClient.main(OrclLoginWSSoapHttpPortClient.java:28)
    where doLogin is the operation of the web service.
    any idea?
    thanks in advance...

    Hi,
    almost 8 months passed since this post, but if still actual then look at BUG: Request XML returned as response when result too large thread. It may be the same problem with large data sets.
    Regards,
    Patrik

  • External web services deployment

    Hi,
    I am facing a situation of web services deployment. I am using Jdeveloper 10g and oracle bpel process manager 10.1.3.1.0. I am not able to deploy web services. The following are the steps that I followed to consume that web service called web service called WeatherByCity from xmethods.net.
    Create new Application---> create new empty project( I named it 'projectgt') ----> new 'java web service from wsdl' from wsdl document url (http://ws.strikeiron.com/InnerGears/WeatherByCity2?WSDL ------------->
    --> In the default mapping options for Package Name I put 'projectgt' and root package for generated types I put 'projectgt.types'. All the other options are default. When I right click Webservices.deploy under resources and deploy to the application server, it says failed to deploy with the following message.
    ---- Deployment started. ---- Apr 21, 2006 5:00:07 AM
    Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
    Wrote WAR file to D:\Application24\Projectgt\deploy\WebServices.war
    Wrote EAR file to D:\Application24\Projectgt\deploy\Application24-Projectgt-WS.ear
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Application Deployer for Application24-Projectgt-WS STARTS.
    Copy the archive to D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear begins...
    Unpacking Application24-Projectgt-WS.ear
    Done unpacking Application24-Projectgt-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear ends...
    Starting application : Application24-Projectgt-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : Application24-Projectgt-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application Application24-Projectgt-WS to site default-web-site under context root Application24-Projectgt-context-root
    Operation failed with error:
    Error compiling :D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:java.lang.NoClassDefFoundError: projectgt/types/com/strikeiron/ws/SubscriptionInfo
    Deployment failed
    Elapsed time for deployment: 26 seconds
    #### Deployment incomplete. #### Apr 21, 2006 5:00:32 AM
    I will be grateful for any response on this issue.
    Thankyou,
    Sagar

    As a matter of fact, I receiving a similar error for all other web services. Please let me know the error in my method of deployment

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • BPM Studio call web service deployed by R12 Intergration Repository error

    Hi, I encountered a problem when calling a web service deployed by R12 Intergration Repository (SOA Gateway) w/ username/password authentication.
    It seems that the BPM Studio can not pass the security information to the web service. But using SoapUI it's quite easy to call the service with no error, just set the username and password, and set the password type to PasswordText.
    Under the External Resources catalog, I've set fileds in the Security tab with "Plain" Username Token, "sysadmin" Username and "sysadmin" Password, then changed the Authentication Type to "Username Token Profile". Then create a participant named sysadmin, and use this participant to run the process, but it just can't work.
    Anybody can help? My colleague also posted a topic here: processRemoteException when invoke  webservice from Oracle E-Business Suite but nobody answered. It would be very appreciated if sb. can fix this.

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • Web Service Deployment Exception

    Hi All,
    I have created a Stateless session bean in which i am accessing JPA entities.
    In my session bean I have two methodes and i exposed those methodes as web services. I deployed this ejb project into server and search for my web service in Web Service Navigator. I didn't find my web service. Then I observer server logs. It is throwing a Web Service Deployment exception.
    Code:
    @WebMethod(operationName="readChannel", exclude=false)
         public ReadChannelResMsg readChannel(@WebParam(name="readChannelReqMsg")
         ReadChannelReqMsg readChannelReqMsg) {
              ReadChannelResMsg readChannelResMsg=new ReadChannelResMsg();     
              readChannelResMsg.setChannel(channelDao.findById(readChannelReqMsg.getChannelId()));
              return readChannelResMsg;
    Exception:
    [ERROR CODE DPL.DS.5030] Clusterwide exception: [server ID 3324150:Exception occured during web services deployment. Unable to generate serialization framework for web service ProgramPlanWS, application hcl.com/longterm_plan_ear.
    -> class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5:library:jaxb20 [email protected] alive incompatible with class com.sun.xml.bind.v2.model.impl.ClassInfoImpl:library:jaxb20 [email protected] alive
    server ID 3324150:com.sap.engine.services.deploy.container.DeploymentException:
    Why this exception is coming and how can i resolve this issue?
    Thanks
    Sampath G

    Hi,
    the initial exception suggest
    After an upgrade from SAP NetWeaver release 2004 to SAP NetWeaver release 7.0, according to the new SAP security policy, the J2EE Engine administrator user may be prompted to change his or her password. The password is changed in the User Management Engine (UME).
    According to SAP security policy, the J2EE Engine administrator password must be changed every 90 days. The password is changed in the UME.
    However, SDM reads the J2EE Engine administrator password not from the UME, but from the secure storage instead. The J2EE Engine administrator password is not changed in the secure storage. For more information, see SAP Note 870445.
    and the possible Solution could  be
    Change the J2EE Engine administrator password in the secure storage
    Regards
    Manohar

  • Question concerning Web Service Deployment

    I have a question on web service deployment as it pertains to multi-client SAP systems.
    I created and deployed a web service in the client that is used for the development of client-independent objects. There are no issues when calling the web service following deployment.
    I am trying to use the same web service on the same SAP system, but on a different client. What is the proper way for accomplishing this? As of right now, the only way I've been able to do this is to open up the desired client and deploy the service again. I tried to take a transport and copy it to the other client using SCC1, but it failed since all the objects referred to client-independent objects.
    Below is the URL of the WSDL that was generated via SOAMANAGER.
    http://svr-sap05-dev.xxx.com:8010/sap/bc/srt/wsdl/bndg_DF2B9EDC2EA40CF1A9B7001CC4459012/wsdl11/allinone/ws_policy/document?sap-client=120
    Client 120 is the client used for development and is where the web service was created and deployed. I would like to use the same web service, but in a different client.
    I tried in changing the logon parameters of the web service using SICF, but the invocation failed. It only works if the client mentioned in the logon data matches the client specified in the URL.
    I am assuming that SAP builds the namespace of the web service using the client specified in the above URL. If this is the case, then I will have no choice but to deploy this service manually in the other client.
    Is something wrong being done or do I have to do the same deployment in the other client?
    Regards,
    Vince Castello

    In Netweaver 7.01 (with SOAMANAGER) you can no longer deploy webservices via STMS.
    You have to login in each client and create endpoints in each one.
    It's a pain, but SAP says it's too risky to implement the solution via STMS or something like that.
    There is a SAP note about this.

  • Rt web services deployment failed

    I have a sbrio 9612 that I setup with an executable and web services.  I can get it to run great.  I then took an image of that one (using RAD) and deployed it to another sbrio 9612.  The web services don't work.  I then tried to deploy webservices the second sbrio with my project, and I came up with the error in the attached picture: Web Services Deployment Failed.  The NI Application Web Server is still loading.  
    All I can find about that is issues when deploying to a laptop with a wifi card, but nothing about that with a RT unit.
    Any thoughts?
    Thanks,
    Eric.
    Attachments:
    error.jpg ‏83 KB

    I have redeployed the firmware several times and it still doesn't work.  It works on the original unit I took the image from, but not on the unit I'm deploying the image to.  Using max is not an option because these are basically in an OEM environment and if I distribute an image to a customer they will not have national instruments installed.
    Besides, that defeats the purpose of taking an image, if it works correctly in one place, you should be able to take an image of that and deploy it on another unit.

  • Oracle9i Jdeveloper Web Services Deployment Descriptor

    hii,
    i have created a web service in oracle9i jdeveloper. It is running. But I need to define a handler for this web service to handle multiple attachments. But whenever i give the handler chain in web.xml, the handler is not invoked. Also it does not allow me to change the deployment descriptor file to webservices.xml. please let me know a solution.

    I believe this is a bug in JDev/OC4J 9.0.3 that is being further investigated right now. I have duplicated your problem in a simpler test case and folks are looking into it.
    Mike.

  • Error while invoking a Web service deployed on OC4J from Oracle BPEL

    Hi,
    I had created a web service from a simple java class using JDeveloper and deployed that on OC4J which had emmited a wsdl for the web service. On the same AS my BPEL processing is deployed in which i had created a partner link by using 1st option (i.e Browse WSDL files from local file system) and invoking the published method of the java class.I am expecting that the method of the class which is deployed as web service will be executed and i will get the return of the method as the response of the invoke activity , but i am getting this error :
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://localhost:8080/MyIM-JavaCustomerFactory-context-root/JavaCustFactory', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "JavaCustFactory" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    It seems that the Invoke activity is not able to get the WebService and it is asking for some settings , if any clue regarding this pls reply.
    I can also give the wsdl also.
    mail me at [email protected]

    Hi,
    Thanx it is working now.
    BTW can you give me some urls with info of this kind of setting which i need to do for other kind of integarions in J2EE platform.Sorry if i am asking too much as i am a starter in this technology.

  • Problem with web service deployment Oracle AS 10.1.2

    Hi All!
    I have built a java web service using JDK 1.4 and J2EE 1.3 from Jdeveloper 10.1.3 and trying to deploy it on Oracle AS 10.1.2 (Unix). When I deploy it from Jdeveloper it gives me an error of DCM servlet and status code as (-1).
    But when i deploy it from the Enterprise manager using [b]EAR (WAR also tried), it deploys the service successfully but I am not able to access it. When I try to access it shows me "Page Can not be displayed".
    These are the details of my project
    My project name: TestWebserviceForDeployment
    webservice name: Testservice
    While deploying I gave the
    application name: Testservice
    url mapping :/test
    Now I am trying to access it from the browser as http://<host>:<port>/Testservice/test but it shows "Page can not be displayed". Am I doing right?
    Pl help!
    Thanx!
    Neeraj!

    Try http://<host>:<port>/test instead.

  • Pl/sql Web service deployment error

    While deploying the GetEployee webservice as given in the Jdeveloper tutorial, i got the following error. Kindly those who worked on this may reply
    ---- Deployment started. ---- Dec 6, 2006 5:04:26 PM
    Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
    Wrote WAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/WebServices.war
    Wrote EAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/PL_SQL_WS-GetEmployee-WS.ear
    Uploading file PL_SQL_WS-GetEmployee-WS.ear ...
    Application Deployer for PL_SQL_WS-GetEmployee-WS STARTS.
    Copy the archive to /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear
    Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear begins...
    Unpacking PL_SQL_WS-GetEmployee-WS.ear
    Done unpacking PL_SQL_WS-GetEmployee-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear ends...
    Starting application : PL_SQL_WS-GetEmployee-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : PL_SQL_WS-GetEmployee-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application PL_SQL_WS-GetEmployee-WS to site default-web-site under context root PL_SQL_WS-GetEmployee-context-root
    Operation failed with error:
    Error compiling :/home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.classloader.util.AnnotatedClassFormatError: hrconn/EmpRecBase (Unsupported major.minor version 49.0)
         Invalid class: hrconn.EmpRecBase
         Loader: PL_SQL_WS-GetEmployee-WS.web.WebServices:0.0.0
         Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes
         Dependent class: oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer
         Loader: oracle.ws.client:10.1.3
         Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/webservices/lib/wsclient.jar
         Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/oc4j.jar
         This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0.
    Deployment failed
    Elapsed time for deployment: 41 seconds
    #### Deployment incomplete. #### Dec 6, 2006 5:05:07 PM
    Bhaskar

    Which JDK version are you using?
    JDeveloper 10.1.3 (and OC4J 10.1.3) requires JDK 5.0 to run.

  • Web service deployment on oracle app server, need help

    Hi All..,
    When I deploy a web service on the Oracle Application Server (10.1.3.3) the WSDL that is generated from JDeveloper and package with the EAR file is overwritten at deployment time. The parameter names for the method calls for the web service are change from actually parameter names to generic ones. For example, “amount” is changed to “param0” or “vendorId” is changed to “param1”. Is there a way to not let this happen ??
    TIA
    Krishan

    Did you got the solution for the issue you had?

  • Web service deployment issue

    On my WinXP laptop using Jdeveloper10g I can wrap a PL/SQL stored proc (10g database) as a web service - test it and deploy it to Oracle 10g AS also running on my laptop.
    However, if I do the same thing using the same version of JDeveloper, database and Application server on a Win2003 server (the service tests ok within embedded OC4J container) it returns the error below when I try to deploy it. (curiously enough I can deploy the service back onto my laptops App server which tells me the service and it's deployment file is ok).
    any clues?
    Here is the deployment error...
    Target platform is Oracle Application Server 10g (Local10gAS).
    Wrote WAR file to C:\JDev_10g\jdev\mywork\POC\Project\WebServices.war
    Wrote EAR file to C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear
    Invoking DCM servlet client...
    C:\j2sdk1.4.2_08\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\JDev_10g\jdev\lib\oc4j_remote_deploy.jar http://127.0.0.1:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy C:\OraHome_1 C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear POC-Project-WS C:\OraHome_1\j2ee\home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy C:\OraHome_1 C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear POC-Project-WS C:\OraHome_1\j2ee\home
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 0a096002712cef0355c6b42483e83cd8dc3454d821f
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=0a096002712cef0355c6b42483e83cd8dc3454d821f
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Exit status of DCM servlet client: -1
    Elapsed time for deployment: 11 seconds
    #### Deployment incomplete. #### 01-Jul-2005 14:38:48

    Make sure the webservice endpoint is the correct one. You have to change this one if you deploy the webservice to another machine.

Maybe you are looking for