Try to treat the SOAP enveloppe response in my java class

hi all
i have a simple class that call a webservice and gets back an xml response, with SOAP.
here is a sample :
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<BonjourResponse xmlns="http://tempuri.org/">
<BonjourResult>Bonjour string</BonjourResult>
</BonjourResponse>
</soap:Body>
</soap:Envelope>
i just want to get the string sent in the response (between the <BonjourResult> tags)
what should i do to treat this xml ?
for the moment i retrieve this xml this way :
URL endpoint = new URL("http://val1nt10/PCS_Integration/SynchronizeProfiles.asmx");
URLConnection con = endpoint.openConnection ();
con.setDoInput (true);
con.setDoOutput (true);
con.setUseCaches (false);
con.setAllowUserInteraction(false);
con.setRequestProperty ("Content-Length", Integer.toString (request.length));
con.setRequestProperty ("Content-Type", "text/xml; charset=utf-8");
con.setRequestProperty ("SOAPAction", "\"http://tempuri.org/Bonjour\"");
OutputStream out = con.getOutputStream ();
out.write (request);
out.flush ();
out.close();
InputStream in = con.getInputStream();
regards,

that's okay i found a solution to my problem :
InputStream in = con.getInputStream();
                    com.ibm.xml.parsers.DOMParser parser = new com.ibm.xml.parsers.DOMParser();
                    parser.parse(new InputSource(in));
                    Document doc = new DocumentImpl();
                    Envelope env = new Envelope();
                    Body body = new Body();
                    doc = parser.getDocument();
                    NodeList nl = doc.getElementsByTagName("mytag");
                    NodeList nl2 = ((Element) nl.item(0)).getChildNodes();
                    for (int i = 0; i < nl2.getLength(); i++)
                         Result += DOM2Writer.nodeToString(nl2.item(i)).trim();
                    out.close();

Similar Messages

  • Getting The SAP KM data in a java class

    Hi Everyone
                    I want to get  the SAP KM data to a simple java class......I am able to get this with servlet but i want not a servlet but a simple java class that can get the Documents stored in SAP KM repository..................
    I am thinking of using any java Driver in some code like
    Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
                        String url = "http://host name :port";
                        Connection con = DriverManager.getConnection (url, "", "");
                        Statement stmt = con.createStatement ();
                   IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
                   ResourceContext c = new ResourceContext(serviceUser);
                   IResource r = ResourceFactory.getInstance().getResource(RID.getRID("/documents/Public Documents/"), c);
                   System.out.println("Current user   "+r.getContext().getUser().getDisplayName());
                   System.out.println("Current user  : "+r.getContext().getUser().getDisplayName());
                   System.out.println("Access RID  : "r.getAccessRID().toString()"<br>");
    But the above code is giving an exception---java.sql.SQLException: No suitable driver
    Can anyone tell me the suotable Lava driver to access SAP KM repository..Or any simple java code that can connect to SAP KM...
    Waiting for Ur reply
    Thanks & Regards
    Rupesh

    Is there a way to find the list of imports that a
    java class file has added.Yes. It's very easy. The answer is [url http://en.wikipedia.org/wiki/Mu_%28negative%29]Mu.

  • Logging the SOAP request/response from rules engine

    Hi All,
    We would like to log the soap requests and response from the rules engine.
    The determinations-server.war is deployed on a weblogic server and we are not using seibel connector.
    Is it possible to log the soap messages for debugging purpose.
    Thanks,
    Suraj

    Hi All,
    We would like to log the soap requests and response from the rules engine.
    The determinations-server.war is deployed on a weblogic server and we are not using seibel connector.
    Is it possible to log the soap messages for debugging purpose.
    Thanks,
    Suraj

  • How to get the status of Javascript inside a java class

    Hi,
    Can anybody let me know the way by which I can get the status of Javascript (enabled/disabled) in browser inside a Java Class.
    I do have a trick -
    <input type="hidden" name="jstatus" value="disabled">
    <input type="submit" name="submit" onClick="doChecking()">
    <script language= javascript>
    function doChecking()
    document.form.jstatus.value = "enabled";
    submit();
    Now inside our java class we can check the value of "jstatus" if it is disabled then it is disabled else it is enabled.
    Ha ha wat a stupid trick...... ;-)
    Plz let me know a real approach to determine the Javascript status.
    Cheers !!!
    Irshad

    Actually, I don't think that trick is stupid at all. Javascript and Java are normally in no way related (javascript is just plain text content to your servlets / jsp's). So a good way of getting such information to your server is submitting it, like you do.
    Another possibility would be to do it with Ajax in the background, but that all depends on what you do with the information.

  • My ipad3 w/ camera connection kit will not read my SDHC Class 10 memory card.  Should I try directly from the camera or does ipad not support class 10?

    Connection kit will read class 6 cards but not class 10???

    I use an 8GB SDHC Class 10 card & it works with my iPad 2. Make sure the 30-pin adapter is fully seated into the side of the iPad.
    Here's another way. Import the pics to your computer. Then you can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • SOAP XML Response in the form of JSP

    Hi,
    I am using a command in Websphere Commerce(WC) as "WebServices Provider " .For new users command is WC specific java program which takes input and throws back the result to the calling program.
    when a client sends a SOAP xml request to WC WebService Command,it sends back the SOAP XML response in the form of JSP to client.The Client is in Microsoft .Net language.
    My Question is:
    1)How the client is interpreting the SOAP XML response in JSP.
    2)Since the client being a .Net provider,to understand this response,he has to make any extra
    configuration ???
    Can somebody in the forum can help me in this regard.
    Thanks
    Mike

    Hi Mike1999 ,
    I am assigned with one project that is based on SOAP,I dont know abc of this technology.How the events are handled by SOAP....Etc Etc....
    Just eloberate What is ment by SOAP.Why it is used.

  • Invalid Response Code: (401) Unauthorized sending the SOAP request to XI

    Hi all,
    I am getting following error when i try to send the SOAP request to XI.
    Can any one please tell me what could be the problem.
    Kind Regards,
    Kiran

    Hi,
    Check out the user permission and role.
    I think this link help you the most
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Check these links :
    http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/content.htm
    Testing XI SOAP scenario via XMLSpy
    Re: SOAP Sender ADAPTER 401 No Authorisation
    Re: XI Web Service - Code: (401) Unauthorized.
    Try soap client https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9b16d790-0201-0010-4e9b-baa5f42830d8
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Can't retrieve the result from the soap response

    We are trying to send and retrieve audio files using j2me web services. What we did is to convert the byte array (recorded audio) to hex string before sending it to the server. We used the sun java platform 9 for our web service, sun java wireless toolkit 2.2,mysql.
    We successfully saved and sent audio files that is recorded up to 39 seconds long. Longer than that, the application does not continue running the program. In retrieving the audio file from the database, the application could retrieve and play an audio file up to 2 seconds long. Any audio file longer than 2 seconds, the application does not complete the retrieval.
    We already looked on the memory usage of the emulator and it doesn't use the whole phone memory to retrieve a 3 seconds audio file. We also looked on the soap message response and it showed that it retrieves the whole audio file which is in hex string even if it is a 3 seconds audio file.
    We don't know why the phone/emulator could not retrieve the whole audio file (if it's longer than 2 seconds) from the server. What could be the cause of the problem?

    Hello,
    I am not sure that we have lot of HTMLDB experts monitoring this forum, this is why I am inviting you to post your question in the Oracle Application Express (APEX) (fka: HTMLDB)
    Regards
    Tugdual Grall

  • Suspend 20 Iterations Error in Soap Assess Response (ODS)

    OPA Experts,
    I'm trying to replace the default error message you receive when the inferencing cycle has errored-out after 20 iterations. I'm restricted to using ODS and none of the features of OWD. Using Java framework.
    I've encountered this several times before and was able to stop via error() in the rules, but for this particular instance (see below), I can throw the error and view both this and the 20 iterations message in OPM (20 iterations in red box at top of OPM interface and custom error message in output window), but the soap assess response presents the 20 iterations (ThinkException) message and nothing else.
    "This particular instance" means an illegal attribute value and relationship population in the same entity. E.g. TaxReturn entity --> <attribute>tax_filing_status = "Single" and <relationship>tax_filing_spouse populated. A person filing a tax return can only have a tax_filing_spouse populated when they have a tax_filing_status of "Married Filing Jointly".
    What I've tried so far:
    Catching and throwing the error via rules
    OnReturnResultEvent
    InferencingListener
    SoapServerException
    ThinkException override (which isn't really possible but I thought I'd try anyway )
    OnBeforeThinkEvent
    The request, in all of the above cases, only touches my empty constructors and none of my methods.
    Here's one example (among many) of my log4j log (edited for space and readability purposes):
    ========================================================================================
    388 [http-127.0.0.1-9000-Processor4] INFO  com.oracle.util.plugins.PluginRegistry  - Successfully created plugin factory: handleIllegalTaxRequest.HandleIllegalTaxRequest
    8509 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - User setting attribute i_return_filing-status, entity taxreturn, instance name 54f63ed31435527aebb709fac1417c00, session 1 to value 1
    21080 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - Engine inferring attribute o_per_pend-person, entity person, instance name SELF1120128911, session 1 to value true
    21080 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - Finishing inferencing on session 1
    21081 [http-127.0.0.1-9000-Processor2] TRACE com.oracle.determinations.ocs.UnknownMemberListener  - In UnknownMemberListener
    21083 [http-127.0.0.1-9000-Processor2] ERROR com.oracle.determinations.server.services.AbstractNativeService  - Could not reach a determination for rulebase 'FakeNameOfRulebase'. Reason: Think cycle has not stabilised after 20 iterations.  This is probably due to a fault in the inferencing listener.
    com.oracle.determinations.server.exceptions.ThinkException: Could not reach a determination for rulebase 'FakeNameOfRulebase'. Reason: Think cycle has not stabilised after 20 iterations.  This is probably due to a fault in the inferencing listener.
      at com.oracle.determinations.server.assess.AssessEngine.assess(AssessEngine.java:147)
      at com.oracle.determinations.server.services.assess.AssessAction.process(AssessAction.java:67)
      at com.oracle.determinations.server.services.AbstractNativeService.processRequest(AbstractNativeService.java:119)
      at com.oracle.determinations.server.DSServlet.doPost(DSServlet.java:103)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:722)
    ========================================================================================
    None of the inferencing responses in any of my logs present "tax_filing_spouse" relationship...so I must assume it's getting hung up on this. If I change the tax filing status in the request, I get the correct assess response with 0 errors. I tried getDecisionReport() of InferencingEvent to verify, but as mentioned above, only my constructors are being touched and none of my methods.
    Now, I could be approaching this incorrectly in my Java code, or there could be a way to catch and suspend this in the rules, but I've extended the capacity of my efforts and am about ready to throw my laptop out of the window. Any help would be greatly appreciated. I really need it!!!!
    v/r
    Mike

    Hi Mike,
    I'm not really sure what you want to achieve, this error message means that your assessment results are invalid and none of the conclusions can be relied upon so you really need to fix the rules themselves. This error can be caused by a loop in the rule logic as well as a a problem with an inferrencing listener (as suggested in the error message). You can check for rule loops in OPM and / or use visual inspection as you know which attribute / value triggers the problem.
    If you could share your rulebase and the source code for your UnknownMemberListener that may shed some light on the issue.
    If you really need to change the error message to you SOAP clients you may need to implement a custom service but this is unlikely to be trivial.

  • How to get the soap request for the particular operations in CRM

    Hi friends,
    We got the wsdl files of different modules from the crm(Oracle CRM on demand). We converted the wsdl files to java classes using axis1.4 wsdl2java tool.Now all create,update,download,lookup operations are implemented in java using the generated classes and they are working properly with the client stub.Now the problem is how can we get the soap request and response of particular operations that we submitted to CRM .The request and response should get by using java code.We are looking no tool for the soap request/response. We are working in Eclipse IDE.
    thanks in advance...

    Refer the link. It might tellsa about attaching to transport request but using the way you can find also -
    Re: How To Transport STANDARD TEXTS??
    Regards,
    Amit
    Reward all helpful replies

  • How to control the location of the SOAP:address element in the WSDL

    I have an EJB exposed as webservice in WebLogic 10.3. Further, the EJB has been annotated with the WebService annotation as in:
    @WebService(name = "S_CALCULATORname", serviceName = "S_CALCULATORserviceName",
    targetNamespace = "http://tempuri.org/SCalculator/")
    @Stateless(name = "S_CALCULATOR")
    public class S_CALCULATOR_Beanxxxxxx
    The location attribute of the SOAP:address element in the WSDL document generated by the Test Client facility is of the form
    http://host:port/ejb-java-class-name/service-name-attribute-value as in:
    <soap:address location="http://123.4.5.678:1234/S_CALCULATOR_Beanxxxxxx/S_CALCULATORserviceName" />
    Is there a way to control the value of the context root portion of the URL, ejb-java-class-name in this case, either using annotations or deployment descriptor files?
    thanks in advance for any replies,
    octavio

    Hi,
    While building the WebService Application you can use the following ANT task...
    <target name="build-service4">
    <jwsc
    srcdir="src"
    destdir="output/TestEar">
    <jws file="examples/webservices/jwsc/TestServiceImpl.java">
    <WLHttpTransport contextPath ="TestContext" serviceUri="TestServiceUri" portName="TestServicePortHTTP"/>
    </jws>
    </jwsc>
    </target>
    Or if you are developing JAXRPC EJB based WebService in that case you can even define the Context root using *@weblogic.jws.WLHttpTransport* annotation....
    @WLHttpTransport(contextPath="simple", serviceUri="SimpleService", portName="SimpleServicePort")
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Feb 4, 2010 10:22 PM

  • What's the Java Class Type corresponding 2 projectGantt's SubTasks Accessor

    Hi,
    I expose my java class as data control, and use the data control as a projectGantt. I get problem when i try to set the SubTask Accessor.
    I have a Fusion Web App, in the Model project, i write 2 java class: ( all the private fields has public gettors and settors which are omitted here)
    1
    public class GanttTask {
    private List<GanttTask> _subTaskList = new ArrayList<GanttTask>();
    2
    public class GanttDataControl {
    private List<GanttTask> _dataList;
    I expose the 2nd class: GanttDataControl.java as a data control by right click on it and select _"Create Data Control "_ from the drop down list.
    The data control creation is ok.
    I Drag&Drop the +"dataList"+ from the data control as a projectGantt, and only finish the data binding in the _"Tasks"_ tab.
    I run the page, the projectGantt shows ok with a FLAT(list) structure.
    I try to set the binding in _"Subtasks"_ tab.
    In the _"Subtasks Accessor"_ LOV, the +"subTaskList"+ appears in the LOV.
    I select it and finish the binding below it.
    I try to run the page again, the page cannot be showed and an error appears in JDeveloper:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$ProjectGanttModel.getRowCount(FacesGanttBinding.java:613)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichProjectGanttRenderer.encodeGantt(RichProjectGanttRenderer.java:388)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:1307)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <15-Feb-2012 11:46:59 o'clock CST> <Error> <HTTP> <BEA-101020> <[ServletContext@19732978[app:testGantt0214 module:testGantt0214-ViewController-context-root path:/testGantt0214-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         Truncated. see log file for complete stacktrace
    >
    <15-Feb-2012 11:46:59 o'clock CST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 15-Feb-2012 11:46:59 o'clock CST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 15-Feb-2012 11:46:59 o'clock CST SERVER = DefaultServer MESSAGE = [ServletContext@19732978[app:testGantt0214 module:testGantt0214-ViewController-context-root path:/testGantt0214-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25058: Definition subTaskList of type Attribute is not found in ViewDefGanttTask1_7.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7100)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding.getRootNodeBinding(FacesGanttBinding.java:157)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getParent(RowDataManager.java:312)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.RowDataManager.getRowCount(RowDataManager.java:287)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$GanttModel.getRowCount(FacesGanttBinding.java:465)
         at oracle.adfinternal.view.faces.dvt.model.binding.gantt.FacesGanttBinding$ProjectGanttModel.getRowCount(FacesGanttBinding.java:613)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichProjectGanttRenderer.encodeGantt(RichProjectGanttRenderer.java:388)
         at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:1307)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:415)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1273)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Pen-PC TXID = CONTEXTID = 026fd69aaf53f3f5:-30631c41:1357f1e4b9d:-8000-0000000000000028 TIMESTAMP = 1329277619970
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000

    i try to manually add the subTaskList from the data control to the page's "Bindings", it doesnt work.
    I solve this problem by using VO & View Link. Add using AM to expose data control.
    In the SubTasks dropdown list, I notice that, there is an additional SubTasks accessor which is the accessor that i defined in the View Link.
    I use this accessor, problem solves!

  • I want to call External Java class from the PL/SQL

    Hi,
    I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
    How do I do this.
    I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
    Is there any simple method available? or any other method?
    Thanks in advance.
    -Venkat

    First of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
    All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server.

  • How to consume SOAP webservice in to my java/j2ee application

    Hi,
          I am a java developer. how to i consume SAP soap webservice in to my java application.
    scenario : 1
    We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are require
    to SAP application. So that they provide me WSDL file,  How to i consume soap webservice in to my java application and also, How to i provide master data details to SAP system through SOAP webservice.
    Any body provide me a detail instruction how to integrate SAP Application in to my java application using SOAP webservice. or
    In this scenario i will go for any one open source ESB to consume the soap webservice in to my java application, and provide master data to
    SAP application, can any one guide to me.

    Hi,
    What IDE are you using?, for example with Eclipse i used WSDL2JAVA plugin in this way i converted the WSDL in java classes easily. Depending your development environment you can use different tools that makes easier the integration using the WSDL.
    Regards.

  • Unable to open PWA in browser and MSP on application server in project server 2007. ERROR: Sending the Soap message failed or no recognizable response was received.

    Hi All,
    I am using project server 2007 and WSS 3.0. 
    I have been facing a strange issue for couple of days. I am unable to open PWA in browser and MS Project Pro on application server.
    Everything is correct whether it is URL or MS Project profile account on MSP.  This is strange because i can open same PWA/MSP from other computers (Database server / Client PCs) but not locally on server.
    When i try to connect to MSP on App server, i get the following errors in event viewer.
    Event Type: Error
    Event Source: MSSOAP
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Connection time out..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: An unanticipated error occurred during the processing of this request..
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description: Soap error: Sending the Soap message failed or no recognizable response was received.
    Event Type: Error
    Event Source: MSSOAP
    Event Category: Client 
    Event ID: 16
    User: N/A
    Computer: APP-Server-Name
    Description:
    Soap error: Unspecified client error..
    One more issue i am facing and i guess that is related to above issue. The Issue is, when i am creating a new project, It's workspace gets created but doesn't get linked to the project and i can't link it manually because it already exists for the project.
    sandeep

    Hi Paul ,
    Thanks for reply. The project server URL was already added to the Trusted
    Sites/Local Intranet areas in IE. 
    sandeep

Maybe you are looking for

  • Can not locate where to find refresh button to put on menu bar

    I do not find the refresh icon on menu bar as before, the print icon is the only one there. I went to customize toolbar and the icon was not there. Please help, need to refresh pages. Thank you.

  • Using or for the same attribute?

    /web:window[@index='0']/web:document[(@name='body' or @name='finderBody')]/web:form[@name='search']Is this valid? I can't seem to make it work. The app under test has different names in the two supported versions. Using the right name attribute works

  • Download SAP Report in Spreadsheet Format with automatic Save As selection

    Hi All, I'm using an Excel sheet that links up to SAP to grab some data off of QE03. Due to the nature of my data, I have to save the data into Excel/Spreadsheet format (aka this button ) BUT, when you click that button it stops the script for a "Sav

  • Critical Error! The jiveHome directory could not be loaded

    Trying to install jiveforums. Installed WLS 1032, downloaded Webcenter additional services 10134 Copied jiveHome to a different directory C:\jiveHome In the installable directory of Webcenter Additional services executed below command: java -jar Edit

  • @EmbeddedID - JPA

    Hello!! I'm trying to map a relationship 1-N (Product(1)/Item(N)) and I'm getting an error when i insert the product. Error: Cannot insert the value NULL into column ITEM_PRODUCT.CD_PRODUCT. It sounds like I'm missing something, specially in my compo