JDeveloper - WebServices

I have created a web service from a WSDL with JDeveloper and I created the EAR file and deployed it to Oracle Application Server and it's working fine.
If I deploy the same EAR to WebSphere Application Server, whether that Web service will work without making any changes to the JDeveloper generated Web service components.
Any information you can provide is greatly appreciated...

Hello,
Do you have any log in the console/application log?
Which version of JDeveloper/OracleAS are you using?
Regards
Tugdual Grall

Similar Messages

  • Which jar file to include for oracle.jdeveloper.webservices.runtime.Wrapped

    I am trying to make a Web Service client on my jakarta tomcat server....
    I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
    Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thx

    Hi,
    After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
    Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
    Any clues (changing the technology is not an option ...for now)?
    Thank´s

  • Ava.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/Wrappe

    Java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub error even though jdeveloper run time is in class path?
    Works Fine under jdeveloper, have an issue when deployed into 11.5.10?
    is there a way I can have WrappedDocLiteralStub.class copied somewhere to get through this error?
    please advise

    Posted in similar thread. Below are contents.
    As a solution, Extract the required files from jar available in JDev. Now make a seperate jar file with any name like roy.jar. In that jar file, include the classes which >>are being reported missing like WrappedDocLiteralStub. Now add this jar file to your class path on server. Thus the missing file will be available to you.Abdul Wahid

  • JDeveloper Webservice Creation Question

    While Creating webservices through JDev 11g from WSDL, we are presented with two option :-
    1) Java EE 1.5, with support for JAX-WS annotations
    2) Java EE 1.5, with support for JAX-WS RI
    Could you please let me know which one is the most efficient option.
    I see that in the second option the webservices are configured thru another file(sun-jaxws.xml) and all the requests are directed or handled by a common servlet whereas in the first option we usually configure the endpoint implementation directly in web.xml.
    Another question that i have related to webservices creation - Does webservices wizard internally call wsimport to generate classes from WSDL. When i use wsimport to generate classes using WSDL and specify a jaxb global binding file to convert datatypes, this works correctly but using JDeveloper doesn't creates the Adapter classes to convert the datatypes.
    Answers to the above would be helpful in reaching a decision on which approach to follow. Thanks.

    Hi,
    yes. Please see the how-to document we provide on otn.oracle.com/products/jdev
    Frank

  • Jdeveloper webservice authentication - HELP!

    Hi
    ok, this is the situation: I developed a java webservice that i installed in aplication server 10g. It's working fine without authentication! What I need is to force anyone that tries to access the web service to authenticate himself against OID.
    I tried a lot of things that worked throw a web browser but they don't work throw a client stub! My goal is when the clent stub tries to access the web service, some kind of authentication mechanism is fired. I need some help urgent on how to secure my web service in AS10g.
    What do I need to do from the client side and from the server side? I read the Oracle Application Server web services documentation but the only thing that it states is that it is possible to secure but it doesn't say how!
    Please someone respond! I'm using JDeveloper 90501 and AS 10g, my client stub accesses by SOAP.
    Thanks in advanced
    Vitor Cardoso

    Victor,
    there's a way doing it, but NOT against OID per default - you can use as a first step basic auth from your webservice stub, and do the rest programmaticly from you stub by calling a login method for example that does authentication on the server;
    For basic authentication, there's an article on my weblog
    http://clemensblog.blogspot.com/2004_05_01_clemensblog_archive.html - that points to a detailed howto.
    hth clemens

  • Jdeveloper webservices setings

    i am trying to make a webservice to try it with jdeveloper over oc4j
    and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
    after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
    and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
    but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the enddoes any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work?
    Message was edited by:
    user555630

    Hello,
    Do you have any log in the console/application log?
    Which version of JDeveloper/OracleAS are you using?
    Regards
    Tugdual Grall

  • XMLType schema detail lost in pl/sql function for a jdeveloper webservice

    If I write a very simple pl/sql procedure to wrap as a web service to return the XML from an XMLtype table column, the jdeveloper (11.1.1.3) web service generation process seems to ignore the detail
    of the registered XMLTypes' schema, and converts the 'output' to an xsd:string in the generated WSDL file, which has knock on effect that generated data controls are 'dumb' in only seeing output as a string, and providing no real data functionality at XML schema level. Since I know web service data controls work fine when provided with the correct level of detail in the WSDL, what am I missing in terms of pursuading jdeveloper to generate wsdl's with full xsd schema info for the return XMLType?
    This is my table:
    ID NOT NULL NUMBER(12)
    SPEC SYS.XMLTYPE(XMLSchema "http:
    //localhost:8080/public/demo
    /xsd/sample2.xsd" Element "b
    ooks") STORAGE BINARY
    PRD_ID NOT NULL NUMBER(10)
    ISSUE NOT NULL NUMBER(6)
    EDIT_NO NOT NULL NUMBER(6)
    PUBLISHED_BY_PEO_ID NUMBER(10)
    PUBLISHED_ON_DT DATE
    EFFECTIVE_FROM_DT NOT NULL DATE
    EFFECTIVE_TO_DT DATE
    =======================================================
    This is the XML Schema:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:books"
    xmlns:bks="urn:books">
    <xsd:element name="books" type="bks:BooksForm"/>
    <xsd:complexType name="BooksForm">
    <xsd:sequence>
    <xsd:element name="book"
    type="bks:BookForm"
    minOccurs="0"
    maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="BookForm">
    <xsd:sequence>
    <xsd:element name="author" type="xsd:string"/>
    <xsd:element name="title" type="xsd:string"/>
    <xsd:element name="genre" type="xsd:string"/>
    <xsd:element name="price" type="xsd:float" />
    <xsd:element name="pub_date" type="xsd:date" />
    <xsd:element name="review" type="xsd:string"/>
    </xsd:sequence>
    <xsd:attribute name="id" type="xsd:string"/>
    </xsd:complexType>
    </xsd:schema>
    =================================================
    This is the pl/sql:
    function GetSpecificationById (p_spec_id in NUMBER) return XMLType
    IS
    l_specification sys.XMLType;
    BEGIN
    select specification
    into l_specification
    from specifications
    where id = p_spec_id;
    return l_specification;
    EXCEPTION
    WHEN OTHERS THEN -- handles all other errors
    ROLLBACK;
    END GetSpecificationById;
    ==============================================
    And this is the generated WSDL:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="MyWebService1"
    targetNamespace="http://devsafetrytrailcom/MyWebService1.wsdl"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://devsafetrytrailcom/MyWebService1.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    </wsdl:types>
    <wsdl:message name="MyWebService1_getspecificationbyid">
    <wsdl:part name="pSpecId" type="xsd:decimal"/>
    </wsdl:message>
    <wsdl:message name="MyWebService1_getspecificationbyidResponse">
    *<wsdl:part name="result" type="xsd:string"/>*
    </wsdl:message>
    <wsdl:portType name="MyWebService1">
    <wsdl:operation name="getspecificationbyid" parameterOrder="pSpecId">
    <wsdl:input message="tns:MyWebService1_getspecificationbyid"/>
    <wsdl:output message="tns:MyWebService1_getspecificationbyidResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="MyWebService1" type="tns:MyWebService1">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getspecificationbyid">
    <soap:operation soapAction="http://devsafetrytrailcom/MyWebService1.wsdl/getspecificationbyid"/>
    <wsdl:input>
    <soap:body use="literal"
    namespace="http://devsafetrytrailcom/MyWebService1.wsdl"
    parts="pSpecId"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"
    namespace="http://devsafetrytrailcom/MyWebService1.wsdl"
    parts="result"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="MyWebService1">
    <wsdl:port name="MyWebService1Port" binding="tns:MyWebService1">
    <soap:address location="http://localhost:7101/SafetyTrail-Model-context-root/MyWebService1Port"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Edited by: user592403 on Jul 26, 2010 9:57 AM

    Anyone seen this problem before??

  • JDeveloper + WebServices, RETURN multiple rows from pl/sql

    I need to return multiple rows from pl/sql procedure or function and publish it as a Web Service through JDeveloper.
    I try to use ref cursor, but then found that it is impossible to use ref cursor as a return value in Web Services.
    Please, help me to achieve result.

    Hello. I tried to make commands from article, but got errors
    "C:\Program Files\Java\jdk1.6.0_18\bin\java" -jar D:\oracle\Middleware\oracle_common\modules\oracle.webservices_11.1.1\wsa.jar -plsqlAssemble -appName Echo -sql wo -dataSource jdbc/OracleManagedDS -dbConnection jdbc:oracle:thin:@192.168.246.2:1521:data -dbUser syd/manager -style rpc -use encoded
    Error: Interface oracle.generated.wo: The class could not be loaded from the class path.

  • Checkiin Universal from Jdeveloper(webservices)

    HI
    Im trying to consume the checkinuniversal service from my webcenter application.
    Steps done as instructed in the URL below
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    But when i try to cehkin the document from my webcenter application it showin an error ' Content item 'scs' was not successfully checked in. The content item must have a primary file.'
    Is there any other way to checkin content from webcenter application through java code/CIS/ or any one has idea about primary file issue-how to resolve it.
    Can you please share your ideas/ sample code(CIs) if any
    thanks Smith

    Smith,
    Have you tried on either the ECM or WebCenter forums? I'd probably start with the [url http://forums.oracle.com/forums/forum.jspa?forumID=390]ECM one.
    Best,
    John

  • Error in Jdeveloper when making a WebService Proxy.

    Hi,
    I am trying to call a webservice from Forms. But when I try to create webproxy in Jdeveloper.As I enter the WSDL URL(http://localhost:7101/WebService-Annotation-context-root/MyCompanyPort?WSDL)in the webservice proxy wirzrd I recieve following error:
    oracle.jdeveloper.webservices.model.WebServiceException
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1656)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:509)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:461)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy$ProxyJavaWebService.<init>(WebServiceProxy.java:2268)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1701)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.setDescription(WebServiceProxy.java:525)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.proxy.ProxyJaxWsSpecifyWSDLPanel.setDescription(ProxyJaxWsSpecifyWSDLPanel.java:238)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException
         at java.net.URI.create(URI.java:842)
         at oracle.jdeveloper.webservices.model.WebService.getURI(WebService.java:1009)
         at oracle.jdeveloper.webservices.model.WebService.getMappingFile(WebService.java:3960)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getMappingFile(JavaWebService.java:1810)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1708)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
         ... 12 more
    Caused by: java.net.URISyntaxException: Illegal character in path at index 0: MyCompanyWS
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.<init>(URI.java:578)
         at java.net.URI.create(URI.java:840)
         ... 17 more
    The above error is what I get for my own webservice.
    If I use the webserivce wsdl url(http://www.esendex.com/secure/messenger/soap/SendService.asmx?wsdl) which exsits from internet. I get the following error:
    "No WSDL document found".
    Please help how to overcome this error.
    Thanks & Regards,
    Noman

    Hi Noman,
    Can you try running the URL in the browser and check if you are able to "view" the wsdl?
    For the second issue, i feel it could be because of the firewall / proxy issue. Try setting the proxy (if you are using one) in your jdeveloper-> Tools->Preferences->Web Browser and Proxy section.
    -Arun
    P.S : Post the JDeveloper version you are using in "all" the questions, which would help us to give precise answer. From the URL(http://localhost....), i guess you are using JDev 11.1.1.2.0, but you need to confirm.

  • Is there a bug with stateful WebServices in JDeveloper 10.1.3.1 ?

    Hi
    I created an ultra simple JAX-RPC Webservice from the following class using the JDeveloper WebService Wizard:
    class myWebService
      private static int SessionId;
      public myWebService() {SessionId++;}
      public int getSessionID() {return SessionId;}
    } I declared this WebService as Stateful with Session Scope. The Timeout is 600s;
    Running this WebService in JDeveloper 10.1.3 (using the generated HTML-Testinterface) I see that "getSessionID" returns the same ID on each invocation. Obviously state is managed correctly.
    However, running the same WebService in JDeveloper 10.1.3.1 I see that "getSessionID" returns a different ID on each invocation. Obviously state has been lost.
    Is this a bug in JDeveloper?
    Thanks for your help.
    Frank Brandstetter

    Is anyone using stateful webservices with JDeveloper 10.1.3.1 ?

  • Error trying to generate WSDL of webservice in JDeveloper 11.1.1.3

    Hey,
    Everytime I try to generate a WSDL of a webservice I get the following stack trace:
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getTypeReasons(JavaWebServiceValidator.java:882)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getInvalidValueTypes(JavaWebServiceValidator.java:1060)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getValidationErrors(JavaWebServiceValidator.java:241)
         at oracle.jdeveloper.webservices.model.CoreHashStructureModel.validate(CoreHashStructureModel.java:187)
         at oracle.jdeveloper.webservices.model.generator.Validation.action(Validation.java:65)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    I'm able to run this webservice via run and debug as well as "Test this webservice." It's just when I try to generate the WSDL from within jdeveloper that I get this message. I'm even able to view the WSDL file within the browser by adding ?WSDL at the end of the url for the web service endpoint. Any ideas?

    So, I need to have the @XmlSeeAlso() for this service to work since it relies on outside classes to run. But, I did remove the @XmlSeeAlso() from the class just to see if this would allow JDeveloper to generate the WSDL and when I do this I get the following stack trace:
    oracle.jdeveloper.webservices.tools.WsdlValidationException: java.lang.NullPointerException
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:376)
         at oracle.jdeveloper.webservices.tools.WebServiceTools.createWsdl(WebServiceTools.java:388)
         at oracle.jdeveloper.webservices.model.java.generator.CreateWSDL.createWSDL(CreateWSDL.java:281)
         at oracle.jdeveloper.webservices.model.generator.CommonCreateWSDL.action(CommonCreateWSDL.java:59)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: java.lang.NullPointerException
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1079)
         at oracle.j2ee.ws.tools.wsa.Util.genWSDL(Util.java:1559)
         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:597)
         at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
         at $Proxy42.genWSDL(Unknown Source)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:372)
         ... 5 more
    Caused by: java.lang.NullPointerException
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateGlobalElement(WSDLTypesGenerator.java:308)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateWrapperGlobalElements(WSDLTypesGenerator.java:226)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateTypes(WSDLTypesGenerator.java:134)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateTypes(WSDLGenerator.java:236)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateWsdlForOnePortType(WSDLGenerator.java:190)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generate(WSDLGenerator.java:157)
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1074)
         ... 13 more
    Edited by: user12883803 on Jun 25, 2010 7:02 AM

  • Jdevelop 11 v4. error when publish pl sql package as webservice

    Hello..
    I have installed latest version of Jdeveloper..
    When I like to create a webservice from plsql package I get the error:
    What can be wrong?
    java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
         at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
         at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Message was edited by:
    Peterv6i

    Here is screen shoot from Jdeveloper

  • Jdeveloper 11.1.1.0.0 - Error when generating webservice from Collection or

    Hello.
    I get the error when I like to publish a method which return a Collection..
    for example I have a Class:
    package in2;
    import java.sql.Connection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.*;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    public class servis {
        public servis() {
        public String hello() {
            return "PETER";
        public Collection vrniPodatke() {
            Collection l = new ArrayList();
            l.add ( new OptionList("PTER","VALENCIC"));
            return l;
        public int sestej (int a , int b) {
            return a+b;
    ==========
    package in2;
        public class OptionList {
            String a;
            String b;
            public OptionList(String a, String b) {
                this.a = a;
                this.b = b;
            public void setA(String newa) {
                this.a = newa;
            public String getA() {
                return a;
            public void setB(String newb) {
                this.b = newb;
            public String getB() {
                return b;
        }The error I get is:
    java.lang.RuntimeException: Cannot find namespace for: ns1
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getQNameFromValue(BaseSchemaElement.java:185)
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getAttributeValueAsQNameOrNull(BaseSchemaElement.java:173)
         at oracle.j2ee.ws.wsdl.extensions.oracle.schema.ElementSchemaElement.getTypeAsQName(ElementSchemaElement.java:63)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:145)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateSequence(SchemaValidator.java:414)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateComplexType(SchemaValidator.java:224)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:157)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateElement(WSDLValidator.java:709)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateParts(WSDLValidator.java:667)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateMessage(WSDLValidator.java:644)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOutput(WSDLValidator.java:604)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOperations(WSDLValidator.java:596)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validatePortType(WSDLValidator.java:585)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateDefinition(WSDLValidator.java:97)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validate(WSDLValidator.java:68)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:247)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:171)
         at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:73)
         at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:126)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createModel(WsdlToJavaTool.java:471)
         at oracle.j2ee.ws.tools.wsa.Util.createDeploymentDescriptors(Util.java:913)
         at oracle.jdeveloper.webservices.model.generator.GenerateDescriptors.action(GenerateDescriptors.java:146)
         at oracle.jdeveloper.webservices.model.java.generator.JavaEjbGenerateDescriptors.action(JavaEjbGenerateDescriptors.java:78)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:151)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:358)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
         at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:226)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:296)
         at oracle.jdevimpl.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1408)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:837)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:506)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:779)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:479)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ======================
    What I'am doing wrong?

    I don't know what is happening with Jdeveloper ?!?!
    I have tryed the same example at home with Jdeveloper 11.1.1.0.0 Build JDEVADF_MAIN.DROP5_GENERIC_071218.2321.4796
    All works fine.....
    What you think could be wrong (in my first post)? Why I have received the error? and why the same project works on other computer?
    can someone reply to my post?

  • Develope complex WebService with JDeveloper and deploy to tomcat

    Hello,
    I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
    The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
    My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
    Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
    My first question is if that is possible?
    I think there are few problems.
    I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
    Another question is how I have to decode the images and the pdf to provide those files in a WebService?
    I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
    Thank you,
    Tim

    Hi,
    does anybody have an idea about that?
    Thanks,
    Tim

Maybe you are looking for

  • Setting timeout for webservice

    hello all, I have made client program to connect to a webservice using dynamic url, my problem is i am unable to set the timeout of the webservice if anybody knows please let me know. my code is as follows. WebServiceClient ann = testpackage.TestClas

  • Image with foreign characters in name won't display

    I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html: <img src="../pictures/c�pia de frente.jpg">The page then displ

  • Error logging on to Pantone Tech Support

    Every time I try to log on to Pantone's technical support page I get this: Fatal error: Call to undefined method stdClass::convertToCookie() in /cgi-bin/pantone.cfg/scripts/euf/application/rightnow/optimized_includes.php on line 320 What is wrong?

  • Nano will not sync with iTunes, I keep getting error code

    I see the music and play list under Nano in itune, but it will not transfer data to Nano, I'm on Lion

  • Is there a way to search for shots that iphoto is having a problem with?

    I have upgraded to ilife 08 and now have more than a few shots in a library of 10,000 shots that are missing their links have rebuilt all thumbnails and connections and whatnot but still the files that are messed up have stayed messed up I think I ha