How to configure SOAP in OC4J Standalone

I recently installed the soap.ear in OC4J 903 standalone. I'm using Oracle JDeveloper 903 to access the web service but the test operation throws:
Testing connection...
Not using Proxy Server
     org.apache.soap.rpc.Response oracle.jdevimpl.webservices.util.JDevServiceManager.invokeMethod(java.lang.String, org.apache.soap.rpc.Parameter)

     java.lang.String[] oracle.jdevimpl.webservices.util.JDevServiceManager.list()

     void oracle.jdevimpl.webservices.wizard.connection.TestConnectionPanel$

Unable to connect to SOAPServer (http://localhost:8888/soap/servlet/soaprouter)
Connection test failed: unable to connect
Can somebody tell me step by step how can I make OC4J 903 standalone work with JDeveloper 903 for web services?

This posting has the trick that you need to follow to get the standalone OC4J to work with soap.ear:
access HttpRequest in web service?
It sounds like your deployment went fine, its just the JDev piece that doesn't work - edit soap.xml and make sure the following lines are there:
<osc:option name="autoDeploy" value="true" />
My guess is, that if you type that URL into a browser, you will get back the "correct" error message saying something like the Oracle SOAP server only accepts posts not gets.

Similar Messages

  • Need assistance how to configure RDS on a standalone Server 2012 R2 not joined to a domain

    I need help on how to configure RDS on my standalone server 2012 R2 that is not joined to a domain.  I would also like to see the counterpart of Terminal Services Manager.
    I am familiar with Terminal Services on my old Server 2003 which I migrating.
    Thank you for your assistance.

    the dedicated RDS/TS forum is here:
    Some useful articles, which seem to answer your questions:
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to clear cache on oc4j standalone?

    I have the 9.0.3 oc4j standalone running under solaris and for the life of me cannot figure out how to clear the cache. I run a jsp script then delete the jsp script and it still runs. Even if I restart the oc4j standalone and the jsp is deleted it still runs!!
    It is not a browser cache thing it must be the oc4j cache. Is there a way to clear this cache? This is a vanilla install of the oc4j standalone, no special webcache or anything. Thanks. -quinn

    A JSP is typically compiled and run from the j2ee\home\application-deployments directory. Delete everything in there to remove the cache.

  • How to configure soap service?

    I have installed the oracle9ias, and read all meassages about soap in the otn forums, but I do not know how to configure the soap service and test it.
    Anyone help me? thanks

    I have resovled the problem.
    first you should get the soap.ear file.
    then deploy it in the OC$J_home instance.
    url bind is /soap
    after deployment, you can test it.

  • How to configure Soap to RFC adapter in J2SE engine

    i want to configure a scenario using J2SE engine..
    want to configure soap to rfc..
    can anyone please help me out in configuring the scenario.

      check the below link..
    *Reward Points its Useful*

  • How to configure soap-2_3_1 and Tomcat5.0?

    I have some problem in configuring the soap-2_3_1 and Tomcat5.0 . I copy the folder c:\soap-2_3_1\soap to C:\Tomcat 5.0\webapps\soap , and successfully in running the soap administration . but didn't touch c:\Tomcat 5.0\webapps\soap\WEB-INF\web.xml
    my application is in C:\Tomcat 5.0\webapps\b2b2c .
    I set the rpcrouter address is : "http://localhost:8080/servlet/rpcrouter"
    http://localhost:8080/soap/admin/ configure as follow
    'urn:CheckOrder' Service Deployment Descriptor
    Property Details
    ID urn:CheckOrder
    Scope Session
    Provider Type java
    Provider Class CheckOrder
    Use Static Class false
    Methods checkOrderStatus
    Type Mappings
    Default Mapping Registry Class
    when I input "http://localhost:8080/b2b2c/jsp/checkorder.jsp" and submit the order No. the application can connect the mysql database successfully , but when it use RPC ,it is failure! And I try to delete the C:\Tomcat 5.0\webapps\soap , it was the same situation . I think there must be something wrong in configure the apache SOAP !
    and the tomcat told me that the "rpcrouter" ia unavailable!
    I have no idea, could u help ?

    the error information:
    caught SOAPException <SOAP_ENV:Protocol>: Unsupport response content type "text/html;charset
    =GB2312", must be :"text/xml". Response was:< html><head><title
    Apache Tomcat/5.0.27 -Error report</title><style><!--H1{font-family:Tahoma,Arial,san-serif;color:white;background-color:#525d76;font-size:22px;} H2{font-family:Tahoma,Arial,san-serif;
    type</b> Status report</p><p><b>message</b> <u>type<
    /b> Status report</p>lt;p><b>message</b><u>/servlet/recrouter<
    /u></p><b>description</b> <u>The requested resourse </servlet/rpcrouter>
    is not available.</u></p><HR size="1" noshade=" noshade"
    "><h3>Apache Tomcat/5.0.27</h3><body></html>

  • How to configure JMS queue on OC4J server. Development in JDeveloper 10G

    Hi there,
    I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
    I am facing a problem on how to configure JMS queue.
    Steps Followed are:
    in the <JDevloperHome>/j2ee/home/config
    1. Made the new queue and connection factory's JMS entry in jms.xml.
    2. Specifed the queue in oc4j-connectors.xml.
    3. played around with application.xml
    and tried all combinations, but the message producer always failed to lookup the queue.
    Need help on the steps to follow so that the producer can post the message in the queue.
    Also please help how to configure the MDB to listen to the queue.
    Thanx and Regards

    If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
    One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

  • IAS 10.1.2-how to configure different oc4j listen to different virtualhost?

    I have requirement,
    we have oracle portal based web site that can be used by outside users over the internet.
    And then we have are deploying few new apps/webservices/ear files on a oc4j called core_ws. These web services should not be accessed outside.
    I have created a virtaul host in apache on a different port(7799) which was not exposed to public world.
    But, how to configure core_ws to inform Apache to listen on only port 7799 but not on port 80?
    I tried a diffent route to attack the problem(as mentioned below) which managmenet did not like:
    created location directive, worked in dev but not in production as there ISA sitting front of apache.
    We could apply filter on the URLs of these web services in ISA but my director did not like the idea as each time there is additional web service we have mess with it.
    So, he prefers running these web services on a different port that will not have access to public.
    Appreciate your help if have acheived the same earlier.

    By your description, it sounds like you want to do what is in this My Oracle Support document:
    How To Create Virtual Host Specific OC4J Applications (Doc ID 389819.1)
    (requires login)
    You said you were using 10.1.2, so that will work, its a method of creating separate virtualhosts and using rewrites to direct to error pages if an incorrect request is made. For 10.1.3, but there is a dynamic method which is a better approach.

  • How to configure the .EAR to the OC4J server step by step ?

    I have configured the JavaBean of the OC4J server with the following step:
    1.create the eosp.ear with the JDeveloper's wizard
    2.copy the eosp.ear to the OC4J Server with the Path:
    3.modify the server.xml and add the following words:
    <application name="eosp" path="../applications/eosp.ear" auto-start="true"/>
    4.restart the OC4J server and show the information:
    Auto-deploying eosp (New server version detected)...
    5.create the new JSP and this source code is:
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="com.beautybeard.eosp.constant.*"%>
    6.visit the JSP and show the error information:
    Error parsing JSP page /eosp/usr_profile/login.jsp
    Syntax error in source/eosp/usr_profile/ Package com.beautybeard.eosp.common not found in import.import com.beautybeard.eosp.common.*; ^/eosp/usr_profile/ Package com.beautybeard.eosp.constant not found in import.import com.beautybeard.eosp.constant.*; ^2 errors
    why can not find the package?
    please help me out

    Hi Sky-
    It looks like you have a web application only.
    You need to create a war file as described above. A war file is a jar'd file containing your web components, including your javabean class files, etc. JDeveloper 9i can do this for you. You've already done the hard work. Suppose that the project you have created that contains your javabeans, etc in JDev 9i is called myproject (with myproject.jpr as the project file). Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
    Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
    Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
    Good luck!
    Thank you for giving me the detail information!
    I'm sorry that I can not give the detail and clear problem ,which make you delusoried.
    ok,now I give you my aim.
    1. I will construct my application system with JavaBean(not EJB),Servlet,JSPs (linux+IAS+JDeveloper+Oracle8i database)
    2. I will package business function with JavaBean. example:
    package com.beautybeard.eosp.javabean.usrprofile;
    import com.beautybeard.eosp.common.*;
    import java.lang.*;
    public class CheckLogin{
    public CheckLogin()
    //do nothing here
    public boolean getCheckLogin(){
    3. I will control the request and response with Servlets.
    package com.beautybeard.eosp.servlet.usrprofile;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    import com.beautybeard.eosp.servlet.*;
    import com.beautybeard.eosp.javabean.usrprofile.*;
    public class CheckLoginServlet extends DefaultServlet
    public void service(HttpServletRequest req,HttpServletResponse res) throws IOException, ServletException
    //use the JavaBean
    CheckLogin cl = new CheckLogin();
    if (cl.getCheckLogin){
    4. I will display the result with JSPs:
    <%@ page import="com.beautybeard.eosp.common.*"%>
    <%@ page import="*"%>
    5. I have success on running the above steps in the 9iJDevelper(pure java) environment(OS:Windows 2000 Server), and now I will move the JSPs ,Servlets,JavaBeans to the Server(linux) without the JDeveloper's deployment wizard.
    how to configure the IAS to carry my point?
    thank you!
    Sky liu

  • How to install Apache Soap in OC4J?

    I used Soap in Tomcat an couple of weeks ago. I try to use Soap in OC4j. I can not find any instruction in soap web site. Could you please tell me if you know how to do it?
    Thank you.

    to deploy the Apache SOAP (Axis I guess) you can do the following (this deployment is to the global application of OC4J):
    Add to application.xml:
    <web-module id="axis" path="C:\\TEMP\\xml-axis-alpha3\\webapps\\axis" />
    Add to http-web-site.xml or default-web-site.xml (depending if you are running or the pre-release of OC4J v2.0):
    <web-app application="default" name="axis" root="/axis" />
    You can now access the app using the following URL: http://localhost:8888/axis

  • Forgot Windows OC4J  Standalone password, How can it be reset?

    Forgot Windows OC4J Standalone password, How can it be reset?
    Al Malin

    Actually, I think that's how you are supposed to do it. The default is usually welcome, but I'm pretty sure there's a jazn-data.xml file that contains the password encrypted. You can manually edit it there, then restart it and it should work.

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?

    Please refer to the OC4J FAQ on :-
    Q 24 should have your answer.

  • OC4J Newbie:  How to configure oc4j em console

    I have recently downloaded the and followed the installation procedures. After issuing the java -jar oc4j.jar (from $J2EE_HOME), I am able to access the http://<hostname>:8888 URL with success. However, when I click the link to manage the oc4j instance (http://<hostname>:8888/em) I am redirected to (http://<hostname>:8888/em/console/ias/oc4j/home), but receive an internal server error 500. Is there something I'm missing?

    After modifying the j2ee-logging.xml file for increased tracing and restarting the oc4j instance (output follows)...
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.init Creating MBeanServer for domain oc4j
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering J2EELogging MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the J2EEDomain MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the EJBCompiler MBean with MBeanServer
    08/09/09 09:20:52 FINEST: Oc4jMBeanServerFactory.registerSystemMBeans Registering the Compiler MBean with MBeanServer
    08/09/09 09:20:52 FINER: UseDeploymentLockFile.installIfNeeded File lock hooks not installed
    08/09/09 09:20:59 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: default:type=OracleASJMSConnector,name=OracleASjms,providerType=OracleASJMS
    2008-09-09 09:21:01.425 NOTIFICATION J2EE HTTP-00011 Http server listener initialized on port: 8888
    2008-09-09 09:21:01.437 NOTIFICATION J2EE HTTP-00012 Starting web site: file:/data/oracle/product/10.2/oc4j-standalone/j2ee/home/config/default-web-site.xml
    2008-09-09 09:21:01.478 NOTIFICATION J2EE HTTP-00014 Starting web application: fop
    08/09/09 09:21:01 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:01 FINEST: JspPageTable.<init> Servlet Config = [email protected]
    08/09/09 09:21:01 FINEST: JspPageTable.<init> JspServlet Instance [email protected]
    08/09/09 09:21:01 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/default/fop/persistence/_pages
    08/09/09 09:21:01 FINEST: JspPageTable.<init> justRunShortCut = false
    08/09/09 09:21:01 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:01 FINEST: JspPageTable.<init> TldCache= [email protected]
    2008-09-09 09:21:01.997 NOTIFICATION J2EE HTTP-00015 Web application: fop started
    2008-09-09 09:21:01.998 NOTIFICATION J2EE HTTP-00014 Starting web application: dms0
    2008-09-09 09:21:01.998 NOTIFICATION J2EE HTTP-00015 Web application: dms0 started
    2008-09-09 09:21:01.999 NOTIFICATION J2EE HTTP-00014 Starting web application: dms0
    2008-09-09 09:21:01.999 NOTIFICATION J2EE HTTP-00015 Web application: dms0 started
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00014 Starting web application: JMXSoapAdapter-web
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00015 Web application: JMXSoapAdapter-web started
    2008-09-09 09:21:02.000 NOTIFICATION J2EE HTTP-00014 Starting web application: jmsrouter_web
    08/09/09 09:21:02 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:02 FINEST: JspPageTable.<init> Servlet Config = [email protected]
    08/09/09 09:21:02 FINEST: JspPageTable.<init> JspServlet Instance [email protected]
    08/09/09 09:21:02 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/default/jmsrouter_web/persistence/_pages
    08/09/09 09:21:02 FINEST: JspPageTable.<init> justRunShortCut = false
    08/09/09 09:21:02 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:02 FINEST: JspPageTable.<init> TldCache= [email protected]
    08/09/09 09:21:02 FINER: MsgRouterMBeanServlet.init MsgRouterMBeanServlet initializing
    08/09/09 09:21:02 FINER: MsgRouterMBean.<init> Created MsgRouterMBean: [email protected]
    08/09/09 09:21:02 FINER: MsgRouterMBean.postRegister ENTRY
    08/09/09 09:21:02 FINER: JMXStateImpl.Context getApplicationJndiContext() ENTRY
    08/09/09 09:21:02 FINER: JMXStateImpl.getApplicationJndiContext appName_: default
    08/09/09 09:21:02 FINER: JMXStateImpl.Context getApplicationJndiContext() RETURN application default context
    08/09/09 09:21:02 FINER: AdminMgrBean.ejbCreate AdminMgrBean created: [email protected]
    08/09/09 09:21:02 FINER: MsgRouterMBean.fireXMLConfigEvent ENTRY
    08/09/09 09:21:02 FINER: MsgRouterMBean.fireXMLConfigEvent RETURN
    08/09/09 09:21:02 FINE: Oc4jJmsMbeanAccessor.registerXMLConfigListener Registered XMLConfigListener
    08/09/09 09:21:02 FINER: MsgRouterMBean.postRegister RETURN
    08/09/09 09:21:02 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: default:j2eeType=OracleASJMSRouter
    08/09/09 09:21:02 FINE: MsgRouterMBeanServlet.registerMBean Registered Message Router MBean
    2008-09-09 09:21:02.235 NOTIFICATION J2EE HTTP-00015 Web application: jmsrouter_web started
    2008-09-09 09:21:02.236 NOTIFICATION J2EE HTTP-00014 Starting web application: javasso-web
    2008-09-09 09:21:02.237 NOTIFICATION J2EE HTTP-00015 Web application: javasso-web started
    2008-09-09 09:21:02.237 NOTIFICATION J2EE HTTP-00014 Starting web application: ascontrol
    08/09/09 09:21:03 FINER: LocalizationFilterMBeanServer.registerMBean register mbean: ascontrol:objectName=LogViewerService
    08/09/09 09:21:04 FINEST: JspPageTable.<init> Initializing JspPageTable
    08/09/09 09:21:04 FINEST: JspPageTable.<init> Servlet Config = [email protected]
    08/09/09 09:21:04 FINEST: JspPageTable.<init> JspServlet Instance [email protected]
    08/09/09 09:21:04 FINEST: JspPageTable.<init> pageRepositoryRoot = /data/oracle/product/10.2/oc4j-standalone/j2ee/home/application-deployments/ascontrol/ascontrol/persistence/_pages
    08/09/09 09:21:04 FINEST: JspPageTable.<init> justRunShortCut = true
    08/09/09 09:21:04 FINEST: JspPageTable.<init> jsp-timeout = 0
    08/09/09 09:21:04 FINEST: JspPageTable.<init> TldCache= [email protected]
    2008-09-09 09:21:04.307 NOTIFICATION J2EE HTTP-00015 Web application: ascontrol started
    2008-09-09 09:21:04.308 NOTIFICATION J2EE HTTP-00013 Web site: file:/data/oracle/product/10.2/oc4j-standalone/j2ee/home/config/default-web-site.xml started
    08/09/09 09:21:04 Oracle Containers for J2EE 10g ( initialized
    08/09/09 09:22:04 FINER: AdminMgrBean.ejbRemove AdminMgrBean remove: [email protected]

  • How to configure fault exception

    I have a scenario rfc to soap,even if the input  data from rfc is worng or unauthorised than inspite of rfc going to dump,i want a msg like unauthorised even the scenario is failed..i think this can be possible by creating fault exception error....
    I have an error in moni this error is because of unauthorisation...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Call Adapter --> - <SAP:Error xmlns:SAP="" xmlns:SOAP="" SOAP:mustUnderstand="1"> <SAP:Category>XIAdapter</SAP:Category> <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code> <SAP1 /> <SAP2 /> <SAP3 /> <SAP4 /> <SAP:AdditionalText>soap fault: [Security:090304]Authentication Failed: User [Security:090302]Authentication Failed: User denied</SAP:AdditionalText> <SAP:ApplicationFaultMessage namespace="" /> <SAP:Stack /> <SAP:Retry>M</SAP:Retry> </SAP:Error>
    In Message monitoring
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: [Security:090304]Authentication Failed: User [Security:090302]Authentication Failed: User  denied
    Can any please tell me how to configure fault exception in my scenario...

    Go thro the following links for knowing things about Fault Messages.
    Fault Message Type
    hope this helps.

  • Difference between OC4J Standalone & IIS for BI Presentation services

    Hi experts,
    i had this question in my mind for last couple of weeks and did not get good answer by self study.
    my understanding with IIS & OC4J server is,
    1.if BI Presentation services is setup to IIS Webserver, It is also using OC4J as application server, because IIS is just an HTTP Server where the presentation services also need an Application server which is OC4J for OBIEE. Is this true.
    2.if the IIS Server is only HTTP Server, what is OC4J and standlone OC4J for OBIEE.
    i think the difference between IIS and OC4J is ( true or false)
    1. oc4j or oc4j Standalone is application server( contains OC4J Instance(J2EE) and HTTP Server)
    2. oc4j itself has a an HTTP server which is used if we dont plan to deploy IIS Webserver.
    3. IIS server is only HTTP which can be used in Production environments and will still use OC4j as application server.
    MY question is how to configure IIS server and configuration files and oc4j if we plan to deploy a environment like this.
    i followed OBIEE installtion documents and did not get a clear picture.
    there is something called PLUG-IN's (iis plugin and j2ee plugin ) which is used if we deploying on IIS and OAS(WEBLOGIC)
    this is is my understanding and Please Correct me if i am wrong

    Please follow this up on your copy of the thread difference between OC4J Standalone & IIS for BI Presentation services

Maybe you are looking for