Problems doing the "Web Service" example from the 2-Day-Developer Guide

Hello,
I want to do the "web service" example from the 2-Day-Developer Guide.
I give the application my proxy server address in the format address:port and go through the assistant creating the web service. After selecting the IBM UDDI-service and searching for %xMethods% as business name I get the following error:
ORA-31011: XML-Parsing not successful ORA-19202: Error parsing XML LPX-00104: Warning: Element "html" is not declared in DTD Error at line 2
What have I done wrong?
With kind regards
Florian Reiser

Please.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
(I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
Thank you,
Tony Miller
Webster, TX

Similar Messages

  • Download_my_file example from HTMLDB 2 day developer Guide

    Hi -
    I'm using htmldb/APEX v 1.6. I'm following the Oracle HTMLDB 2 Day Developer Guide chapter 8. In this example, we are uploading files to be stored in the database as BLOB's. Then we are downloading the files.
    The example works as advertised until we create the custom table and procedure called download_my_file.
    Using the default table and procedure, the file upload and download work correctly.
    Using the procedure called download_my_file fails with error:
    [Thu Feb  4 13:11:18 2010] [error] [client 100.100.100.11] [ecid: 1265307078:100.100.100.202:18991:0:163,0] mod_plsql: /pls/htmldb/HTMLDB.DOWNLOAD_MY_FILES HTTP-404 \nHTMLDB.DOWNLOAD_MY_FILES: PROCEDURE DOESN'T EXIST\n
    Here is my version of procedure download_my_file:
    (p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM file_subjects_1
    WHERE id = p_file;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(v_mime,'application/octet'),FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    Edited by: user11367243 on Feb 4, 2010 11:27 AM
    Execute privileges on procedure download_my_file have been granted to Public and HTMLDB_PUBLIC_USER. Procedure is owned by user HTMLDB

    Please.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
    (I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
    Thank you,
    Tony Miller
    Webster, TX

  • Problem with Google Web-Service Example

    Hi guys,
    i have a problem with the Google Web-Service Example.
    I am running EP6.0 SP9 and NWDVST 2.0.9
    I did everything according to the tutorial. Got my google license key too.
    When i test the web-service i get the following exception:
    +
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.studie.webdynpro1/com.Allgemein.Allgemein/com.Allgemein.iViews/com.Allgemein.Google
    Component class : com.tutorial.wsdl2service.MyGooglePage
    User : Administrator
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Exception during PageProcessorComponent.doContent()
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:139)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    ... 32 more
    Caused by: com.sapportals.portal.prt.service.ServiceException: Service not found: MyGoogleService
    at com.sapportals.portal.prt.core.service.ServiceManager.getPortalServiceItem(ServiceManager.java:384)
    at com.sapportals.portal.prt.core.service.ServiceManager.get(ServiceManager.java:184)
    at com.sapportals.portal.prt.runtime.Portal$RuntimeResources.getService(Portal.java:132)
    at com.tutorial.wsdl2service.MyGooglePage$GoogleDynPage.onSearchButtonClicked(MyGooglePage.java:98)
    ... 39 more+
    My XML File has the following content:
    ++
    The MyGooglePage.java includes the following line:
    IMyGoogleService googleService = (IMyGoogleService) PortalRuntime.getRuntimeResources().getService("MyGoogleService");
    any ideas what the problem is? I read all of the existing forum threads about this topic but could not solve the problem.
    Message was edited by: Dirk Jäckel

    no ideas so far?

  • Problem printing in web service application from server

    Hi all,
    I develop a Web Service Client application in Tomcat and Axis2, using NetBeans, This applications acces SQL Server Data Bases, and connects to the Web Service Provider trough internet, everithing goes ok, when I run the application locally , I mean I deploy the application in Tomcat/Axis2 in my local computer I consume the Web Service, them when I got the response from the Web Service provider I have to print (save) the informattion to a local file, and after save it, print the ifo to a phisical printer. this is done OK. but when I deploy de Application in >Tomcat/Axis2 in the server it does not print. how can I do to address the file to the client computer insted of the server? the following is part of the code I use to save and print the file.
                  FileOutputStream os = new FileOutputStream("C:/HONDUTEL/recibo.log");
                    //  FileOutputStream os = new FileOutputStream("C:/HONDUTEL/CEIBENA/recibo.log");
                    PrintStream ps = new PrintStream(os);
                    ps.println(" ORGANIZACION DE DESARROLLO EMPRESARIAL FEMENINO");
                    ps.println("                      O D E F      ");
                    ps.println(" ========================================       ");
                    ps.println("                                                      ");
                    ps.println("Por LPS, : " + valortotalapagar.getValue().toString());
                    ps.println(" Número de Telefono            = " + algo );
                    ps.println(" " + nombre.getValue().toString());
                    ps.println("           V A L O R   P A G A D O     = " + valortotalapagar.getValue().toString());
                    ps.close();
    String filename = ("C:/HONDUTEL/recibo.log"); // THIS IS THE FILE I WANT TO PRINT
                    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
                    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE; // MY FILE IS .txt TYPE
                    PrintService printService[] =
                            PrintServiceLookup.lookupPrintServices(flavor, pras);
                    PrintService defaultService =
                            PrintServiceLookup.lookupDefaultPrintService();
                    PrintService servicex = ServiceUI.printDialog(null, 200, 200,
                            printService, defaultService, flavor, pras);
                    if (service != null) {
                        DocPrintJob job = servicex.createPrintJob();
                        FileInputStream fis = new FileInputStream(filename);
                        DocAttributeSet das = new HashDocAttributeSet();
                        Doc doc = new SimpleDoc(fis, flavor, das);
                        job.print(doc, pras);
                        Thread.sleep(10000);
                    }Thanks in advance.
    Jeff.
    Edited by: jeffreehy on May 21, 2009 9:53 AM

    Do you have the same with sjsas?

  • Problem creating a web service PROXY from a wsdl file/URL

    Hi,
    I am experiencing problems when I want to import a WSDL file for creating a proxy object.
    When I import the WSDL file from URL I get an error like this: <b>404   Not Found
    The requested resource does not exist.</b>
    Then, I  try to create it from a file, but I get other error:
    <b>Document not found (path o:\BCS.WSDL, error code 7</b>
    The error code 7 indicates <b>unknown error</b>
    Any help?.
    thanks in advance.
    Eduardo.

    Hi,
    I've done the same from other ECC6.0 System and everything was working perfetly, why all this can happen?
    I've ckecked the activation of the proxy objects, traces, etc... and it's the same in both systems, what more should i check?
    Thanks in adavance.

  • Problem in using the Web Service generated from BAPI_FLIGHT_GETLIST

    Hi all,
       I am trying to use the Web Service generated from BAPI_FLIGHT_GETLIST. I have got the wsdl file, and trying to invoke it. But, while I can test the BAPI using the Airline ID AA, I can't test from the Web Service using the same data. It shows the error message - "Airline AA not found". Anyone having solution, please help. This is urgent.
    Thanks,
    Anirban
    Message was edited by:
            Anirban Das

    Yes, I am connecting to the same system where we have data..
    Anirban

  • Hi... How to start the application for Web Services Example...

    Hi all,
    I want to develop one application for a example of Web services. From J2ME i have to request and get aresponse from other platform like VB.net using Web Service APIs. Any one help me to give one example for this topic.
    Thanks in advance,
    Regards
    Dhana

    Hi,
    I read the demo program. Sorry i am unable understand the concept what is going on in the program. I saw other examples with XML codings with parsing but in this no XML codings are there. I am unable to understand the concept what is going on in J2ME with web services. Give me a simple example if u did any application related to this topic. I have to receive today from the website(web server). Help me...
    Regards,
    Dhana

  • Making Web Service calls from a Form in the WorkSpace

    I am getting conflicting information about this, so I hope someone here could clarify it. TIA.
    This is what I want to do:
    after a form is displayed/launched in the WorkSpace,
    when the user Tabs out of a field (Exit event) on the form,
    I want to make a Web Service call from the form,
    get the result from the WebService,
    and use the Result to populate another field on the form.
    I know for certain that this works if I Reader-Extend the form,
    and I set the JavaScript at the Exit event (to execute WebService call)
    as "Run At Client".
    The question is:
    can I make the WebService calls without Reader-Extending the form???
    I have been told that, yes you can,
    but *only if* you let the JavaScript "Run At Server".
    I tried that, but it caused the Reader to crash.
    Some other people told me,
    no you can not,
    even if you "Run At Server", the form still needs to be Reader-Extended,
    when using it in the WorkSpace environment.
    So, what is the truth? can someon tell me?
    Can I make WebServers calls from the Server-side at all?
    Do I really need to Reader-Extend the form even if calling it from server side?
    What exactly is it SUPPOSED to work?
    thanks

    yes, thank you both. I got the fix from Adobe Tech Support last week. It's working.
    The fix I got included a rather complex looking "Submit Service" though. Makes me wonder how a regular user would know that he needs to write such a Submit Service?? and even if he knows that he needs a special Submit Service, would he know how to write it??? I found no documentation for this type of things either.
    Shouldn't this solution be published somewhere in Adobe's website? Dev Lab perhaps?

  • Problem constructing a web service request wich does not include namespace

    Hi!
    I'm evaluating Flex 3 for a web development.
    I'm having problems with a web service invocation.
    This is the soap request made with Soap UI:
    <soapenv:Envelope xmlns:soapenv="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:open="
    http://www.openuri.org/">
    <soapenv:Header/>
    <soapenv:Body>
    <open:querySoftware>
    <open:imei></open:imei>
    <open:groupId></open:groupId>
    </open:querySoftware>
    </soapenv:Body>
    </soapenv:Envelope
    <mx:WebService id="giService" wsdl="
    http://..." result="onResult(event)">
    <mx:operation name="querySoftware">
    <imei>1<imei>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    When invoking operation I get this error:
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Error de secuencia. URL: ]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216
    at
    mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ]
    at
    mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at
    DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()
    I see that Flex is making the request like the following
    wichi is not correct according to Soap UI request:
    <querySoftware>
    <imei></imei>
    <groupId></groupId>
    <querySoftware>
    How could I construct the request to include the open:
    namespace?
    Thanks a lot.

    I actually worked through this problem yesterday. This thread
    should help you:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1377262&enterthread=y

  • Problems deploying PL/SQL Web Service example to standalone OC4J

    I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
    at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
    at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
    I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
    Any assistance would be appreciated
    Regards
    Michael

    You have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.

  • What is problem with my web services application?

    Hi Everyone, I have a question for you.
    I created a web service, and tried to call its method within a JSF application (developed by JSC2). Following is what I got:
    1) It works with TravelWS example.
    2) It works if I called my web services' methods from a standalone Java program.
    3) It does NOT work if I call it within my JSF applicationBean1() or JSP pages.
    4) After adding my own web services into my JSF through JSC IDE, I tested my methods provided by web services. Two of them are working. But rest of them do not.
    If it is the problem of my web service, why my standalone Java program works?
    If it is the problem of my JSF application configuration, why TravelWS example works?
    What can the problem be? Can someone give me some suggestions?
    Any help is appreciated.

    Thanks both of you for the response.
    Here is my situation. The web service is developed by another team. And we are trying to call their methods in our JSF application. From the example provided by the web service team, I need to do following in my JSF code:
    myWebServiceLocator locator = new myWebServiceLocator();
    locator.setMyWebServiceSoapEndpointAddress( "http://mywebserviceurl./axis/services/myWebServiceSoap" );
    locator.setMaintainSession( true );
    this.myWebService = locator.getMyWebServiceSoap();
    The problem is that the locator above extends org.apache.axis.client.Service, however, the JSF generated client creates a javax.xml.rpc.Service object. I guess this might cause my problem.
    How to solve this?

  • Problem with RESTful web service

    I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
    Accept: */*;
    rather than
    Accept: application/xml
    when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
        // Constructor
        public function _Super_UsersService()
            // initialize service control
            _serviceControl = new mx.rpc.http.HTTPMultiService();
             var operations:Array = new Array();
             var operation:mx.rpc.http.Operation;
             var argsArray:Array;
             operation = new mx.rpc.http.Operation(null, "getUsers");
             operation.url = "http://localhost:8888/users";
             operation.contentType = "";
             operation.method = "GET";
             operation.resultFormat = "xml";
             //operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
             operation.resultType = valueObjects.Users;
             operations.push(operation);
             _serviceControl.operationList = operations; 
             model_internal::initialize();
    How does one configure the accept header?

    Hi,
    I have posted a simple application with the RESTful reference:
    http://apex.oracle.com/pls/apex/f?p=13758
    I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
    It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
    This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
    I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
    This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
    class="statusMessage">Bad Request</span>                                         
    </h3>                                         
    </div>                                         
    </div>                                         
    <div id="xWhiteContentContainer" class="xContentWide">                                         
    <div class="xWhiteContent">                                         
    <div class="errorPage">                                         
    <p>                                         
    <ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>                                    
    </ul>Thanks,
    Pat
    Edited by: patfmnd on May 8, 2013 3:33 AM

  • How to create Web Service Client from wsdl with digital signature?

    Please, help me to create Web Service Client from wsdl with digital signature. I know create Web Service client from wsdl file and I know how to add digital signature to XML with jwsdp, but I don't know how to do it together.
    Thanks.

    I'm handling security wit JAX-WS handler. So I insert "manually" ws-security tag and I encrypt (and sign) message parts.
    On client side, all works fine, but on server side I obtain:
    ---Server Inbound SOAP message---|#]
    Decrypting message and rebuilding Valuees... |#]
    Starting decrypt|#]
    . dectypted.!
    --found following string: <ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona>|#]
    ...MESSAGE Restored.|#]
    <?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://calculator.me.org/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Body><ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona></soapenv:Body></soapenv:Envelope>|#]
    Error in decoding SOAP Message
    Error in decoding SOAP Message
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:89)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:187)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:571)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
            at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:178)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:109)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:100)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:674)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:152)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:337)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:327)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:250)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:81)
            ... 29 more
    |#]
    --->handleFault O_o<---|#]If you have any idea for solving my problem, then I can post my simple example :(
    Bye!

  • Hello REST web service example deployment fails when using EJB

    I was able to successfully deploy the hello REST web service example. But when I attempted to lookup an EJB via the following code I get an error message.
    try {
    ic = new InitialContext();
    DirectoryBean db = (DirectoryBean)ic.lookup("java:comp/env/ejb/DirectoryBean");
    } catch (NamingException ex) {
    ex.printStackTrace();
    Here is the error message in the NetBeans console window:
    Deploying application in domain failed; Error loading deployment descriptors for module [hello] -- com.sun.enterprise.deployment.annotation.context.WebBundleContext cannot be cast to com.sun.enterprise.deployment.annotation.context.EjbContextat com.sun.enterprise.deployment.annotation.AnnotationInfo@15f1fa0
    D:\java\Sun\swdp-tutorial-1.0\examples\rest\hello\nbproject\build-impl.xml:450: Deployment error:

    I think the problem may be that the SimpleServlet example uses an apt feature to generate a web.xml which will replace any web.xml you already have in the project (and lose any references etc you might have in it). To work around this problem first copy the necessary lines from the web.xml in the generates .war file - they should look something like this:
    <servlet>
    <servlet-name>RESTBeans Application</servlet-name>
    <servlet-class>com.sun.ws.rest.impl.container.servlet.ServletAdaptor</servlet-class>
    <init-param>
    <param-name>resourcebean</param-name>
    <param-value>com.sun.ws.rest.samples.servlet.resources.RESTBeansResources</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>RESTBeans Application</servlet-name>
    <url-pattern>/restbean/*</url-pattern>
    </servlet-mapping>
    Add these to your project web.xml, replacing any lines that look similar (the web.xml in the sample project has these lines that you'll need to replace:
    <servlet>
    <servlet-name>ServletAdaptor</servlet-name>
    <servlet-class>com.sun.ws.rest.impl.servlet.ServletAdaptor</servlet-class>
    <init-param>
    <param-name>resources</param-name>
    <param-value>test1</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <!-- this is a comment -->
    <servlet-name>ServletAdaptor</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    Now you need to turn off automatic web.xml generation by adding <option key="noservlet"/> to the apt task option in build.xml (look for the apt child of the -pre-compile task in build.xml).
    Clean and rebuild and make sure that the web.xml in the generated .war file now matches the project web.xml file.
    Marc.

  • Cannot run "Publish PL/SQL as a Web Service" example

    Hello!
    I have Oracle 8.1.7 AS and 9i JDeveloper running on Windows 2000. I'm trying to run the "Publish PL/SQL as a Web Service" example, but am encountering errors I believe are related to my hostname/IP address/DNS entry. Of course, I could be wrong.
    Here is some information:
    ==========================================================
    1. I was able to successfully initialize Containers for J2EE. However, when I was trying to deploy the PL/SQL example, it inserted this information:
    C:\oracle\jdev9i\j2ee\home>C:\oracle\jdev9i\jdk\bin\java.exe -jar C:\oracle\jdev9i\j2ee\home\oc4j.jar
    Node started with id=-1753996682
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Error updating application PLSQL-PLSQL-WS: Error loading web-app 'WebServices' at
    C:\oracle\jdev9i\j2ee\home\applications\PLSQL-PLSQL-WS\WebServices:
    resource-ref 'jdbc/testCoreDS' referenced from resource-ref-mapping not found
    ==========================================================
    2. I went through the instructions from the website, and when I began the deployment process it generated this information:
    ---- Deployment started. ---- Jan 17, 2003 1:20:27 PM
    Wrote WAR file to C:\oracle\jdev9i\jdev\plsql-webexample\Project1\WebSe[i]Long postings are being truncated to ~1 kB at this time.

    Couple of suggestions despite your post being cut off with what might be useful information (please post the rest if these suggestions don't help):
    1. There are some bugs with Personal Oracle and Web services, notably Oracle9i Personal that may apply also to 8.1.7. If you have a MetaLink account it is logged as bug 2591731.
    2. As you are using your local machine, make sure your proxies are turned off (Tools-Preferences Web Browser/Proxy)
    3. I've noticed problems when folks use a JDK with a version lower than 1.3.1_02 to run OC4J - it is certified only with 1.3.1_02 or higher. If you are using the built-in JDeveloper JDK to start up OC4J (e.g. <Jdev_home>\jdk\bin\java.exe) you should be fine. But if you are just typing in java -jar oc4j.jar it is worth checking. Check the your default JDK version by typing in: java -version. If it is lower, then download a new version from http://java.sun.com/j2se/1.3/download.html.
    4. For level setting it is best to be using build 1035 of JDeveloper, the current production release and either the OC4J embedded in it or the stand-alone version here on OTN.
    Hope these point in the right direction.
    Mike.

Maybe you are looking for

  • How do I transfer a song purchased on my iPod touch to my MacBook Pro?

    Hi. My iPod touch is synched with a windows desktop. I have authorised the MacBook Pro and purchased a song via the MacBook. I now cannot find how to transfer this song to my iPod though I'm sure I did do so in the past - quite a while ago though. An

  • Issue while creating a model

    Hi, I am creating an model expression to calculate value at leaf level for one of the member. my expresssion is like this type_calcparent = type_postcogs + type_postrev + type_-1 Model is not accepting "type_-1" value and taking type_ and -1 as diffe

  • IPhoto 6 and Spotlight - the ANSWER

    Hi, I had some problems with iPhoto 6 and Spotlight indexing. After reading tons of posts and not finding answers that worked, I ended up learning about Spotlight myself. The solution is as simple as it is embarrassing (for Apple). They simply forgot

  • SL 10.6.1 and FontExplorer 1.2.3: ll fonts are "Not available"

    After worked fine for weeks, my Mac Pro 2008 quad 2.8 Ghz with 6 Gb ram does not recognize my fonts anymore, just the default system. I can't add neither opentype or truetype or post script. I've cleaned font cache, preferences, sets, reinstalled Fon

  • POP server reject the password for....

    Dear All, I am trying to set-up the mail client of  my macmini runing Lion Server (on the same machine), but I get the message "POP server reject the password for user "John". As I am not an expert on Lion Server, can anyone please tell me what I am