Error running web services examples

Hi Guys,
After spending the whole day finally i get the soap server working. I have to manually deploy soap.ear into OC4j instance. But again i am trying to run web services stateless java say hello class example... but no luck. I am getting connection refuse error... Did any one tried these examples.... I am using Jdeveloper9i on win 2000 professional machine.
I am getting connection refused error ...if i try to run example....
Any help will be appreciated..
thnks
vijay

See:
Check for uniqueness of data in a column
In your response, could you elaborate on "connection refused" ... is this the application server that you are testing? If you are setting up the SOAP Server connection, this is not required by those tutorials as shown by the Quickstart setup that they point to.
It would also help to know the versions of JDev and OC4J you are using (e.g. are you using JDev 9.0.3 and OC4J 9.02; have you got a full install of Oracle9iAS 9.02 etc). Without more details it can be hard to help.
I wrote most of the tutorials at a point in time so they tend to be pretty specific about version numbers. If you are using different versions they should work but I might be able to point out any problems you might run into.
Mike.

Similar Messages

  • Error running Web Services in DEMO : User is not Authorized error

    Hi all,
    We created a Web Service in our DEMO installation of ERP9 Tools 8.97, Database Local SSE (User - DEMO, Password-DEMO). The Web Service is using JDE Vanilla BSFN - B0100021 - Formatted Address and created through JDeveloper using JDE BSSV tool.
    When we are running the Web Service (TestCustomWebService) from JDeveloper (Right Click and Run) it is providng an url (http://moequbal:8988/context-root-JP55HOL/TestCustomWebServiceSoapHttpPort) and when we are pasting the URL in the browser and entering a valid value in the Input field and pressiing the 'Invoke' Button, the following Error pops up -
    "<env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://oracle.e1.bssv.JP55HOL/types/">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (Caught exception while handling request: oracle.e1.bssvfoundation.exception.E1AuthorizationException: User is not authorized to invoke this published business service)</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>"
    Please help.
    Thanks,
    Tufan

    I can confirm that the lab and BSSV functionaly works in DEMO, I have it working nicely. However, I dont think you can deploy this to a Business Services server. I haven't tried as yet. but you can test all the published BSSV via jDeveloper to verify that you have the correct code. It starts O4CJ and web services locally and brings up an input web page to enter the AN8, the data outputs to XML.
    Tip:
    1) Make sure that you have an entry in the P00950 security workbench. .
    2) make sure that you select the BSSV item (i.e CustomAddressManager) and select 'set to publish' available (this only appears on checkin) when you check the object in. Make sure that you have entries in the F98601, 602, 603 tables in Object Librarian
    3) Open P00950 select published bssv, click on the grid line (1st column) in the grid form of W00950X click the searchlight, in W00950U hit find you must see your published BSSV in here.
    if not you go back to step 2. You must 'set to publish' for the bssv i.e CustomAddressManager object. Otherwise you will not be able to see in the W00950U form.
    4) Repeat for the 2nd column and Make sure you select the 'Secure by Method' this will take you to W00950Y form and you must select your bssv and select the 'Allow Execute' on the bottom of the form.
    Once you have these in place then you will not get the 'Not authorized' error messages.
    Christopher Koloszar
    JDE Senior Business Analyst
    Oracle 10g DBA
    [email protected]
    Edited by: user3025204 on 15-Oct-2009 02:00

  • Error running web service enabled from ApplicationModule Service Interface

    Hi,
    I have created a web service from from ApplicationModule Service Interface and exposed a view instance update operation. When I run the service (right click on serviceimpl and run), I am getting the following error
    <BEA-101371> Error: There was a failure when processing annotations for application context. Please make sure that the annotations are valid. The error is message
    Description     There was a failure when processing annotations for application context. Please make sure that the annotations are valid. The error is message
    Cause     The descriptor has an invalid servlet-class, filter-class or listener-class
    Action     Fix the descriptors in application or the library.
    I have looked at web.xml, weblogic.xml, but couldn't figure out the issue.
    Our packaging structuring is some like this.
    Model -> Contains EO's, associations
    UIModel -> Contains AM, VO's Webservices
    UI -> Jsp, taskflows.
    But when I tried created a sample application with Model and View Controller. and a webservice in Model project, it runs OK.
    Please guide with on this issue.
    Appreciate your help in advance.
    Regards,
    Vara

    I am getting the same error. What was the solution that worked for you? Please help

  • 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.

  • Help needed in web service example. Thank!!!

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

  • 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.

  • 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?

  • Errors installing web service to use dreamweaver extension

    Portal Version: 10g
    OS/Vers. Where Portal is Installed:: Linux AS 2.1
    Errors installing web service to use dreamweaver extension
    Recently I download the dreamweaver extension for portal, but when I try to install it several errors are raised... in the installation guide the next message appear:
    This installation for this feature is an easy 3 step procedure.
    1. Installing the Portal web service
    2. Configuring the web service to work with your portal (one time administrative process)
    3. Installing the PortalTemplates extension for Dreamweaver MX
    well but when I try to run the 1 step everything goes wrong...
    in the guide say:
    # Transfer this file to the OC4J_HOME/j2ee/home directory of the OC4J
    (please make sure that the OC4J is up and running)
    # Use the following command to install the web service
    java -jar admin.jar ormi://<oc4j_host>:<oc4j_ormi_port>
    <username> <password>
    -deploy -file portalTemplate.ear -deploymentName portalTemplate
    here it's where I have some questions,
    1. the ormi referers to the rmi ok (I think that), well then I go tho the iasconsole and search for the ports and is show:
    home RMI 3202
    OC4J_Portal RMI 3203
    OC4J_BI_Forms RMI 3204
    then I use the home-> port 3202
    java -jar admin.jar ormi://myhost.midtierinstall.com:3202
    ias_admin ias_midtier_admin_password -deploy -file portalTemplate.ear -deploymentName portalTemplate
    but the following messages appear :
    Error: Unable to find java:ServerAdministrator : lookup error:javax.naming.AuthenticationException invalid username/passwod for default (ias_admin).... and the error continue... but the problem is that the password works when I use the enterprise manager in that midtier console...
    I want to know if I'm doing something wrong or how I should use this command to install that web service

    The ormi is the rmi port in the OC4J. This coold be found in oc4j_home/j2ee/home/config/rmi.xml file. The default port is 23791.
    Hope this helps,
    Ramya

  • Email web service example as an Adaptive Web Service Model

    Hi All,
    I am using email web service example as an Adaptive Web Service Model in my Web DynPro application (The WSDL of the application that I use is:
    http://www.abysal.com/soap/AbysalEmail.wsdl).  While loading the WSDL file I am getting following error in log file. Could someone please help me what would be the problem?
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
         ... 56 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect -> java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 57 more
    Caused by: java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
         ... 59 more
    Thanks,
    Naresh

    Hi Naresh,
    See if any of the following threads help, all are related to the same wsdl:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=54635">https://www.sdn.sap.com/irj/sdn/thread?threadID=54635</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=95335">https://www.sdn.sap.com/irj/sdn/thread?threadID=95335</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=58137">https://www.sdn.sap.com/irj/sdn/thread?threadID=58137</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=36756">https://www.sdn.sap.com/irj/sdn/thread?threadID=36756</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=204762">https://www.sdn.sap.com/irj/sdn/thread?threadID=204762</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=37640">https://www.sdn.sap.com/irj/sdn/thread?threadID=37640</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=80384">https://www.sdn.sap.com/irj/sdn/thread?threadID=80384</a>
    In most of these threads, the suggestion given has been to try using the following wsdl:
    <a href="http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl">http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl</a>
    Tutorial related to this web service is:
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1</a>
    (page 181)
    Bye
    Ankur
    Reward points if it helps!!

  • 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

  • Running web services on OC4J with attachments problem

    Hi,
    I have problem with running Web Services with Attachment on AS 10.1.3 (SOAP: RCP/LItteral 1.1).
    I generate WS Bottom-Up from java class in Jdeveloper 10.1.3 (3673) :
    package project2;
    import javax.xml.soap.AttachmentPart;
    public class TestWS {
    public TestWS() {
    public String getText() {
    return "testWS text" ;
    public AttachmentPart getAttach() {
    AttachmentPart ap = null ;
    /* try {
    javax.xml.soap.MessageFactory mf = MessageFactory.newInstance();
    javax.xml.soap.SOAPMessage message = mf.createMessage();
    ap = message.createAttachmentPart(attachmentObj,"application/pdf");
    } catch (Exception e) {e.printStackTrace(); return null ;}
    return ap ;
    When testing WS through EM - Web services - Test Web Service, failed with exception:
    500 Internal Server Error
    java.lang.NullPointerException
    at oracle.j2ee.ws.server.WebServiceServlet.displayErrorPage(WebServiceServlet.java:742)
    at oracle.j2ee.ws.server.JAXRPCServlet.doGet(JAXRPCServlet.java:422)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    WS without attachment works fine. Any advice?
    Thx.
    Wollis

    It's probably "web services home page" bug, ws proxy client works fine.

  • Error Invoking Web Service Action: null

    I am using the WEBSERVICE action in the BLS to access a third party system.  I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null.  I cannot find any messages in any of the logs.  Even though the action fails, the remote WebService processes properly.  My basis guy seems to think that it is related to SOAP incompatibilities/versions.  Any other ideas floating around out there?  Any other methods to troubleshoot?  The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.

    All -
    Here is a trace.  My remote web service returns an empty SOAP body upon success (SOAP envelope only).  Is this causing the Null Pointer Exception??
    PS - I am also getting a lot of "WARNING: received an illegal cookie" messages.  Is this a problem.
    [Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body> ...blah, blah...</soap:Body>
    </soap:Envelope>
    [Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
    [Wed Mar 19 16:39:09 EDT 2008]      at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.Action.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2

  • 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.

  • How to create iView to run Web Service

    Hi,
    I need create iView on EP7 NW2004S SP12 portal to run Web Service provided on SRM 6.0 system.
    Here is how I have attempted to create the iView:
    1. Right click and select New =>iView.
    2. Select "iView Template" radio button.
    3. Select "Web Service iView" radio button to specify Web Service Template.
    4. Enter name and ID of iView.
    5. Select System Alias of System defined earlier.
    At this point, the portal attempts to connect to the ECC system, and it fails with this error, and I cannot finish the create of the iView.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    Here are the key parameters defined for the System referenced by the system alias:
    WSDL_URL:http://sap2.mycompany.com:50000/SRM-MDM/SRM_MDM
    Logon Method:UIDPW
    User Mapping Type:admin, user
    CodeLink:com.sap.portal.systems.webservices.webservice_system
    I've also created a usermapping for the Everyone group, and provided the userid and password for the system alias successfully.
    Thanks,
    Kevin

    Thank you for that information.  I had not previously seen a procedure on how to setup an iView to run a web service. 
    I had created the System just as described in this blog, but I still have a problem.  When creating the iView (on the last step of process when I click Finish), the portal attempts to connect to the SRM system, and it fails with the error highlighted below.
    Could not connect to back-end application. Check your system. The server may be down or there may be an error in a system parameter.
    I get an error in System Administration as well when I test the connectivity for the System object.
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results:
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    How does the security need to be setup to make this work?  Or what could be causing this error?  I do have SSO configured between the portal and the target system.
    Thanks,
    Kevin

  • Error generating Web service /BIC/CQZDS_WEB00001000 how to over come this?

    HI,
    Experts,
    I have created Web service source system by taking: target system BI and source system XI.
    After creation of Info objects i have created data source in RSA1 there will no error displayed while CHECK but while activating the data source it was displaying errors like:
    1) Error generating Web service /BIC/CQZDS_WEB00001000
    2) Error when activating DataSource ZDS_WEBSERVICE                BIDCLNT100
    what will be the reason for this error plezase provide me good idea or provide step by step web service scenarious.
    Thank you,
    Shabeer Ahmed.

    Hi
    Web AS 6.40 you can create a Web Service Proxy directly in Transaction SE80. Create a new package and right click on it. Choose Create -> Enterprise service / Web service -> Proxy object. Now you can choose how you want to provide the WSDL Source.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2

Maybe you are looking for

  • Remove Soap Header while calling a WS from BPEL 11g

    Hi My requirement is to remove the entire SOAP Header tag in the invoke activity. How this can be achieved? Please help thanks Sesha

  • How to Derive value in a text variable from numeric variable.

    Hello experts!! I have a requirement where i need to show some derived text in the column headers of my BEx query. Say i have a text variable for the column header FYT which need to have the fiscal year text. I have another variable on 0FISCYEAR -- F

  • List of all participants in all workflows

    I need to get a list of all participants in all workflows in my entire site collection. How can I do this through a powershell script? All I've found so far is this SQL command. SELECT dirname, leafname FROM allDocs WHERE LeafName LIKE '%.xoml' but t

  • I need a stacked bar graph stacked but overlaying data help please

    Hi, I have a requirement to change an existing combination graph. Currently we use a combination graph that has a bar that shows the usage accross a number of weeks, with a line that shows total available over the top. So the customer can see what th

  • Space for IPAD 2

    We have 3 iPads (2). All of them on one Account name. I believe that it has over excited the space on all on my Account. Ive  added extra space but still can't get anything to down load. The messages say your out of space. How do I fix this problem?