Prob in Testing the sample Applicaion "Online Store with Oracle9i Web Services"

Hi,
I am testing this "ONLINE STORE" webservice application.I have deployed the web services and the application in Standalone OC4J V 903
I get the following error when JSP try to access the Web service.
whereas i can access the bean successfully from a client.
First I got the error "Authenticate against the proxy server".Since both my apps are in the same machine,it should not have asked for that.
When i put the authentication code,it gave the folowing "timeout error".
Error
Unsupported response content type "text/html", must be: "text/xml". Response was: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title>10060 -- Connection Timed Out</title> </head> <body bgcolor="#BEBEBE"> <h2>Proxy Reports:</h2> <div align="center"><center> <table border="1" width="90%"> <tr> <td width="100" bgcolor="#FFFFFF"><font color="#FF0000"><strong>10060</strong></font></td> <td bgcolor="#FFFFFF"><font color="#FF0000"><strong>Connection timed out</strong></font></td> </tr> </table> </center></div> <hr size="6" width="90%"> <div align="center"><center> <table border="0" width="90%"> <tr> <td><em>The web server specified in your URL could not be contacted.  Please check your URL or try your request again.</em><p><em>This error could have been caused by:</em><ul> <li><em>Bad / misspelled URL</em></li> <li><em>Following an invalid link</em></li> <li><em>Your network connection and/or transient conditions on the Internet</em></li> <li><em>Load conditions on the web server.</em></li> </ul> </td> </tr> </table> </center></div> <hr size="6" width="90%"> <p><em>Microsoft Proxy Server v2.0</em></p> <p><strong>Proxy Server : proxysvr.mumbai.tcs.co.in</strong></p> <p><strong>Via : </strong></p> </body> </html>
Can anyone help me in this ?
I tried deploying a single web service one at a time.The first webservice worked but when i deployed the next one again i get the same error !
Thanx for ur prompt reply in advance!
Chhimi

Hi,
I hav specified the correct conection parameter values in ConnectionParam.java.
When i try to run the currency converter Web service thhrough a simple client i get the following error :
F:\JDeveloper903\jdk\bin\javaw.exe -ojvm -classpath G:\CY\WebServ-Code\WS_Currency\ProjectCurr\classes;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\jdev\lib\jdev-rt.jar;F:\JDeveloper903\soap\lib\soap.jar;F:\JDeveloper903\lib\xmlparserv2.jar;F:\JDeveloper903\jlib\javax-ssl-1_2.jar;F:\JDeveloper903\jlib\jssl-1_2.jar;F:\JDeveloper903\j2ee\home\lib\activation.jar;F:\JDeveloper903\j2ee\home\lib\mail.jar;F:\JDeveloper903\j2ee\home\lib\http_client.jar Curr_Pkg.CurrrencyMain
[SOAPException: faultCode=SOAP-ENV:IOException; msg=services.xmethods.net; targetException=java.net.UnknownHostException: services.xmethods.net]
     void org.apache.soap.SOAPException.<init>(java.lang.String, java.lang.String, java.lang.Throwable)
          SOAPException.java:77
     void oracle.soap.transport.http.OracleSOAPHTTPConnection.send(java.net.URL, java.lang.String, java.util.Hashtable, org.apache.soap.Envelope, org.apache.soap.encoding.SOAPMappingRegistry, org.apache.soap.rpc.SOAPContext)
          OracleSOAPHTTPConnection.java:765
     org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
          Call.java:253
     java.lang.Float mypackage1.CurrencyExchangeServiceStub.getRate(java.lang.String, java.lang.String)
          CurrencyExchangeServiceStub.java:56
     void Curr_Pkg.CurrrencyMain.main(java.lang.String[])
          CurrrencyMain.java:13
Exception in thread main
Process exited with exit code 1.
I hav bypassed this web service by hardcoding in the code where it has been called.
Today again I try to run the application, The Shipping Web service worked fine but only once then again the same error got displayed!
I think it's all due to the proxy authentication code that it goes in a loop !
Mike, I hav cleaned the deployment files before redeploying the application.
As far as the "WS-demo=...." etc files which u ver referring to.. I think it's due to the profile dependencies in the deployment profile for the WS-demo app where all the web services deployment are checked. I had unchecked that option since i deployed al the web services individually.
Please anyone has any clue what's wrong.
I tried deploying a simple web service in Oracle9iAS Rel 2 and try to access that through a JSP deployed in standalone OC4J. Ther also it hanged ? Is it due to proxy authentication. Is there some additional procedure for deploying web service to Oracle9iAS?
Please reply ASAP !!

Similar Messages

  • Error in "Build Online Store with Oracle9i Web Services" sample

    After downloading and installing the "Build Online Store with Oracle9i Web Services" example from "http://otn.oracle.com/sample_code/tech/java/web_services/content.html". I receive the following runtime error message at the ShowShippingMode.jsp page :
    "http://www.zznet.ch:7777/WS-Demo/ShowProducts.jsp"
    [SOAPException: faultCode=SOAP-ENV:Server; msg=]
    To start the application go to "http://www.zznet.ch:7777/WS-Demo/Login.jsp".
    What is wrong?

    Both. I deployed the application under the IAS (902) and a standalone (903)environment. The IAS (port 7777) an the standalone oc4j (port 8888) is running with the same error.
    P.S. The server is down today for hardware technical reasons

  • Build Online Store with Oracle9i Web Services

    Is there a limit on the number of times you can run
    the Demo. I set-up the demo and had it working.
    After a number of runs on the demo I started to
    get an error message after clicking on SUBMIT CART.
    ( Connection refused [java.net.ConnectException] )
    Thanks
    Alan J. Gagne

    Hi,
    There is no limit on the number of times you can run this demo.
    Just check, if your database is up, and the OC4J is running properly. If it runs, at begining, there shouldn't be any problem while runing thereafter. If you still face any problem, please describe more abt your error.
    Cheers,
    -Srikanth

  • Can you pay for a Mac on the US Apple Online Store with a credit card that has an account in another country.

    Can you buy a Mac on the US Apple Online store with a credit card that has an account in another country.

    probably not as it will know the card isnot registered in the US and may even charge you for postage.  could you not get it from your country? I maybe cheaper (with the exchange rate) and quicker for delivery

  • How to test the sample adapter code on PI 7.1?

    Hi,
    I would like to test the sample adapter on PI 7.1.
    I followed these explanations:
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    How-to deploy Sample Adapter in PI 7.1
    but I still can't get things working.
    The com.sap.aii.adapter.sample.ra.jar file I retrieved from the server doesn't contain any ra.xml file so I took the SampleRA.xml I found in the sample_ra.jar file fetched from a PI 7.0 server.
    I used this XML file content to fill the adapter metadata in the integration repository.
    The sample adapter is deployed and its JNDI name is
    deployedAdapters/com.sap.aii.adapter.sample.ra/shareable/com.sap.aii.adapter.sample.ra
    I don't know where to put this information in the metadata.
    As a result my sender and receiver communication channels are said to be running in the runtime work bench but there is no message thrown when I put the expected file in the source directory.
    The sender communication channel stays blind.
    Could someone help me?
    Thanks in advance for any help.
    Olivier

    Hi,
    Thanks for your answer but there is no sample_ra.rar file on my PI 7.1 server.
    Instead I have a com.sap.aii.adapter.sample.ra.jar file that is located at
    D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\bin\com.sap.aii.adapter.sample.ra.rar
    and
    D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\connectors\com.sap.aii.adapter.sample.ra.rar
    It is the same file and its content is:
    testing: META-INF\                OK
    testing: META-INF\MANIFEST.MF     OK
    testing: com\                     OK
    testing: com\sap\                 OK
    testing: com\sap\aii\             OK
    testing: com\sap\aii\af\          OK
    testing: com\sap\aii\af\sample\   OK
    testing: com\sap\aii\af\sample\adapter\   OK
    testing: com\sap\aii\af\sample\adapter\ra\   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnection.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionFactory.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionRequestInfo.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIInteraction.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIResourceAdapterMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIConnectionManager.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnection.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory$XIManagedConnectionFactoryController.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIAdapterCategories.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConfiguration.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConnectionEventListenerManager.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConnectionSpecImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIInteractionSpecImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XILocalizationUtilities.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIMessageFactoryImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIMessageRecordImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities$1.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XITrace.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\package-version.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_de.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_en.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_fr.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_ja.properties   OK
    There is no ra.xml file
    Regards
    Olivier

  • Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell computer w/ windows 7 with minimal programs installed

    Itunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a nItunes will not connect to the internet or access store with working internet connection. ive already tried updating to latest version and turning off windows firewall. running a new dell, windows 7 ultimate, no virus or firewall programs installed.

    This my sound too simple, but I just kept clikning on the arrow next to the selected music and it finally "Kicked" in.
    I live in Europe ,So Be persistent and don't give up !  Aug. 2013

  • [svn:bz-trunk] 8823: Updated the sample messaging-config. xml with the new disallow-wildcard-subtopics configuration element.

    Revision: 8823
    Author:   [email protected]
    Date:     2009-07-27 09:12:08 -0700 (Mon, 27 Jul 2009)
    Log Message:
    Updated the sample messaging-config.xml with the new disallow-wildcard-subtopics configuration element.
    Modified Paths:
        blazeds/trunk/resources/config/messaging-config.xml

    Hi,
    could you let us know what version of OEPE you were running prior to the upgrade along with the Eclipse version ? Also was the previous installation a full OEPE install or was it installed via the update site ?
    thanks
    Raj

  • 2 questions, what do i do when a audio book i purchased is not in purchased menu for re downloading for my account, or why cant i re download the book from iTunes store with out paying for it after support they told me i could.

    what do i do when a audio book i purchased is not in purchased menu for re downloading for my account, or why cant i re download the book from iTunes store with out paying for it after support they told me i could.
    i tried to re download a purchased audio book after i contacted apple support team for iTunes they said it would be ready for re download or they said id have to re download it from iTunes store i cant remember, so i tried both couldn't re download it from purchased menu and the book id have to re download from iTunes store costs money as if i have never purchased what do i do? I don't have any warranty any more or money to purchase another warranty.

    Babowa
    Thank you for your prompt reply.  I have bought 1 MacbookPor 17, 1 Macbook air, 1 MacbookPro 15 , 2 ipads, 3 iphones, and this iMac27 and 2 of iMAC24 or 20 not sure   but I do not recall ever doing what you are telling me in your reply.   When you get a extended car warranty, you don't   sign up for it.. it is just there and is included in the sale.   You don't buy this warranty to use it.. You buy it, in case something happens.   Here a perfect iMAC with minimum 100 hour useage has a dead drive.  That is not normal and I should not have to even be requesting anything since most MFG offer a 3-5 year warranty on their disc drives and I believe that is probably passed on to Apple regardless if an extended warranty is purchased or not.   Customer service dictates a more flexible approach to make sure the lifetime value of a customer is not lost due to some misunderstanding.
    I was in the MacStore that I purchased the unit..and they found and pulled the invoice and confirmed
    the purchase of it in front of me.  I had paid with credit card and fortunately it was there in their system.   I do not also recall recieving any box or paper although most everything I ever get remains sealed.. I am not in the habit of opening anything since I have never encountered any serious issues before.
       I have used my Macbookpro warranty 1 time  and that is all throughout the years I have been investing in Apple equipment.
    I just recieved a letter from the store asking me to get the paper to them so they can register it... I don't recall getting any paper actually.  But I do have several boxes sealed here..  On this iMAC27, it was a hurry up and get it done thing and I don't remember taking anything extra with it.   Regardless,  my request does not seem unreasonable.
    Thank you

  • Have the capability that  let Entity Objects from Web Services Datasources?

    Have the capability that let Entity Objects from Web Services Datasources? or
    where can we found the example about implement Entity Objects from Web Services Datasources ?

    I'm not sure what are you asking for. If you are looking to create a data-control based on a web service then this online demo might help:
    http://www.oracle.com/technology/products/jdev/viewlets/1013/WebServicesAndADF_viewlet_swf.html
    Or are you asking how to expose an ADF Business Component as a Web service?

  • The server at Mac OS X Server Web Services requires a username and password

    I am running SL Server 10.6.2, wiki works but when a person clicks an attached file in a wiki and then selects "open" they get a login popup with the notification The server at Mac OS X Server Web Services requires a username and password. It doesn't matter what they put into the login/pass it comes back. If they hit cancel then the document opens. If they click save then it saves with no issue. I can type in the admin login/pass of the server and it works. Does this mean the security settings to the location of the files is wrong? Any help is greatly appreciated!

    By the way they are using Internet Explorer 7 when opening these documents.

  • Prob with Adaptive Web Service Model and Response with reference of itself

    Hi guys,
    I am facing a problem with the Adaptive WebService Model. I have a WebService which is working properly in a Servlet and also in the web service navigator,
    The webService has a method let´s say create(objectDTO). The structure of objectDTO is like this:
    propertieA
    propertieB
    propertieC
    propertieChildObjectDTO
    So I can pass a list of objectDTOs to the webService. If i import the webService the structure in the model looks fine, but if i want to map it to any context, only the properties A-C are mapped. propertieChildObjectDTO is not mapped.
    Has anyone a clue on how to solve this problem ? I just tried to add and initialize the propertieChildObjectDTO manually but I got a NullPointerException.
    I would appreciate  your help.
    Happy new year guys
    Regards
    Flo

    Guys......
    seems like i can´t reach my requirement with Adaptive Web Service Model:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%252bweb%252bservice
    Now I want to make it by hand. How can I import the regarding EJB ?
    Thanks !
    Flo

  • Get the client (caller) IP in a RESTFul web service resource

    Hello,
    How i can get the client (caller) IP inside a RESTFul web service resource?
    Something like for SOAP Web Services
              MessageContext msgCtxt = wsCtxt.getMessageContext();
              HttpServletRequest req = (HttpServletRequest) msgCtxt.get(MessageContext.SERVLET_REQUEST);
              String clientIP = req.getRemoteAddr();
    Thank You

    1) Are you trying to create a RESTful web service in LabVIEW?
    or
    2) Are you wondering about creating a thin client to consume the web service?
    A1) Web Services in LabVIEW
    A2) LabVIEW WebUI Builder  You can create a VI to act as a client for your web services, but not a thin client (i.e. running in the browser)
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • PA Error: The project has no assets with valid in service dates

    Hello all,
    I am facing issue while generate Capital Project (Projects: Capitalization > Capital Projects) I am getting below Exception Reason error.
    The project has no assets with valid in service dates
    Please Help me to clear this issue.
    Thanks and Regards,
    Muthu

    Hi,
    Thanks for your reply, Let me check and get back to you.
    Thanks and Regards,
    Muthu

  • PRC: Generate Asset Lines for a Single Project shows error(The project has no assets with valid in service dates.)

    Project Number             Project Name                    Exception Reason
    15                         Capital Project Jatyuapura      The project has no assets with valid in service dates.

    HarvirSinghSaini wrote:
    Project Number             Project Name                    Exception Reason
    15                         Capital Project Jatyuapura      The project has no assets with valid in service dates.
    PRC: Generate Asset Lines For A Range Of Projects Prints Exceptions (Doc ID 1519498.1)
    Integrating Oracle Inventory Transactions Into Oracle Projects To Generate Asset Lines & Interface Assets To Fixed Assets (Doc ID 1392743.1)
    Thanks,
    Hussein

  • Dismal esperience - Buying an Apple TV from the UK Apple online store.

    I recently ordered an Apple TV from the UK Online store. As I pushed the order button i relaised that Apple UK uses a courier service - Syncreon - that in turn used a subcontractor UK Mail. Thse require that you remain home to receive the parcel. I live alone and also cannot use my workplace as a delivery address. It is impossible for me to stay home for the better part of a day waiting for a delivery. I called Apple support to ask if they could use the UK Royal Mail. They repiled that htis was not possible. I then asked if I could pick the ATv up at the UK Mail depot. To my dismay I was told that this was at Milton Keynes - 68 Km from my work place. The ATv would however be available after 18:30. I deciced to drive up to Milton Keynes - only to find that the driver had not come back and would not be in until well after 22:00. I therefore had no choice but to drive home - another 70Km  - 130Km driven without result. I have had no choice but to cancle  the order! I am a long term Mac user and have shopped at the Apple Store in France and Germany. Here the postal service is used and I have always been able to go to my local PO to get the item. Apple states that signature is needed for an ATv. Based on this really dismal experience I wil never use the UK online store again. To add insult to injury - my nearest Apple Floor stores involve me driving for over an hour or taking the train to central London. This adds a good 20£ to the price of the ATv. So - no more online orders from me in the UK.

    when using such courier services I often missed them because i was at work then they leaft a number I could call and arrange some other time they could come around or a place I could come to pick it up
    located in Denmark though so not sure if the courier services apple use here are less upright about it
    btw if you wish to complain to apple then you should use the feedback channel
    http://www.apple.com/feedback/
    this forum is user helping only

Maybe you are looking for

  • Search for text in main VI crashes labview

    I'm using Labview 8.6 under Windows Vista Business.  I'll update to Labview 2009 once I finish the current project.  While working on the current project, when I do a text search in the main vi, the Labview environment crashes without error and witho

  • Problem in consuming web service from esworkplace

    Hello I am useing CE7.2 evaluation version I want to consume a web service from SAP workplace I've built a process composer project then I tried to import a WSDL and chose the "service registry" option However I keep getting  the message "internal er

  • Mac Mini doesn't share its internet connection

    HI, I have a Mac Mini 3,1 (intel core 2 duo, 2GHz), with Snow Leopard 10.6.8, and an inbuilt AirPort Extreme with the Broadcom BCM43xx 1.0 (5.10.131.42.4) firmware. I am trying to share its ethernet connection to the internet with an iPhone 3GS via W

  • User I/O and db file parallel read is high in AWR report

    Hi, We have one performance issue during a job execution. From the awr report we have identified one query with a table having millions of records causing problems and then we had also fine tuned that query by changing it's code and by using the optm

  • Call C function in SQL statement

    dear all I want to know how i can call C function in SQL statement where clause