Problem with importing Web Service Model

Hello,
in my Web Dynpro project I try to import a web service model.
After choosing the wsdl file the different classes and files are generated but in the Web Dynpro Explorer there is no Model created in the Node Models. Also after reloading and rebuilding the project no model appears.
In the source folders the generated files exist.
Does anybody have an idea for solving this problem?
Cheers, Dennis

Hi Dennis,
Restarting your NWDS will bring you the newly created model.
Thanks,
Venkat

Similar Messages

  • Problem with importing web services

    Hello All,
      Does anyone know what can be the possible reason for not able to import a web service model ?
      I am attempting to import a WS from a given WSDL however it failed. No reason or error message was presented... it seems to have just timed out and the model folder remains empty.
      My colleague is able to successfully import the WS (using the same identical method and same SP/build id of NDS) hence I am suspecting some settigs on my NDS is required ? Suggestions or feedback anyone ? Thank you.
    from
    Kwok Wei

    I have tried that before and it does not work.
    Original WSDL : http://sketdc20.sin.sap.corp:1080/sap/bc/srt/rfc/sap/ZZ_I010747_PTest_001?sap-client=001&wsdl=1.1&mode=sap_wsdl
    Modified WSDL:
    http://10.XX.XX.XX:1080/sap/bc/srt/rfc/sap/ZZ_I010747_PTest_001?sap-client=001&wsdl=1.1&mode=sap_wsdl
    The service is deployed on the remote engine. I am pretty sure that its the same WSDL cause we use cut and paste
    from
    Kwok Wei

  • Facing Problem with Adaptive Web Service Model

    Hi All,
    I am consuming adaptive web servcie model.  It is created from a lcoal web service i.e deployes on a web service. When i run from WS navigator it works fine.
    When i consume WDJ it is erroring out. The method is written an array of bean methods.
    The error i am getting is -- java.lang.IllegalArgumentException: Target role name 'Response' not defined for model class 'SearchInvoiceByNumberResponse'
    Please help me, have a very tight delivery....
    Thanks
    Supriya

    Hi All,
    I did re-imported my model but no help. There are 5 business methods in my EJB. three methods returns integer value and other two methods are selecting the data which returns bean type. One is bean type and another is of bean array type.....
    I have problem with only these two...........................these two methods errors out when try to consume through adaptive web servcie model....are there any pre-requsisties i should take care offf.....
    Help me out................
    Thanks
    Supriya.

  • Problem with Adaptive Web Service model

    Hi All,
    I am trying to create a model using Adaptive Webservice.
    While I am deploying the application I am getting the following warning message.
    I cheked the web serivice throw WSNavigator, It is working properlty.Nov 27, 2008 3:34:56 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:
    [040]Deployment finished with warning
    Settings
    SDM host : infpu05445
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
    Result
    => deployed with warning : file:/C:/DOCUME1/286355/LOCALS1/Temp/temp62998testw.ear
    Finished with warnings: development component 'testw'/'local'/'LOKAL'/'0.2008.11.27.15.34.48':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/testw and wait. Reason: Clusterwide exception: server ID 12403050:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/testw'' for startup. Reason=Clusterwide exception: Failed to start dependent library ''tc/wd/wslib'' of application ''local/testw''. Status of dependent component:  STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
         at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:317)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:111)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:227)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4684)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4589)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4562)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : Got problems during deployment
    Can you all please let me know is the problem with model creatuion or Web Service configuration.
    Thanks,
    Archana.

    It seams that the component 'tc/wd/wslib' is not well deployed on your server. You should redeploy it on your server.
    -Go to nwds, Development infrastructure perspective
    -Expand the FRAMEWORK item, there is the 'tc/wd/wslib' normally
    Deploy :
    -Open the menu Window > Show view > Other and open the Undeploy View
    -In the undeploy view expand the FRAMWORK item and locate the tcwdwslib (it ther is no such application, then go directly to deploy steps after)
    -Add the to the undeploy list (+ button)
    -Click undeploy (blue button near + button
    When it is undeployed, you can redploy it:
    -In the Componenet Browser, locate the 'tc/wd/wslib' in the FRAMWORK as befor
    -Right-click and click Deploy and click OK
    If it not working, try the same (undeploy/dredploy) with 'tc/wd/wslib/api'
    Check also that the dependencies of your project should have 'tc/wd/wslib/api' and not tc/wd/wslib/
    Hope it will help you
    Quentin

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

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

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

  • Problem with RESTful web service

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

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

  • Working with "Adaptive web service model"

    Hi,
    Please refer any blogs or documents related to working with "Adaptive web service model".
    Thank you.
    Regards
    Bhanu.

    Hi,
    refer these,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2e489
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e
    How To Reimport Web Service Models in Web Dynpro for Java
    The specified item was not found.
    Using RFC as WebService in WebDynpro
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/ddc4705e911f43a611840d8decb5f6/frameset.htm
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Oct 20, 2008 2:44 PM

  • Web Dynpro Import Web Service Model - not a valid NCName

    Hi people,
    We are having a problem while importing a WSDL as an Adaptive Web Service Model in Web Dynpro (CE 7.2 SP03).
    The error is the following:
    "Definition of qualified base /schema/element[5]/complexType/sequence/element[4] is not correct. The value of property is not a valid NCName."
    We tried importing the same WSDL in other tools (XML Spy and SOAP UI). With these tools it could be read without errors and were able to successfully call the service.
    The point is, why the import fails in Web Dynpro if the WSDL can be read in other tools ? Can we do something in WD to import the WSDL that is supposed to be "not correct" ?
    Thanks in advance for your comments,
    Daniel

    Hi Pranav,
    I was facing this issue sometime back and i figured out that the ABAP proxy namespace in my case had a '/' in it, because of which the internal name of the service had a '/' character too.
    And this was unacceptable for the endpoint binding name in my case.
    Since it is occuring for you in case of the service name (i figured it out from attribute definations/services@name), check if the proxy name have a special character like '/'.
    Regards,
    Vivek

  • Error when importing Web Service Model

    Hi,
    I am having trouble importing a Web Service model into my Web Dynpro component.
    I have successfully published my SessionBean method as a Web Service which works correctly when used from the Web AS Web Service Navigator.
    However, my Web Dynpro cannot correctly create a model from the WSDL. The problem seems to be with the last parameter of the method, a two-dimensional array of Strings. When importing the web service model, the following line of code get created in the respective Model class:
    logicalPort.generateMetadata(this.getKeywordsAsArray(), this.srcLang, this.getTgtLangAsArray(), ERROR no prop = parameters
    Obviously there is a problem with the code generation for the last parameter (the two-dimensional array) which results in this "ERROR no prop = parameters" message.
    Does anyone have an idea what I might be doing wrong? Is there a problem with multidimensional arrays in Web Dynpro model classes? I originally wanted to use a HashMap but naturally had to use a simple data type - any other ideas for a workaround?
    Cheers,
    Tim

    Hi,
    First, can you check whether you able to access your web service url in browser?
    or
    you can test your webservice from the NWDI Web service perspective, here you can test your web service is correctly functioning or not before using in your Web Dynpro application.
    This document clearly explains How to test the web service url and what is the correct procedure to consume the web service in SAP portal.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbeccc4c9]
    [http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm]
    Regards
    Raghu

  • Code generated from imported web service model does not compile

    I have created a model in Web Dynpro by importing a web service model using a valid WSDL, but the generated code won't compile because of type mismatches.
    The problem is that methods sometimes try to pass plain objects to methods whose parameter is an array of that object, and a List to methods whose parameter is a plain object.
    [Examples from SAP Netweaver tasks below]
    Thanks,
    Alastair
    snip
    The method setSessionData(EntInstType) in the type AssessRequestData is not applicable for the arguments (EntInstType[])     
    ComplexType_AssessRequestData.java
    Type mismatch: cannot convert from EntInstType to EntInstType[]     
    ComplexType_AssessRequestData.java
    The method setResult(List) in the type Response_JrbrsRefGeneric_listGoals is not applicable for the arguments (EntType)
    Request_JrbrsRefGeneric_listGoals.java

    I'm getting the same error.
    Type mismatch: cannot convert from short[][] to short[]
    ComplexType_Carton.java
    and...
    The method setNumeroscarton(short[][]) in the type Carton is
    not applicable for the arguments (short[])
    ComplexType_Carton.java     
    Steps to recreate the problem:
    1. Create and Expose webservice method with a parameter whose type has a short[][] (or bidimensional array of anything) field (property).
    2. Try to import the web service in web dynpro... <b>kaputt</b> it won't compile.
    <b>Seems like a bug to me. Someone please advice.</b>

  • Consume PI7.1 Webservices with Adaptive Web Service Model and Logical Dest.

    Hi all,
    I'm looking for a run-through of how to configure logical destinations for a Web Dynpro 7.00.15 application (running on a AS Java 7.00 SP15 server) that is consuming a web service on a PI 7.10.07 server.
    My problems are no related to:
    - importing the WSDL file into the project and mapping nodes/contexts to perform the call
    - restrictions with access and authorizations (own 7.00 sandbox)
    My problems are:
    - what to put into the WS metadata and execution destinations in Visual Admin
    - how to configure 1 set of destinations per WS provider (using WSIL or UDDI/ESR query)
    I have tried the http:///inspection.wsil, but it only returns standard java AS web services (such as AdobeDocumentServices) but not the ones in the Services Registry / UDDI.
    So: How can I configure the setup so that I only need 2 ws destinations per WS provider?
    I've tried the direct Webservice endpoint WSDL URL, but it's not what I want to do. Anyways, it gives me an "IndexOutOfBoundsException" in the DInterfaceImpl.java file.
    Hope you can help me out. I've dug myself into a hole here...
    Best Regards,
    Hans Petter Bjørn

    Hi Hans
    Please check this thread [Adaptive Web Service Model in SP 17|Adaptive Web Service Model in SP 17]
    Hope this will help you.
    thanks
    Arun Jaiswal

  • About import web service model in web dynpro dc

    Hi all,when i import a web service model in web dynpro dc, an error occurs.
    java.lang.Exception: com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter$FatalImportException: Model setting definition 'considerNillable' not defined for Adaptive Web Service model type
         at com.sap.tc.webdynpro.model.webservice.modeltype.service.AWSModelImporterService.createModel(AWSModelImporterService.java:67)
         at com.sap.tc.webdynpro.model.webservice.modeltype.ui.wizard.AWSModelCreationWizard.createModel(AWSModelCreationWizard.java:238)
         at com.sap.ide.cmi.core.model.importer.CMIWizard$3.run(CMIWizard.java:246)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter$FatalImportException: Model setting definition 'considerNillable' not defined for Adaptive Web Service model type
         at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.setModelSetting(AWSModelImporter.java:174)
         at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.importModel(AWSModelImporter.java:632)
         at com.sap.tc.webdynpro.model.webservice.modeltype.core.implementation.AWSModelImporter.doImport(AWSModelImporter.java:351)
         at com.sap.tc.webdynpro.model.webservice.modeltype.service.AWSModelImporterService.createModel(AWSModelImporterService.java:65)
         ... 3 more
    please tell me

    1.Create New Model.
    2.Select the type of model as Adaptive web service model and click next.
    3.Give Model name and Model Package .Select Available WSDL sources.
       a.If u get wsdl from local system,select Remote Location/File system.
       b.If u get wsdl from Sap location ,u have to configure with esr reposirtry.
    4.Select Remote Location/File System and click next.Get WSDL URL from services repositry and click next.
    5.Click finish.

  • "Import Web Service Model" meets IO exception.

    Hi all,
    I'm trying to import a Web Service Model through tutorial on NWDS version 2.0.9.
    Accident occurs: After the importing process, nothing happenes - NO error message, NO imported model under node "Model".
    But when I do the same thing on my colleague's computer, the model is correctly imported. Actually our computers have the same NWDS version.
    I tried many times. It is always failure on my computer. And even I re-install NWDS, still the same problem.
    I checked the log, which contains such an exception:
    !MESSAGE com.sap.engine.lib.xml.util.NestedException: IO Exception occured while parsing file:Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect -> java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    !STACK 0
    com.sap.engine.lib.xml.util.NestedException: IO Exception occured while parsing file:Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect -> java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    *     at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:129)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:151)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.downloadWSDL(WSDLImportTool.java:725)*
    *     at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.downloadWSDL(InternalHelperFunctions.java:255)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:334)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:271)*
    *     at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)*
    *     at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:116)*
    *     at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$6.run(ModelWizard.java:819)*
    *     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:168)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.downloadWSDL(WSDLImportTool.java:725)*
    *     at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.downloadWSDL(InternalHelperFunctions.java:255)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:334)*
    *     at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:271)*
    *     at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)*
    *     at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:116)*
    *     at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$6.run(ModelWizard.java:819)*
    *     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)*
    Caused by: java.io.IOException: Cannot connect to http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService: Connection timed out: connect
    *     at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:129)*
    *     at com.sap.engine.services.webservices.wsdl.WSDLImportTool.loadDocument(WSDLImportTool.java:151)*
    *     ... 8 more*
    Actually I can connect successfully to the WebService through IE. How does this occur?
    Does anyone have such experience?
    Thanks in advance.
    Edited by: gangtee gangtee on Jan 9, 2008 5:36 AM

    Hi Gangtee,
    Are you working inside a secured network, if yes please check the proxy settings which are shown while NWDS installation.
    Regards
    Sid

  • Problem with CFMX web service function return

    I made a post yesterday about a web service function I was
    writing, as it turns out my post was extremly incorrect for my
    problem. With this web service function I can return an array just
    fine, I can return one instance of an object just fine, however,
    when I try to return an array of the object I keep getting the
    error:
    Could not perform web service invocation "SelectGames"
    because AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]];
    nested exception is: coldfusion.xml.rpc.CFCInvocationException:
    [org.apache.axis.AxisFault : ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]]
    faultActor: faultNode: faultDetail: {
    http://xml.apache.org/axis/}stackTrace:
    AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modifie..
    which basically means that the CF server needs restarted.
    However if I restart the CF server, no matter how many times I am
    still getting this error. If I change up my web service function to
    return just a normal array of integers or strings, or I change it
    to return one instance of the arbritrary complex type it all works
    just fine. I am still a little new on this subject and any
    enlightenment would be great. If anyone has found a way around this
    please let me know.
    Here is my complex type:
    <cfcomponent>
    <cfproperty name="Game_id" type="numeric">
    <cfproperty name="gameDate" type="date">
    <cfproperty name="Starttime" type="string">
    <cfproperty name="Place" type="string">
    <cfproperty name="Level" type="string">
    <cfproperty name="Sport" type="string">
    <cfproperty name="Gender" type="string">
    <cfproperty name="Opponent" type="string">
    <cfproperty name="Type" type="string">
    <cfproperty name="Link" type="string">
    </cfcomponent>
    I loop trhough a query and set a cfobject of the types above,
    then I append that object to an array and try t o return the array.
    Here is the basics of the loop:
    <cfset theArray = arrayNew(1)>
    <cfobject component = "games" name = "test>
    <cfloop query ...>
    <!--- set values to test ---->
    <cfset arrayApend(theArray, test)>
    </cfquery>
    <cfreturn theArray>
    my return type is array, I think the problem is I need to
    specify the return type to be an array of arbritray complex types
    which is impossible to do in CF. Anyone find a way to get around
    this?? Any feed back at all would be greatly appreciated.

    Yes, I have tried it and return type any does not work in
    this situation since this function is being consumed by a web
    service. It needs to be in the form of an array of arbritrary type
    that is defined in a cfc file. Since this is WSDL the returntype
    has to be specified to every last bit.

  • Problem with Oracle Web Service Proxies reusing classes and exceptions

    We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
    I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
    Is there a way to avoid this with Oracle Web Service Proxies?
    Regards,
    Néstor

    Resolved when I create a deployement profile explicitly.
    The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
    Thanks
    Saikrishna

Maybe you are looking for