Unable to compile .ear file with an operation that returns an array

Hi
God, hopefully someone can help me.....
I have a web service that has various operations, one of which is attempting to return an array of strings. I am declaring a complextype in the WSDL that should functions as the array like this:
<schema.....
<element name="result" type="string"/>
<complexType name="searchResponseElement">
<sequence>
<element ref="tns:result" maxOccurs="unbounded"
minOccurs="0"/>
</sequence>
The error I receive is utterly vague, just saying ' compilation error occurred' when I go to deploy the ear file. I did have this working with another methos of declaring an array i.e.
<schema...
<complexType name="searchResponseElement">
<complexContent>
<restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="xsd:string[]"/>
</restriction>
</complexContent>
</complexType>
But, I was trying to consume the webservice in an APEX application and that method did not return a tree structure that APEX was able to handle.
I really am losing my mind over this as I've had the same type of definition working before. Please, anyone - any clues???

I answered this question that you also posted on stackoverflow.com.

Similar Messages

  • Unable to compile .jsp files with Jakarta Tomcat 5.5.3

    Hello,
    I am unable to reflect the changes that I am making in my .jsp files on my server. I am using Fedora core 4. It's like the .jsp files are not being compiled anymore. Please help! I would greatly appreciate any feedback. Thanks for your time.

    Thanks for your reply. My .jsp files where working just fine before I changed the layout of the output. Even making changes to a simple file that contains: <% out.println("Welcome to the jsp page!"); %> to the following: <% out.println("Welcome to the jsp page! Today is the day!"); %> does not work. I have cleared the browser by deleting all cookies, temp files, history, etc. The changes to my file are not being compiled. I thought that in JSP 2.0 changes to your files where compiled automatically. Am I missing something? Please help!

  • Applied Workaround for BUG:5871305, unable to deploy ear file

    Hi,
    I have upgraded Oracle 10g AS from 10.1.3.1 to 10.1.3.3.I am using admin_client.jar to deploy the ear file. After deployment, application gave error during start. The errors were related to apache.commons.logging. I applied the workaround provided on metalink note: 460448.1. I applied the changes in orion-application.xml file:
    <imported-shared-libraries>
              <remove-inherited name="apache.commons.logging" />
         </imported-shared-libraries>
    Now, upon deploying the ear file with the changes, its giving error during deployment:
    oracle.oc4j.admin.deploy.api.J2EEDeploymentException: Operation failed with error:
    Error parsing orion-application.xml at /u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/application-deployments/coverzones: Fatal error at line 90 offset 25 in file:/u00/app/ora10gas/product/10.1.3.1/OracleAS_1/j2ee/main/applications/coverzones/: .<Line 90, Column 25>: XML-20201: (Fatal Error) Expected name instead of =.
    I have searched a lot on metalink and on google about this error and have not got any pointers to look for root cause.
    Oracle App Server Gurus, kindly help on this
    regards
    Raj

    HI Jaap,
    I checked the orion-application.xml file and I didn't found any typo error or syntax error in the specific xml tag for <imported-shared-libraries>. Below is the xml tag snippet:
    <library path="ivjejb35.jar" /> <!-- needed for access beans in oc4j -->
              <library path="wsdl4j.jar" />
              <library path="CoverZones_DataBeans.jar"/>
              <library path="CoverZones_Session_EJBClient.jar"/>
              <library path="CoverZones_Request_Processors.jar" />
         <imported-shared-libraries>
              <remove-inherited name="apache.commons.logging" />
         </imported-shared-libraries>
    <principals path="principals.xml" />
    The same ear file without the above changes has worked in another Ora10gAS 10.1.3.3 cluster setup and the application works successfully.
    regards
    Raj

  • Setup was unable to compile the file ccmclasses.mof

    First i have a access denied problem with push installation ;
    MSI: Setup was unable to create the WMI namespace CCM
    The error code is 80070005
    MSI: Warning 25101. Setup was unable to delete WMI namespace ccm\dcm
    The error code is 80070005
    Installation failed with error code 1603
    I've tried many actions include deleting repository directory and rebuilding dll and mof files ...
    Finally i've added LOCAL SERVICE, NETWORK SERVICE, and SYSTEM accounts to Local administrators group and now there is no 80070005 error.
    But i ve got a new error :)
    MSI: Setup was unable to compile the file ccmclasses.mof
    The error code is 8004402F
    MSI: Warning 25002. Failed to delete CCM_Service_ErrorHandlerRegistration.Clsid="{0F95BCE5-2209-488a-B4BC-4396AD233C8D}" from CCM
    The error code is 80041010
    Installation failed with error code 1603
    i ve almost 2000 clients with this situation and i think i lost my mind very soon.
    Any help is appreciated.

    Hi Bulent,
    Very glad to hear the issue resolved and thanks for sharing your experience, which can help other community members facing similar problems. Also, if you have any further concerns, please do not hesitate to let us know and we are happy to be of further
    assistance.
    Thanks,
    Yog Li -- Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Unable to open PDF files with Adobe Reader, Mac trying to open files with Quicktime instead, but not succeeding. HELP!

    Unable to open PDF files with Adobe Reader, Mac trying to open files with QuickTime instead, but not succeeding. HELP!

    Hi BDAqua,
    Thanks for the info, I dragged a PDF to desktop ctrl-, get info. change all to open with adobe.
    Problem solved, many thanks for a quick response.
    Barry69

  • Change manifest file in existing EAR file with ANT task

    Hi,
    I use ant task (ojdeploy) to create EAR files from ADF application.
    Now I want to add the application version number to MANIFEST.MF.
    Is it possible to do the manifest file modification IN THE EXISTING EAR FILE (or while creating the EAR file with ojdeploy) with ant task or do I have to do the modification in the source MANIFEST.MF and after this create EAR file with ojdeploy?
    BTW: I tried the <ear> task to create the EAR file instead of using ojdeploy but I was not able to find the needed deployment descriptor (appxml="application.xml") in my ADF appication.
    regards
    Peter

    Hi Peter,
    I don't know of a way to do it directly in ANT/ojdeploy. However, you could try exploding the EAR, updating the manifest, and recreating the EAR - cumbersome and slow, but it should work.
    John

  • Unable to open d800 files with cs6 and camera raw 8.3

    unable to open d800 files with cs6 and camera raw 8.3

    Have you used Nikon Transfer on those files? Early versions are known to corrupt files so that ACR can't read them. Nikon has since fixed the bug so new versions are safe.
    Here's a thread (with a fix) in the Lightroom forum: https://forums.adobe.com/message/6253962

  • Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a

    Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a WSDL..

    Is there a reason why you need an "ear" file ? So what is the task you want to fullfill.
    For me it sounds like you want to integrate a jax-ws service inside a cq5 project. To achive that you have to integrate a jax-rs client in cq5.
    One option to achive that is to integrate Apache CXF like documented here:
    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf.pdf
    Samplecode can be found here:
    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf_sampleproject.zip
    Best regards,
    Dominik

  • HT204407 Ipad's find my friends app notification pop out stating that unable to locate my friends with 2 choices that is 'OK' and 'Later' to make. After tapping on both, however the pop up doesn't goes off. What should I do?

    Ipad's find my friends app notification pop out stating that unable to locate my friends with 2 choices that is 'OK' and 'Later' to make. After tapping on both, however the pop up doesn't goes off. How can I solve the problem ?
    Regards,
    Wilson

    Hard reset helps (pressing two buttons at the same time until you see apple on the screen.

  • Updating a table with a query that return multiple values

    Hi,
    I'm trying to update a table which contain these fields : ItemID, InventoryID, total amounts
    with a query that return these values itemId, inventoryid and total amounts for each items
    Mind you, not all the rows in the table need to be updated. only a few.
    This what i wrote but doesn't work since the query return multiple values so i can't assign it to journalAmounts.
    UPDATE [bmssa].[etshortagetemp]
    SET JournalAmounts = (SELECT sum(b.BomQty) FROM [bmssa].[Bom] b
    JOIN [bmssa].[SalesLine] sl ON sl.ItemBomId = b.BomId
    JOIN [bmssa].[SalesTable] st ON st.SalesId = sl.SalesId
    WHERE st.SalesType = 0 AND (st.SalesStatus IN (0,1,8,12,13)) AND st.DataAreaId = 'sdi'
    GROUP BY b.itemid, b.inventdimid)
    Any advise how to do this task?

    Remember that link to the documentation posted above that explains exactly how to do this. When you read it which part exactly were you having trouble with?

  • ER unable to compile using javac with java 1.3.1 library (JDEV 10.1.3.0.4)

    Hi !
    When I try to compile in JDev with javac and the java 1.3.1 library, I get the following error :
    Error: javac: invalid flag: -source
    The command line generated by JDev looks like :
    C:\jdk1.3.1_03\bin\javac.exe -J-mx512m -verbose -deprecation -source 1.3 -target 1.3 -encoding Cp1252 -g -classpath [...] -sourcepath [...] -d [...] @C:\DOCUME~1\user\LOCALS~1\Temp\javac54193.tmp
    It seems that -source and -target flags do not exist in this version of javac.
    But it does not seem possible to remove these flags generated by JDev, so I'm unable to compile with javac 1.3.1 and JDev.
    So i'm looking for :
    - A workaround to prevent JDev from adding the -source and -target flags.
    - A future release of JDev where you could disable these flags, or, much better, where JDev automatically disables these flags when it detects a 1.3.1 library (there may be other incompatible flags I did not mention).
    Thank you for your answers :)

    Hi,
    when you open the project properties and choose the compiler option to tht the compiler to "javac" and then the "source" and "target" to 1.3, wouldn't this compile it for Java 3? I don't think that it is necesary to use JDK 1.3 for compiling the sources
    Cross-Compilation Options
    By default, classes are compiled against the bootstrap and extension classes of the platform that javac shipped with. But javac also supports cross-compiling, where classes are compiled against a bootstrap and extension classes of a different Java platform implementation. It is important to use -bootclasspath and -extdirs when cross-compiling; see Cross-Compilation Example below.
    -target version
    Generate class files that will work on VMs with the specified version. The default is to generate class files to be compatible with the 1.2 VM in the Java 2 SDK. The versions supported by javac in the Java 2 SDK are:
    1.1
    Ensure that generated class files will be compatible with 1.1 and VMs in the Java 2 SDK.
    1.2
    Generate class files that will run on VMs in the Java 2 SDK, v 1.2 and later, but will not run on 1.1 VMs. This is the default.
    1.3
    Generate class files that will run on VMs in the Java 2 SDK, v 1.3 and later, but will not run on 1.1 or 1.2 VMs.
    1.4
    Generate class files that are compatible only with 1.4 VMs.
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
    Frank

  • Urgent :- Unable to deploy EAR file in Oracle application server

    Hello folks,
    I am trying to deploy an application containing jsps and servlets
    packaged into EAR using ant. However when am trying to do so by using
    the Deploy EAR option in the Enterprise manager, it throws the
    following error -
    "Invalid J2EE application file specified - Jar file:
    /var/tmp/jar47241.tmp is missing its standard xml descriptor located at
    META-INF/ejb-jar.xml"
    I suspect that something could be wrong with regards to the way the ear
    file has been created.
    Please if someone could pin point the problem and help me understand
    the the above error message , it will be of great help to me and I d
    really appreciate this.
    Many Thanks,
    Ramn.

    Hello,
    I try to deploy an ear file (contains jar and war files) in Oracle Application server in linux, but the time is so long. The same file I deploy in a OAS in windows and the deploy time was 2 minutes, but in linux I leave the hole night and the session close and the deploy in unable.
    I don't know if I need configure an especial option in the OAS in Linux, how I can load my ear file.
    The OAS in windows was installed with oc4j options only, but the OAS in linux was full installation
    Please help me....
    Thanks.

  • Unable to restore my files with Hp Recovery Manager

    HP Pavilion G6, operation system Windows 7, we got a malicious software and after we were unable to start the windows, I decided to do a factory restore but before that, I did backup my files from start-up menu with HP Recovery Manager. After the backup was finished successfully, I did the factory restore. And when I would like to restore my files, (I clicked to restore file in the backup, and the restore was finished successfully) I see just the folders, the files I cannot see but they are there. If I go to properties I see the files are there. Also I can see them if I extract with the 7Zip program. But extracting with 7Zip program I can see the files with no folders structure and I cannot see the files names, just numbers. If somebody can help me, I would highly appreciate.

    snoopy7471 wrote:
    HP Pavilion G6, operation system Windows 7, we got a malicious software and after we were unable to start the windows, I decided to do a factory restore but before that, I did backup my files from start-up menu with HP Recovery Manager. After the backup was finished successfully, I did the factory restore. And when I would like to restore my files, (I clicked to restore file in the backup, and the restore was finished successfully) I see just the folders, the files I cannot see but they are there. If I go to properties I see the files are there. Also I can see them if I extract with the 7Zip program. But extracting with 7Zip program I can see the files with no folders structure and I cannot see the files names, just numbers. If somebody can help me, I would highly appreciate.
    Inside the dated backup folder should be a a file called restore.exe or
    RecoveryMgr.exe, execute it, it should extract your files and create a "system Recovery" folder on the C drive with your files and folders inside.

  • Unable to Compile .pll files in EBS R12 on PROD instance

    Hi All,
    We are facing Problem in our Prod instance. When we tried to compile pll files of any module we are not able to get compile in production, but these files easily compiled in our Test/DEV instance. We are not getting any solution from product support.
    OS version: Solaris 10
    EBS version 12.0.4 with 10.2.0.2.
    Any body please help us.

    No error message is coming up, adadmin session got hung. frmcmp_batch process are not getting killed through kill -9 command. All the times we rebooted the server to release these processes.Can you find any errors in the database log file?
    What if you move the file to any of the working instance, can you compile it then?
    Please compile it manually as per these docs and check then.
    How to Generate Form, Library and Menu for Oracle Applications (Doc ID 130686.1)
    Unable To Compile Custom Form Using Frmcmp Utility Receive FRM-91500 (Doc ID 563655.1)
    Thanks,
    Hussein

  • Unable to deploy ear file to weblogic 11g

    Unable to access the selected application.
    Exception in AppMerge flows' progression
    Exception in AppMerge flows' progression
    VALIDATION PROBLEMS WERE FOUND problem: cvc-attribute.4: The value '6' does not equal the fixed value '5' of attribute 'version':<null>
    VALIDATION PROBLEMS WERE FOUND problem: cvc-attribute.4: The value '6' does not equal the fixed value '5' of attribute 'version':<null>
    Please help.

    Hi ,
    This issue with build an application ear file.
    please follow below steps to resolve.
    1. verify your build script  having or indicated the correct value of the -Dwls-11 option if not change accordingly
    2.  ./buildear.sh -Dappserver=weblogic -Dwls-11=<true/false> -Dpackage=ear filename create-ear
    Thanks !!!
    Babu

Maybe you are looking for