Unable to Create a WebService out of a proxy java class

Hi ,
I have a bpel process of which i created a java proxy client. I tested the proxy and it is invoking the bpel process fine. Now i'm trying to generate a webservice out of this proxy(java Class) . but im facing some issues while creating the webservice.
I get an Error saying Cannot serialize into XML and no custom serializer found.
i have a complex datatype(array).

sandeepthr,
I'm not sure I understand why you would do this? If you have a BPEL process, by definition, isn't that already exposed as a web service? Why would you create a web service for a proxy of a web service?
John

Similar Messages

  • Unable to Create PLSQL Webservice in JDeveloper 11g

    Hi,
    i have created webservice for PL/SQL for functions with out TYPE data types as parameter..
    but i am unable to create a webservice for procedure having
    Freight_Pkg.PROCEDURE get_freight(
    p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE
    ,l_total_freight OUT NUMBER
    ,l_err_code OUT NUMBER
    ,l_err_mesg OUT VARCHAR2
    and when i try to create web service it generates below Warning
    =========================================
    Log Message of WebService
    ========================================
    Generating PL/SQL Web Service
    Generating WSDL and mapping file
    WARNING: OWS-00077 The Value Type class: SykSblSourceLineBase does not have a valid Java Bean pattern.
    Adding service files to deployment profile
    Service generation finished
    Generation complete.
    Please let me know the procedure for creating Webservice for PLSQL of Table Type Parameters passing as IN parameter in Procedure.
    Thanks,
    Vijay

    Vijay,
    Is this configured with Oracle E-Business Suite? If yes, please note that JDeveloper 11g is not certified with Oracle Apps 11i/R12.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    If this is not related to EBS, post your question in the appropriate forum for a better/faster response.
    JDeveloper and ADF
    JDeveloper and ADF
    Thanks,
    Hussein

  • How to create a UML diagram from a existing .java/.class file?

    I want to create a UML diagram from a existing .java/.class file automatic in JDeveloper. Can I get it? thanks!

    create a new class diagram and then simply drag the java classes from your project onto the diagram area.

  • Unable to create a jco destination using remote AS Java system on myjava sy

    Dear SAP Gurus,
                  I had ce 7.1 and nw 2004s based AS java Systems.I want to create a jco destination in my CE 7.1 system using usermapping data of  nw 2004s for jco communication.So i created a AS Java  system of NW2004s in my CE 7.1 SLD .when i try to create a jco destination using the AS JAVA as Nw2004s system it is not creating .Please help me to solve this issue.
    regards,
    vanamaSanthosh.

    Hi vanamaSanthosh
    try this
    1. In your CE1 System where u define your JCO destination, Go to C:\WINDOWS\system32\drivers\etc
    open hosts file and define the  identity of AS System like <IP address> <name of the system>
    for example 159.858.2.45  abcd
    restart the server and then check.
    Best Regards
    Satish Kumar

  • Calling a WL Webservice using wsse from a java class

    One of the business partners I am integrating with needs to call my web service
    which is secured with UserTokens. The buiness partner is running in a J2EE environment,
    but not BEA. They will be calling the web service using a Java Class. Do I need
    to create a Java proxy for them to be able to reach my web service? Do I run the
    java proxy file on my side, or do i give it to them to run? Do i need to provide
    them with a client security policy file?
    Any help is appricated
    Thanks
    Linda

    Hi Linda,
    Currently we support only two types of tokens: UsernameToken and
    BinarySecurityToken, see the docs [1] for additional details. The
    policy file you are referring to is WLW specific and will not be
    portable. We are working towards the (yet to be finalized) WS-Policy
    framework for the next major release.
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/security.html#1082126
    [2]
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/security/ws-security/ovwWebServiceSecurity.html
    [3]
    http://ftpna2.bea.com/pub/downloads/WS-Policy.pdf
    Linda Gilligan wrote:
    >
    One of the business partners I am integrating with needs to call my web service
    which is secured with UserTokens. The buiness partner is running in a J2EE environment,
    but not BEA. They will be calling the web service using a Java Class. Do I need
    to create a Java proxy for them to be able to reach my web service? Do I run the
    java proxy file on my side, or do i give it to them to run? Do i need to provide
    them with a client security policy file?
    Any help is appricated
    Thanks
    Linda

  • Unable to create titles, getting "Out of memory" error message

    I am editing a project on FCE 2.0.3.
    I recently re-opened the project after about a year. It is stored on a 500GB external firewire hard-drive. I am working on a Mac G5 Powermac 7.2 with OS 10.4.11 with 1GB of RAM. I have my system settings on FCE set at 100% for memory usage and still cache. All my system settings on FCE are set to save to the external drive. I have 16GB available on my G5 memory.
    Every time I try to create a title using Title crawl, i get this error message:
    AE Effects Error: Out of memory using "title crawl."
    Also, every time I close the project and re-open it, I have to reconnect all the media and re-render everything, even though I save the project each time. I have also Saved As a different project name multiple times and this doesn't help.
    One other issue: The titles that I have on the project already look clear when the video is paused on a frame, but when they are moving they look very low-res and pixilated. The pixilated look also happens when I output my video to a QT movie. How can I make the titles look sharp?
    Please help!
    THANKS
    -Pierre
    Message was edited by: Pierre Degaillande1

    Before you do anything, trash your preferences exactly as detailed in this link:
    http://fcpbook.com/Misc1.html
    +"AE Effects Error: Out of memory using "title crawl.""+
    Try pushing down the memory usage and still cache a lot, and see if that helps. You only have 1GB of RAM, so keeping them at 100% is not a good idea. A computer can easily use about half a gigabyte just maintaining regular processes. To make sure you don't overload your RAM, you need to set the amount of memory FCE can use to a much smaller amount.
    +"Also, every time I close the project and re-open it, I have to reconnect all the media and re-render everything, even though I save the project each time. I have also Saved As a different project name multiple times and this doesn't help."+
    Are you moving files around on your scratch disk or renaming them? If so, you will have to reconnect them every time you change things.
    +"The titles that I have on the project already look clear when the video is paused on a frame, but when they are moving they look very low-res and pixilated. The pixilated look also happens when I output my video to a QT movie. How can I make the titles look sharp?"+
    Are you looking at the fully rendered movie? Click Option-R to render everything out.

  • Unable to create OC4J instance - out of sync instance

    RDBMS Version: 9.2.0.0
    Operating System: W2K
    Product Version: 9.0.4.0.0
    JDK Version: 1.4.2_03
    Error number: ADMN 705021
    Hi
    I am trying to create an OC4J instance using EM. When I do, I receive the
    following error message:
    The operation failed...<instance_name>. See base exception for details. Root
    cause: Error encountered executing command <oracle_home>\bin\emtcgtcl -add
    <oracle_home> -EMDROOT <oracle_home>_agent. Error in writing input.
    I issued a dcmctl listcomponents command at this point and the container I
    was trying to create shows in the list. I also issued dcmctl updateconfig
    and getstate commands. I then get a ADMN 705021 error: The configuration
    files for this 10g instance are inconsistent with the configuration shared
    in the repository...Check the logs at $ORACLE_HOME\dcm\logs.
    To try and resolve the problem, I used note 238393.1 Troubleshooting DCM
    Repository Out of Sync Errors. I checked all configuration files existed.I
    then checked the repository components list, creating fake directories for
    those components that showed using dcmctl listcomponents, and then
    consequently removed those components. When I removed them, I would receive
    an ADMN 906025 error, but the component would be removed. I checked that the
    deployed applications list was correct using dcmctl listapplications, and it
    was. However I would also receive the following error message:
    java.io.FileNotFoundException:
    <Oracle_Home>\j2ee\home\application-deployment\wp\jazn-data.tmp (The system
    cannot find the path specified). The directory wp does not exist, so this
    message is accurate.
    I'm kind of at a loss where to start given all these error messages. I guess
    what I need to do is get the instance in sync somehow, and then hopefully be
    able to create an oc4j instance.
    Can anyone suggest an approach given the detail above?
    Regards
    Andy

    Andy,
    Check the state of your repository using 'dcmctl getState' command. If you get an error or 'In Sync Status' for one of the component is shown as 'false', try to resync the instance using 'dcmctl resyncInstance'.
    If resyncInstance succeed, remove the OC4J instance/component that you were trying to add initially and create it again using removeComponent and createComponent commands.
    If resyncInstance fails, shutdown (if possible) all OracleAS instances in DCM-Managed OracleAS Cluster (if any). Shutdown all process of the instance (using 'opmnctl stopall' command) including OracleAS Control Console (using 'emctl stop iasconsole') and start the instances again (using 'opmnctl startall' and 'opmnctl startproc ias-component=dcm-daemon'). Remember to first start the OracleAS instance that is acting as repository host for File-based repository (if any).
    Now check the instance state, list of components and list of applications. If problem persist, please contact Oracle Support by logging a TAR to further diagnose and help resolve this issue.
    Regards
    Shail

  • Create BPEL jar file using Bpelc via Java classes

    HI,
    I am trying to create the BPEL files ( xyz.bpel, bpel.xml, xyz.wsdl etc.. ) on the fly using Java code... Once I create all these files, I create a packaged jar (Ex : bpel_xyz_v2006_10_17__37256.jar) file and deploy the same in the Bpel PM.
    Right now, in order to create the jar file, I am running the bpelc.bat file under bpel/bin and then using the IBPELDomainHandle, I am deploying the process.
    But my requirement is to create the jar file using java rather than executing the bpelc.bat file..
    Can you please give me pointers as to how to achieve the same?
    Thanks
    Pramod

    Actually, I had figured out the part of calling the Bpelc class, but initially I was trying to create an object of the class and was not able to do so. That was where I got stuck.
    Eventually, I did something like the code snippet below and it works fine and the jar file is created. Just fyi for anyone looking in the future.
    String[] setupValues;
    setupValues = new String[]{ "-home", "D:\\product\\10.1.3.1\\OracleAS_1\\bpel", "-rev",
    "1.0", };
    Bpelc.main(setupValues);
    Thanks
    Pramod

  • Unable to Deploy a Webservice.

    Hello All,
    I created a java bean and put the implemented code in some of the methods etc. ( By the way the code is generated using a WSDL using the SAP Netweaver libraries )
    Now when I attempt to actually create the webservice out of the implemented Java Bean.
    ( By right click - > Webservice -> Create webservice.)
    It create the EJB Jar and also create EJB EAR file but I am unable to deploy this EAR archive.
    It throws following exception trace :
    Can any of you please throw some light on this . ?
    I am using NWDS Ce 7.1 SP05 .
    Can we get this problem if the NWDS and NWDI are not in Same version and same patch ?
    IWAB0014E Unexpected exception occurred.
      Client "com.sap.ide.jee.ws.jee5.core.provider.commands.AddWsdlToInfo" threw an exception.
          java.lang.IllegalArgumentException: Client "com.sap.ide.jee.ws.jee5.core.provider.commands.AddWsdlToInfo" threw an exception.
          at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.invokeMethod(DataFlowManager.java:275)
          at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.process(DataFlowManager.java:124)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:411)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:358)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:253)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:252)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
          at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:222)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:96)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:147)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
          at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
          at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
          at org.eclipse.jface.window.Window.open(Window.java:796)
          at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
          at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
          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:585)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

    Hi Ravi,
    can you please indicate the NWDS and NWDI versions and JDK being used?
    Regards,
    Désiré

  • Creating Webservice out of a BAPI

    Hi all,
          I need to make WebService out of a BAPI.
          Hence I want the procedure to do it.Helpful Links are also Welcome.

    Hi Dinesh ,
    <b>Please follow these Steps to create a Webservice out of a BAPI :</b>
    <b>Prerequisites :</b> Version SAP 6.4 & above
    1. Log into your SAP System - Enter (Client , User ID , Pwd)
    2. Enter the Transaction SE37
    3. Enter the name of the BAPI you want to convert into Webservice
        For EX : BAPI_BANK_GETLIST
    4. Click Display
    5. In the Menubar > SelectUtilities > More Utilities > Create Webservice >
        From the Function Module .
    6. The Webservice Wizard Opens
    7. Select Continue
    8. Enter the Virtual Interface Name & Description ( User Defined )
    9.  Select Endpoint : Function Module
    10. Check NameMapping
    11. Choose Function Module, Select Continue
    12. Enter the Webservice Name & Description ( User Defined )
    13. Select Profile BASIC Authorization : SOAP Pro
    14. Select Continue , This will create a Webservice out of the BAPI
    15. Choose a Standard Package where you want the Webservice to be parked.
    16.To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    17.Enter WSADMIN transaction to open Webservive Administration for SOAP runtime.
    18. Under SOAP Application for BAPI's , select your Webservive and Click on WSDL Generation Button ( Last Button among 4 Buttons - Below Title )
    19. Select RPC and OK.
    20. Please Enter your User Id & Password of the SAP system you are working on.
    The WSDL is created for the Webservice.
    <b>Thus the WebService is Created out of the BAPI.</b>
    Hope this helps you very much
    Regards,
    Santhosh

  • Create a webservice using java class

    Hi,
    I have a java class (which is used to open a URL). I need to create a webservice out of this so that I can publish this. Which is the best tool to convert java to a webservice and what are the steps.
    Any pointers on this would be of great help.
    Thanks,
    Shreevatsa

    If you are using Java 6 use JAX-WS to expose it as a webservice. See the JavaEE tutorial for more information.

  • Any difference in creating a web service from a java class or session bean?

    Hi,
    The JDeveloper tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm demonstrates creating a web service from a plain java class. I'm wondering:
    - Is it possible to create a web service from a stateless session bean instead of a java class? If so, what's the proper way to do this in JDeveloper? When I tried doing so in JDeveloper 10.1.3.0.4 (SU5) using the J2EE Web Service wizard, the wizard did not list the session bean in the Component To Publish dropdown (it does list any java classes available in the project). I can proceed by manually typing in the name of the session bean. After the wizard completes though, the @Stateless annotation that had been in my session bean class code is removed and replaced by a @WebService annotation. The end result is that it looks like it made no difference whether I had tried to create the web service from a session bean or plain java class as the annotations in the resulting web service code are the same (although if I had started from a session bean, the class for the web service still implements the Local/Remote EJB interface that the session bean originally implemented).
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean? I'm creating the web service from scratch so I also need to either build the java class or stateless session bean the web service would be based on from scratch too.
    Thanks for any ideas about this.

    Hi,
    EJB Session beans (EJB 3.0) are deployed as WebServices by annotating the class with @WebService and the methds with @WebMethod (both tags require you to add the JSR-181 library to your project (available in the JDeveloper list of libraries)). Unlike the J2E WebService, the EJB session bean service is turned into a WebService upon deployment. This means you obtain teh WSDL file after deployment
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean?
    The difference is that EJB Session bean based web services are integrated with the J2EE container, which means that they can leverage container services like transaction handling, data sources, security, JMS etc.
    Frank

  • Creating an application module in a Java class

    Hi everyone,
    I'm trying to create an application module from a normal Java class where I don't have access to any HttpSession objects.
    I tried to use the method in the documentation
    appMod = Configuration.createRootApplicationModule(
                        "full.class.Name",
                        "ConfigurationName");
    It's not working though, complaining that it can not find the configuration file which it's trying to locate at full/class/common/bc4j.xcfg.
    This file exists at the same path in the BC4J project which this project has a dependency on in the Project Settings dialog.
    Is this the right way to create an application module? Can someone please provide a reference to an example.
    Thanks

    Thanks Frank, but this example is about a stand-alone application, my problem occurs with an application hosted on the application server.
    I did more experiments and came up with some ideas but unfortunately, I hit a dead end.
    I thought that in order to work around the fact that I cannot set the class loader of the timer, I could change the class loader of the running thread before I create the timer as follows:
    Thread.currentThread().setContextClassLoader(
              this.getClass().getClassLoader());
    I thought this would give me a SecurityException for sure, but strangely enough it worked perfectly.
    Now, all I needed was to move this code from the JSP to my listener. Unfortunately, it didn't work in the listener, also a test that I did in the JSP to make sure that the classloader before and after the above statment is different, showed that in the listener, the classloader of the thread is the same as the one used to load the listener class:
    System.out.println(Thread.currentThread().getContextClassLoader()
              .equals(this.getClass().getClassLoader()));
    I thought, maybe this is a listener thing, but if I do it in the init() method of a servlet that I could specify to load on startup, it could work, but still, it didn't.
    I cannot understand, why is it that the only correct class loader is the one used to load the compiled JSP class?!
    Does anyone have any other ideas?
    Thanks

  • Webservice:  Unable to create JAXBContext

    Hi,
    I am trying to create a Java web service with below class using JDev 11g:
    public class TestWS {
    public TestWS() {
    super();
    public XMLDocument testXML (XMLDocument xmldoc){
    System.out.println("Inside service...");
    System.out.println(xmldoc.getClass());
    return new XMLDocument();
    When I try to Test Web Service in Integrated WLS server, i get an error:
    <May 25, 2010 4:29:32 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "TestWSPort" failed to preload on startup in Web application: "Test1-TestWS-context-root".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:271)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:351)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:201)
         Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
    oracle.xml.scalable.InfosetReader is an interface, and JAXB can't handle interfaces.
         this problem is related to the following location:
              at oracle.xml.scalable.InfosetReader
              at public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader()
              at oracle.xml.parser.v2.XMLDocument
              at public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0
              at testws.jaxws.TestXML
    oracle.xml.scalable.InfosetReader does not have a no-arg default constructor.
         this problem is related to the following location:
              at oracle.xml.scalable.InfosetReader
              at public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader()
              at oracle.xml.parser.v2.XMLDocument
              at public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0
              at testws.jaxws.TestXML
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:148)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:271)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:351)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
    oracle.xml.scalable.InfosetReader is an interface, and JAXB can't handle interfaces.
         this problem is related to the following location:
              at oracle.xml.scalable.InfosetReader
              at public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader()
              at oracle.xml.parser.v2.XMLDocument
              at public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0
              at testws.jaxws.TestXML
    oracle.xml.scalable.InfosetReader does not have a no-arg default constructor.
         this problem is related to the following location:
              at oracle.xml.scalable.InfosetReader
              at public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader()
              at oracle.xml.parser.v2.XMLDocument
              at public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0
              at testws.jaxws.TestXML
         at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
         at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
         Truncated. see log file for complete stacktrace
    >
    Can anyone explain the cause the of issue and any solution for this...
    Regards
    Amit

    hI
    I am getting the same issue, did you find any solution .please email me at [email protected]
    I wrote 2 methods in my in JDeveloper . First Method gets XML String does some processing and sends XML to a HTTP web server URL, first method calls second method -parseXML, which does some parsing and returns XML to first method.
    Now when I created web service, annotation for 2 methods were created like
    @WebService(portName = "HTTPClassSoap12HttpPort")
    @BindingType(SOAPBinding.SOAP12HTTP_BINDING
    @WebMethod(exclude = true). I even tried changing this to false later.
    When I deploy on WLS/ SOA Server and create a WAR I get an Exception.
    03:29:07 PM] weblogic.application.ModuleException: [HTTP:101216]Servlet: "HTTPClassSoap12HttpPort" failed to preload on startup in Web application: "XYZApp-XYZJavaProject-context-root.war".
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:265)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:514)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:557)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
         at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:96)
         at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:61)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:55)
         at javax.servlet.GenericServlet.init(GenericServlet.java:242)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.security.PrivilegedActionException:
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 5 counts of IllegalAnnotationExceptions
    java.io.DataInputStream does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.io.DataInputStream
              at public java.io.DataInputStream fmbrilljavaproject.jaxws.ParseXML.arg0
              at fmbrilljavaproject.jaxws.ParseXML
    java.io.FilterInputStream does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.io.FilterInputStream
              at java.io.DataInputStream
              at public java.io.DataInputStream fmbrilljavaproject.jaxws.ParseXML.arg0
              at fmbrilljavaproject.jaxws.ParseXML
    java.lang.StackTraceElement does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.lang.StackTraceElement
              at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
              at java.lang.Throwable
              at java.lang.Exception
              at public java.lang.Exception fmbrilljavaproject.jaxws.SAXExceptionBean.exception
              at fmbrilljavaproject.jaxws.SAXExceptionBean
    javax.xml.transform.SourceLocator is an interface, and JAXB can't handle interfaces.
         this problem is related to the following location:
              at javax.xml.transform.SourceLocator
              at public javax.xml.transform.SourceLocator fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean.locator
              at fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean
    javax.xml.transform.SourceLocator does not have a no-arg default constructor.
         this problem is related to the following location:
              at javax.xml.transform.SourceLocator
              at public javax.xml.transform.SourceLocator fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean.locator
              at fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:95)
         ... 52 more
    Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 5 counts of IllegalAnnotationExceptions
    java.io.DataInputStream does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.io.DataInputStream
              at public java.io.DataInputStream fmbrilljavaproject.jaxws.ParseXML.arg0
              at fmbrilljavaproject.jaxws.ParseXML
    java.io.FilterInputStream does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.io.FilterInputStream
              at java.io.DataInputStream
              at public java.io.DataInputStream fmbrilljavaproject.jaxws.ParseXML.arg0
              at fmbrilljavaproject.jaxws.ParseXML
    java.lang.StackTraceElement does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.lang.StackTraceElement
              at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
              at java.lang.Throwable
              at java.lang.Exception
              at public java.lang.Exception fmbrilljavaproject.jaxws.SAXExceptionBean.exception
              at fmbrilljavaproject.jaxws.SAXExceptionBean
    javax.xml.transform.SourceLocator is an interface, and JAXB can't handle interfaces.
         this problem is related to the following location:
              at javax.xml.transform.SourceLocator
              at public javax.xml.transform.SourceLocator fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean.locator
              at fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean
    javax.xml.transform.SourceLocator does not have a no-arg default constructor.
         this problem is related to the following location:
              at javax.xml.transform.SourceLocator
              at public javax.xml.transform.SourceLocator fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean.locator
              at fmbrilljavaproject.jaxws.TransformerConfigurationExceptionBean
         at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:448)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
         at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
         at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:73)
         at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
         at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:151)
         ... 54 more
    :com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:5 counts of IllegalAnnotationExceptions
    [03:29:08 PM] #### Deployment incomplete. ####
    [03:29:08 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

Maybe you are looking for