Response struct of SOAP in particular case (in 9i AS Soap Server)

In Oracle9i AS Soap Server,
If the method is void type, which type of response struct will
be sent from 9i Soap Server?
1) Omit the response struct.
2) Return a response struct with dummy value.

Thanks for your response, Sandro.
The webservice which I use has been modified. Now if it throws an exception, I receive well a SOAP message :
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
   <soap-env:Body>
      <soap-env:Fault>
         <faultcode>soap-env:Client</faultcode>
         <faultstring xml:lang="en">ALREADY_EXISTS</faultstring>
         <detail>
            <n0:Z_WS_CREATE_WAGON.Exception xmlns:n0="urn:sap-com:document:sap:rfc:functions">
               <Name>ALREADY_EXISTS</Name>
               <Text>Virus scan profile /SIHTTP/HTTP_UPLOAD is not active</Text>
               <Message>
                  <ID>VSCAN</ID>
                  <Number>033</Number>
               </Message>
            </n0:Z_WS_CREATE_WAGON.Exception>
         </detail>
      </soap-env:Fault>
   </soap-env:Body>
</soap-env:Envelope>
About the exception managing :<br>
- In my integration process, I include the send step in a block, with property <i>Exceptions</i> =
ALREADY_EXISTS
- In the send step, in property <i>Exceptions</i>, I add <i>System Error</i>
ALREADY_EXISTS
- I insert an <i>Exception Branch</i> in the new block, <i>Exception Handler</i>
ALREADY_EXISTS
Is that correct?
Do I need to use Fault messages?
And how do I get the error message ?
<br>In transaction ST22, I have no dump.
<br>If it is a problem of exception managing, why do I get also the error (<i>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</i>) when all is right in the web service call ?
Regards,
Laurence

Similar Messages

  • No Response in synchronous SOAP adapter

    Hi Experts,
           I configured a soap-xi-soap scenario on XI 7.0, and i can run the whole scenario successfully. But i can not get the response from the outbound.
           I tested my scenario via XML spy, when i sent the request, i always got the following content in XML Spy:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Header/>
         <SOAP:Body/>
    </SOAP:Envelope>
    But if i sent a request to my target web service directly, i can get the correctly ressult. like this:
        <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <SOAP-ENV:Body xmlns:rpl="urn:WS_Hello_NameSi">
              <rpl:sayHiResponse xmlns:rn0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rn1="java:sap/standard">
                   <rpl:Response>This is Hello World test.</rpl:Response>
              </rpl:sayHiResponse>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I used message monitor and channel monitor, all the information display successful.
    when i use  "SXMB_MONI" monitor, the technical routing is correct, but the content in response is wrong?
    So what is the problem? Can somebody help me?
    BTW, i want to use TCP Gate to monitor the request, unfortunately i can not capture anything in my scenario. but i can capture the request if i sent a request to web servies.
    Thanks & regards
    Rocky

    Hi Matias,
       Thanks your reply!
       My question has been solved. Because i use the wrong Quality of service;
    ·    BE (Best Effort):
    The message is sent synchronously. The sender waits for a response before it continues processing.
    ·   EO (Exactly Once):
    The message is sent asynchronously. The sender does not wait for a response. The Integration Engine and the Adapter Engine guarantee that the message is sent and processed exactly once.
    ·  EOIO (Exactly Once In Order):
    Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system. Message processing is asynchronous in this case.
    Use the Best effort for synchronous scenario.
    Thanks&Regards
    Rocky

  • WSRM Adapter replaced with soap in PO7.4. Getting error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error"

    Hello All,
    We have scenario proxy->pi->webservice. In older versions of PI system they used wsrm adapter at receiver side and it's working fine.
    Receiver interface is asynchronous. So no response structute is present and receiver service is business component(since receiver is a third party).
    During migration, we have replaced the receiver adapter with SOAP adapter and used message protocol as SOAP 1.1 but the message is failing and in communication channel it is showing error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error". In this case the receiver interface is stateless xi 3.0 compatible(re using the old), after changing it to just stateless also issue persists.
    In target url field if i prefix the url with "http" then above mentioned error is occurring otherwise if i use the hostname:port/path.. then it is giving error
    "soap: Call failed: com.sap.aii.af.sdk.xi.srt.BubbleException: Unsupported protocol". So maintaing the url as http://hostname:port/pat.....
    As in old channel wsrm channel there is no userid and password, i haven't given any userid/pwd in receiver channel.
    used the bean sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean with  parameters
    Module Key  =  soap
      Parameter Name  =  noSOAPMakeSysErrFromResponseFault
    Parameter Value  =  false
    and
    xmbws.No SOAPIgnoreStatus = true
    but not successful.
    Please help me. I got stcuk here.

    Hello Jannus,
    The connectivity is working fine. Network team has confirmed it. I doubt that any strucutre(header) difference might be present in message when sending with wsrm adapter compared to sending with soap adapter.
    Please let me know the exact difference between soap and wsrm functionality in receiving end.
    By considering the structure issue, i have checked the "do not use soap envelope" check box, then i got error "Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Unsupported Media Type"
    Then i used message transform bean, but not successful.
    Regards,
    Ch.Venkat.

  • SAP Webservice returning HTML response instead of SOAP

    <br>Hi,
    I want to call a webservice created from an SAP function in SAP 6.40.
    When I test this webservice with the TCPGateway tool, if no application exception occured, I receive the correct response : the <b>SOAP</b> response message:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <n0:ZWsCreateWagonResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
          </n0:ZWsCreateWagonResponse>
       </soap-env:Body>
    </soap-env:Envelope>
    <br>But if an application exception occured in the web service, I receive the response message in <b>HTML</b> :
    500 Internal Server Error
    Error when processing your request
    What has happened?
    The URL .../sap/bc/srt/rfc/sap/z_ws_create_wagon was not called due to an error.
    The following error text was processed in the system LSD : Exception condition "ALREADY_EXISTS" raised.
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: Z_WS_CREATE_WAGON of program SAPLZ_WS_HU
    Form: EXECUTE of program CL_SRG_RFC_PROXY_CONTEXT ---- CP
    Form: IF_SOAP_APPLICATION_RT EXEC_PROCESSING of program CL_SOAP_APPLICATION_RFC ---- CP
    Form: EXEC_PROCESSING of program CL_SOAP_RUNTIME_SERVER ---- CP
    Form: EXECUTE_PROCESSING of program CL_SOAP_RUNTIME_ROOT ---- CP
    Form: EXECUTE_PROCESSING of program CL_SOAP_RUNTIME_SERVER ---- CP
    Form: EXEC_PROCESSING of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
    Form: EXEC_PROCESSING of program CL_SOAP_HTTP_EXTENSION ---- CP
    Form: HANDLE_REQUEST of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
    Form: HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION ---- CP
    <br>When I call the web service in XI with a SOAP Receiver Adapter, I get the following exception (in case of application exception but also when no application exception occured) :
    com.sap.aii.af.ra.ms.api.DeliveryException:
    <br>invalid content type for SOAP: TEXT/HTML
    So, my questions:
    - how to receive a SOAP response instead of an HTML response in case of application exception in the web service ?
    - why do I get an Invalid content type exception when the response is well a SOAP response ?
    <br><br>Thanks in advance,
    Laurence

    Thanks for your response, Sandro.
    The webservice which I use has been modified. Now if it throws an exception, I receive well a SOAP message :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <soap-env:Fault>
             <faultcode>soap-env:Client</faultcode>
             <faultstring xml:lang="en">ALREADY_EXISTS</faultstring>
             <detail>
                <n0:Z_WS_CREATE_WAGON.Exception xmlns:n0="urn:sap-com:document:sap:rfc:functions">
                   <Name>ALREADY_EXISTS</Name>
                   <Text>Virus scan profile /SIHTTP/HTTP_UPLOAD is not active</Text>
                   <Message>
                      <ID>VSCAN</ID>
                      <Number>033</Number>
                   </Message>
                </n0:Z_WS_CREATE_WAGON.Exception>
             </detail>
          </soap-env:Fault>
       </soap-env:Body>
    </soap-env:Envelope>
    About the exception managing :<br>
    - In my integration process, I include the send step in a block, with property <i>Exceptions</i> =
    ALREADY_EXISTS
    - In the send step, in property <i>Exceptions</i>, I add <i>System Error</i>
    ALREADY_EXISTS
    - I insert an <i>Exception Branch</i> in the new block, <i>Exception Handler</i>
    ALREADY_EXISTS
    Is that correct?
    Do I need to use Fault messages?
    And how do I get the error message ?
    <br>In transaction ST22, I have no dump.
    <br>If it is a problem of exception managing, why do I get also the error (<i>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</i>) when all is right in the web service call ?
    Regards,
    Laurence

  • Particular case of Key calculation in invoice

    Hi guys,
    I have a particular case in which I don't understand how the system calculates WRX and EIN keys in Invoice:I describe an example semplyfing the numbers
    1) I have a PO with quantity ordered = 100 and price order 10: I entered several GR for a total qty 95 and so I have a GR value of 950
    2)NOW I Change the PO price and I set it to 9 instead 10
    3)I post two Invoice:
    - in the first I post 64 qty for an amount  of 544 and so the price is 8,5
    - in the second I post 31 qty(so with the first I entered all 95 qty) for an amount of 31*8,5 = 263,5 because the system takes the price of first invoice obviously
    In customizing the Purchase account EIN is parametrized 'At the receipt value'.
    Now:in the firs invoices the key KBS is calculated as  8,5 * 64= 544, in the second invoice KBS is calculated as 8,5 * 31= 263,5 and it is OK
    My question is:how the system calculates the keys WRX and EIN in these two invoices?I have read in this forum and also the OSS Notes 518368, 352419, 308008 but I should want your opinion.....
    Thanks in advance
    Best regards

    Hi,
    Create two formula variables, one for report input (formula variable 1)  and other for  premium received date(formula variable 2) . KF1 = ( Current premium period values ) , KF2 = KF1 -1 ( Previous premium period values ).
    Now,If var1 > var2 display KF1 else KF2.
    Write a formula, If (formula variable 1  > formula variable 2 )*KF1 + KF2.

  • Mapping problem in SOAP response to RFC response - RFC-XI-SOAP scenario

    Hi gurus,
    response structure from SOAP is as below (inbound msg - in SXMB_MONI)
    MONI and RWB shows successful(I am using graphical mapping)
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success">
    - <ns0:SAP_OUT>
           <ns0:F1 Value="1234" />
           <ns0:F2 Value="2345" />
         - <ns0:SAP_LINES>
             - <ns0:SAP_LINE>
                    <ns0:SAP_L Value="1" />
                    <ns0:Field5 Value="" />
                  - <ns0:SAP_S1>
                           - <ns0:SAP_S>
                                   <ns0:ID Value="11111" />
                                   <ns0:SAP__NO Value="0001" />
                                   <ns0:DATE1 Value="08/15/2008 00:00:00:000" />
                                   <ns0:FST/>
                             </ns0:SAP_S>
                    </ns0:SAP_S1>
             </ns0:SAP_LINE>
          </ns0:SAP_LINES>
      </ns0:SAP_OUT>
      </ns0:testrequestResponse>
    I make the RFC response with same structure and mapped it but it is not giving the full structure rather it is giving only this (Outbound Msg in SXMB_MONI)
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Z_MYRFC.Response xmlns:ns1="urn:sap-  com:document:sap:rfc:functions">
      <STATUS>Success</STATUS>
      </ns1:Z_MYRFC.Response>
    what went wrong?

    Hi,
    You would have forgot to map parent node coming after <STATUS>Success</STATUS>
    Make sure that you have properly mapped all the parents and there child.
    Are you getting the same result while Testing it standalone?
    Thanks
    Sunil Singh

  • Want to Receive Response Back From SOAP

    Hi ,
    My Scenario is IDOC-XI--SOAP
    Iam sending the IDOC from R/3 and want to hold the Response message from SOAP like "Success or Fail".
    I want to the response message in XI itself, no need to reach the response even to R/3.
    How can we achive this
    Regards
    Suman

    IDOC: Import it as Imported Object -->When you define the namespace of swc in IR select you can import Idocs and RFC option and complete the  textbox with correct information
    SID (system ID)
    Client
    Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason in my previous post.
    Create a SWC type B_ in SLD and define it as dependence of A_. later import it into IR. there define the Data Type  and Message Type for genericResponse.
    How you will use (maybe) this structure en many interface is the reasson you define it into B_XXXX
    *•Basis Products (B_): Ideal for templates, generic structures, shareable java programs, etc.
    •Canonical Definitions(C_): For generic business objects, meant to be reused.
    •Exchange Infrastructure Application Products(A_): These products represent XI objects other than interface objects (e.g. Mappings, Integration Processes, etc).
    •Interface Products( I_ ): Represent extensions to current application. These are the extensions we will later import in Exchange Infrastructure (XI) and associate the corresponding interface objects and integration scenario actions.*
    h1IRh1
    Web Services
    Import your WS as external definition into IR
    Message Interface
    Define a Message Interface type abstract and sync.
    ............Request Message (External Definition Idoc)
    ............Response Message ( genericResponse)
    Define a Message Interface type abstract and async.
    ............Request Message (External Definition Idoc)
    Define a Message Interface type abstract and async.
    ............Response Message ( genericResponse)
    define them in A_
    Define a Message Interface type inbound and sync.
    ............Request Message (Request WS)
    ............Response Message (Response WS )
    Message Mapping
    Create a Message Mapping for Request
    Create a Message Mapping for Response
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1)in container window define a variable named IDoc_ABS with category abstract interface and type (select the MI of IDOC alone)
    define a variable named GenericRespnse_abs with category abstract interface and type (select MI of genericResponse alone)
    2)create a Recieve Step --> in property message select the container you define before of idoc.
    3) define a Send Step--> mode synchronous
    select MI type abstract and sync (idoc and genericResponse)
    for property request message selects container Idoc_ABS
    for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    h1IDh1
    it is too much complicated to explain, lets try
    Create scenario
    Assign BS and create comunication channels with QoS (quality of service) type BE
    Import your BPM
    Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select  MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select  interface mapping and assing communication channel
    what we do here. the flow is next
    1)receive data from sender system and send it to BPM
    2)BPM call bs of target system (WS). how? because in interface determination you selected before the interface mapping
    hope you can understand and be useful

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

  • How to run a particular case continuously in event based state machine architecture.

    I am making a program using event based state machine architecture, it is running as expected whenever i am generating an event, case structure corresponding to that event executes.
    we are taking some measurements from oscilloscope e.g. i am having one boolean button for rise time whenever i am pressing that that button it displays the value of rise time, it displays only once( since i have generated an event on that boolean button so it executes only once and displays value for one time and then comeback to timeout state) but in our program what we want, we want it to update value continously once that button is pressed.
    Now for a time being i have placed while loop on the case corresponding to rise time but this is not the right approach.
    since i am using state machine architecture( event based ), i am not getting how to run particular case continuously ,or if there is any other better architecture that i can use to implement the same application.
    Attached below is the program.
    Attachments:
    OScilloscope .zip ‏108 KB

    Say, in the attached program, when the user selects Autoset, it inserts corresponding state (Autoset) and now if you want this state to run again and again, probbbly you can again insert Autoset state while executing Autoset state... ohhh its confusing... check the picture below (A picture is worth a thousand words):
    1. Based on user selection, insert Autoset state.
    2. Re-insert Autoset state again and again while executing Autoset state.
    3. Now to come out of this loop, based on appropriate event generation, insert any other state AT FRONT (equivalent to Enqueue Element At Opposite End).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • I am having problems syncing my iPad 2 with iTunes. Whenever I click "sync" or "apply," the sync begins. As soon as it gets to step 3 (in this particular case "determining apps to sync") it immediately stops syncing. What's the deal here?

    I am having problems syncing my iPad 2 with iTunes. Whenever I click "sync" or "apply," the sync begins. As soon as it gets to step 3 (in this particular case "determining apps to sync") it immediately stops syncing. What's the deal here?

    You haven't purchased apps with multiple Apple ID's have you? If you have, you can only sync with one Apple ID in the iTunes library at a time. Whichever ID you are signed into on the computer and the iPad would determine which apps would sync.
    Have all of your apps been transferred into iTunes for your iPad?
    iTunes Store: Transferring purchases from your ... - Support - Apple

  • Response SOAP Server Error

    Hi ,
    While invoking the PLSQL web service example from browser I am geting the following error
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/plsqlsample/dbfunc</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Please help ..

    Thanks Eric for reply...
    I was just following the steps provided at http://www.oracle.com/technology/pub/articles/price_10gws.html
    for web service examples for windows environment.. I am using the standalone oc4j container and jsdk 1.4 verison for my testing.. I am able to invoke the placeOrder plsql service but am getting error while invoking the request.
    I am not sure from where the NPE is getting transmitted ... Can I run my OC4J in interactive mode to trace the error.. Also how OC4J is linked to SOAP server intrenaly any idea?? Since the example wsdl I am using is having <soap:address location="http://localhost:7777/plsqlsample/dbfunc"> does this means that soap server is running at 7777 port and plsqlsample.dbfunc is binded to soap server?
    I am bit confused ..Please help ..

  • Can I use SOAP calls to remotely access functions on a SOAP server?

    Hi,
    I've used JavaScript and SOAP with "regular Acrobat" (e.g. Acroforms) to connect to a SOAP server, followed by Acrobat automatically setting up functions that I can call from JavaScript that, courtesy of SOAP, are relayed to the SOAP server for execution.  For example, a SOAP server that implements a Temperature function.  After doing the Net.SOAP.connect, my JavaScript magically has access to the Temperature() function, which is then executed remotely on the SOAP server courtesy of SOAP protocol.
    My question is: With Livecycle Designer and it's XFA-based forms, do I have the same ability to programmatically connect to a SOAP server and automatically have JavaScript functions set up that I can call on the server?  From what I've read, there are LC Submit and Execute operations which interact (e.g. exchange data) with a specified SOAP server, but it isn't clear that LC provides the ability to end up with a set of functions that I can call from my JavaScript that are then executed on the SOAP server.
    Stated more simply: Does LiveCycle Designer have the ability to connect to a SOAP server and automatically set up JavaScript functions that I can call (that then get relayed to the SOAP server for execution, followed by the return of data to my XFA-based program)?
    Thanks.
    Dave

    Hi Varma_LC and pguerett,
    First, thank you both for your quick responses!  It sounds like I shouldn't have any trouble using XFA forms and SOAP together.
    Let me ask a related question (not about LiveCycle & SOAP, but just about SOAP).  I'm trying to return two values from one SOAP call.  http://www.avoka.com/blog/?p=998&cpage=1#comment-1692 describes how to do this.  Unfortunately, it's not working for me.
    I'm able to retrieve single values from my SOAP server just fine.  When I try to return two values, the Acrobat JavaScript debugger says both values are "UNDEFINED".  The key part of my code is:
       var IntValue =   // define an int
         soapType: "xsd:int",
         soapValue: "1"
       var NValue =
           n1: IntValue  // n1 is the parameter my SOAP server expects
       var GetTheData = service.GetAllData(NValue);  // Go get the data and populate the GetTheData object
       console.println("GetTheData = " + GetTheData.CmdError + GetTheData.CmdResults);
       Param_1V.value = GetTheData.CmdError;     // This is a text box to display the returned value
       Param_2V.value = GetTheData.CmdResults; // This is also a text box to display the returned value
    Both the console.println & the two text boxes (beginning with Param) print out the same results, namely "UNDEFINED".
    I ran my SOAP client and SOAP server on two different computers, and then used WireShark to look at the SOAP protocol.  The SOAP protocol looks fine, and contains CmdError and CmdResults XML opening/closing tags around the actual data I'm trying to read from the SOAP server. Plus there are GetAllDataResponse and GetAllDataResult XML opening/closing tags around the data XML tags.
    I'm using Acrobat 9 and I developed my SOAP server using Windows Communication Foundation (WCF) 3.5.  The same JavaScript program that is unable to retrieve two values returns one value just fine (a different service... call, of course).  In other words, it's being done in one program, not two separate programs.  So, my singular Net.SOAP.connect call seems to be working fine.
    When I do the Net.SOAP.connect, I display the returned services, and GetAllData is listed, so Acrobat JavaScript knows about this particular service.
    BTW, the WCF built-in client works fine in retrieving/displaying the two returned values, correctly detecting and displaying both returned values.  Of course, the WCF client may have different "rules" than Acrobat has in terms of processing SOAP messages.  I've seen differences before between the WCF client and Acrobat.
    Any insights either of you have or anyone else has would be *greatly* appreciated. I've never used try/catch to trap JavaScript errors, if there is some type of error I should logically be looking for, I would be interested in information on that as well.
    Thanks!
    Dave

  • Cas Deployment error in Weblogic Server

    Hi,
    I am Installing Oracle Webcenter Sites on Windows 7 64bit OS. I am facing problem in deploying cas web application on Weblogic server using Admin console. I have followed installation guide and environment variables are also properly set. The issue is given below. Kindly give any solution.
    [HTTP:101216]Servlet: "Jersey Spring Web Application" failed to preload on startup in Web application: "cas". org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:553) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:527) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:62) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:143) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:182) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69) ... 45 more

    Hi,
    Sorry for late response.
    1) Check PRE_CLASSPATH in setDomainEvn file. I installed the Webcenter Sites in Windows 7 and in my case the PRE_CLASSPATH is (SET PRE_CLASSPATH=D:\OPT\Middleware1\user_projects\domains\csDomain\CS\WEB-INF\lib\commons-lang-2.4.jar %PRE_CLASSPATH%).
    2) In case of CAS deployment, Weblogic Server is trying to access cas file that is located in <Sites installation directory/bin> and the above issue is occur because of permission issue in windows 7. Right click the bin folder that is located in Sites installation directory, De-select Read only check and set all permission in Security tab. After that Restart Weblogic Server and try again to deploy CAS.
    Hope this will help you.
    Regards
    Shaheer Badar
    www.infotechinspiration.blogspot.com
    Edited by: Shaheer on Nov 20, 2012 10:20 PM

  • Soap server connection problem

    in jdeveloper 9.0.2 i am trying to develop and deploy webservice. After starting embeded oc4j engine from the command prompt i m unable to get this url http://<hostname>:8888 from the browser .
    Also facing the problem while running the new soap server connection wizard. while testing the connection i m getting this error.
    Testing connection...
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
    <HTML><HEAD>
    <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
    </HEAD><BODY>
    <H2>The requested URL could not be retrieved</H2>
    <HR>
    <P>
    While trying to retrieve the URL:
    <A HREF="http://<hostname>:8888/soap/servlet/soaprouter">http://kanti:8888/soap/servlet/soaprouter</A>
    <P>
    The following error was encountered:
    <BLOCKQUOTE>
    Unable to determine IP address from host name for
    <I>kanti</I>
    </BLOCKQUOTE>
    <P>
    The dnsserver returned:
    <BLOCKQUOTE>
    Name Error: The domain name does not exist.
    </BLOCKQUOTE>
    <P>
    This means that:
    <PRE>
    The cache was not able to resolve the hostname presented in the URL.
    Check if the address is correct.
    </PRE>
    <P>Your cache administrator is <A HREF="mailto:root">root</A>.
    <br clear="all">
    <hr noshade size=1>
    Generated Fri, 14 Feb 2003 13:05:51 GMT by firewall (Squid/2.4.STABLE6)
    </BODY></HTML>
         java.lang.String org.apache.soap.rpc.Call.getEnvelopeString(org.apache.soap.transport.SOAPTransport)
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
         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$2.run()
    Unable to connect to SOAPServerConnection1 (http://<hostname>:8888/soap/servlet/soaprouter)
    Connection test failed: unable to connect
    right now i m ready to use any web service either
    1 > j2ee web service .(or)
    2 > soap web service
    but both are not working .
    Pls help me on this issue.
    regards mangesh

    If you use HttpsURLConnection for this, it will work on java 1.4.1, but not on prior releases. It will (as far as I can tell from experiment) use the time that the server provides for Keep-Alive.

  • SOAP:Server, System Error SystemError , code MESSAGE.GENERAL /code

    Hi!!!
    I am testing a webservice and I am getting the following error
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>System Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context/>
                   <code>MESSAGE.GENERAL</code>
                   <text/>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    Kindly help me with the same.
    Thanking all of you in anticipation
    Regards,
    Kiran

    Hi Michal,
    Thanks for your prompt response. The above stated error is what I got after accessing it from soapUI.
    I tried to access it from the browser and it gave the following message
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Header />
    - <SOAP:Body>
    - <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <faultcode>SOAP:Client</faultcode>
      <faultstring>Empty HTTP request received</faultstring>
      <faultactor>http://sap.com/xi/XI/Message/30</faultactor>
    - <detail>
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
      </SAP:Error>
      </detail>
      </SOAP:Fault>
      </SOAP:Body>
      </SOAP:Envelope>
    Thanks for your help.
    Regards,
    Kiran

Maybe you are looking for

  • How to get exact height of HTML line with SUB tag in JTextPane?

    Hi, this is my first post. I`ve been searching forum for an answer for a week, but didn`t find one. I have HTMLDocument inside JTextPane(exacty inside my class that extends it - MyTextPane). I want to do some custom painting in JTextPane so I need to

  • Can I use my time machine hard drive to transfer files to a pc?

    Hello everyone. I recently broke my macbook, and had to replace it with a pc laptop. I have my data saved on a time machine enabled external hard drive. How can I use that hard drive to put my files (music/word documents) to the pc? Any information w

  • Synergy

    Is anyone else successfully using SynergyKM? I think it's causing my machine to reboot randomly. I did an Upgrade to this 2.16 Ghz iMac and that crashed during the Apple logo on bootup. Then I did an Archive & Install. That appeared to work successfu

  • BTE 2040

    Does BTE 2040 works if I use classic payment program or is it just for PMW payments?

  • Cannot produce target element

    Hi, I am getting "Cannot produce target element /ns:OUTFILE_MT" error when trying to do a simple File2File scenario. Message Mapping test is working fine. Any help would be appreciated. Regards, Sudha