JAX issue  - casting problem?

I've got an odd issue with an externally provided WSDL. While feeding it to wsimport I get the following
[WARNING] not a WS-I BP1.1 compliant SOAP port "TestSoap": the wsdl binding has mixed style, it must be rpc-literal or document-literal operation!
line 471 of http://test.xxxxx.xx:8080/ITestService.asmx?WSDL
[WARNING] SOAP port "TestSoap12": uses a non-standard SOAP 1.2 binding.
line 474 of http://test.xxxx.xx:8080/TestService.asmx?WSDL
[WARNING] not a WS-I BP1.1 compliant SOAP port "TestSoap12": the wsdl binding has mixed style, it must be rpc-literal or document-literal operation!
line 474 of http://test.xxxxx.xx:8080/TestService.asmx?WSDL
generating code...
*[ERROR] com.sun.tools.ws.processor.model.jaxb.RpcLitMember cannot be cast to com.sun.tools.ws.processor.model.jaxb.JAXBType*
When loading the WSDL into SoapUI it all looks fine..is this a WSDL messup or a wsimport bug?
Thanks!

Hi jtahlborn , thanks for your quick reply!
The weird thing is that it works fine with Axis, but it fails with jax-ws (which is really what we need to work with)
I am posting an extract from the wsdl, if could spot anything that I cannot I ll be really grateful!
- <wsdl:binding name="CompanyServiceSoap12" type="tns:CompanyServiceSoap">
  <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="Operation1">
  <soap12:operation soapAction="http://ws.company.com/Operation1" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation2">
  <soap12:operation soapAction="http://ws.company.com/Operation2" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation3">
  <soap12:operation soapAction="http://ws.company.com/Operation3" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation4">
  <soap12:operation soapAction="http://ws.company.com/Operation4" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation5">
  <soap12:operation soapAction="http://ws.company.com/Operation5" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation6">
  <soap12:operation soapAction="http://ws.company.com/Operation6" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation7">
  <soap12:operation soapAction="http://ws.company.com/Operation7" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation8">
  <soap12:operation soapAction="http://ws.company.com/Operation8" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation9">
  <soap12:operation soapAction="http://ws.company.com/Operation9" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="Operation10">
  <soap12:operation soapAction="http://ws.company.com/Operation10" style="rpc" />
- <wsdl:input>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:input>
- <wsdl:output>
  <soap12:body use="literal" namespace="http://ws.company.com/" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="CompanyService">
- <wsdl:port name="CompanyServiceSoap" binding="tns:CompanyServiceSoap">
  <soap:address location="http://test.company.com:8088/CompanyService.asmx" />
  </wsdl:port>
- <wsdl:port name="CompanyServiceSoap12" binding="tns:CompanyServiceSoap12">
  <soap12:address location="http://test.company.com:8088/CompanyService.asmx" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

Similar Messages

  • I am very annoyed at the Creative Cloud set up and the non-stop issues and problems

    I am very annoyed at the Creative Cloud set up and the non-stop issues and problems!  I am paying monthly for this service and it is constantly failing in some way!  So far in three months I have had to uninstall and re-install Photoshop THREE times because it stopped working properly and Illustrator I have had to do that same to TWICE!  That isn't including the other apps that have had issues!  I don't have the time to constantly be un-installing and re-installing all or some of the Creative Cloud because your developers are not making a product that works consistently for the money you are charging!  It is costing me more than just this monthly fee!  And I am even less impressed with the fact that I cannot email someone for assistance in resolving these issues.  Really Adobe?

    Adobe contact information - http://helpx.adobe.com/contact.html may help

  • Runtime casting problems

    The following code gives me runtime casting problems:
    package edu.columbia.law.markup.test;
    import java.util.*;
    public class A {
       protected static Hashtable hash = null;
       static {
          hash = new Hashtable ();
          hash.put ("one", "value 1");
          hash.put ("two", "value 2");
       public static void main (String args []) {
           A a = new A ();
           String keys [] = a.keys ();
           for (int i = 0; i < keys.length; i++) {
               System.out.println (keys );
    public String [] keys () {
    return (String []) hash.keySet ().toArray ();
    The output on my console is:
    java.lang.ClassCastException: [Ljava.lang.Object;
            at edu.columbia.law.markup.test.A.keys(A.java:37)
            at edu.columbia.law.markup.test.A.main(A.java:29)I can not understand why is it a problem for JVM to cast?
    Any ideas?
    Thanks,
    Alex.

    return (String []) hash.keySet ().toArray ();This form of toArray returns an Object[] reference to an Object[] object. You cannot cast a reference to an Object[] object to a String[] reference for the same reason that you cannot cast a reference to a Object object to a String reference.
    You must use the alternate form of toArray instead:
    return (String []) hash.keySet ().toArray (new String[0]);This will return an Object[] reference to a String[] object, and this reference can be cast to a String[] reference.

  • I've purchased an in-app purchase recently, which was a magazine issue, the problem is that I can't find it in the app! Any help about that?

    I've purchased an in-app purchase recently on my iPad, which was a magazine issue, the problem is that I can't find it in the app! Any help about that? The app is called Forbes Middle East

    Change your iTS password!!!!
    Are these charges from Adobe or Apple?
    Are these purchases from the App Store or iTunes Store?
    Contact your credit card company and dispute the charges. Apple and Adobe will do nothing for you - it is your CC issuer that can help.
    As noted these are user to user discussions. None of us here work for Apple or Adobe.
    Contact iTS Customer Service via these links - http://www.apple.com/support/itunes/
    MJ

  • I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel?

    I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel? Is Parallel in fact the best way to go?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Is July 9 internet issue a problem for Mac Pro users?

    Is the July 9 internet issue a problem for Mac Pro users or has Apple taken care of this issue in updates?

    It is a only a problem for users affected by the malware that replaces their DNS IPs on their macs. They already have a serious problem which they should fix. Follow the url in sig's post to determine if you are infected and how to remove it.

  • Issue casting a HealthRecordItem (AppSpecificDataType) to my custom wrapper type

    I have a HealthVault application built using the 0.15.2016.4015 version of the HealthVault assemblies.
    Since the HealthVault platform has changed since then, causing issues with the Basic datatype, I decided to upgrade the assemblies to latest version - 2.1.0.0.
    Ever since I updated to this version, my application specific data type casting has stopped working.
    I have made sure that the code is as per the guidelines and answers mentioned at https://social.msdn.microsoft.com/Forums/en-US/e7c195c4-3bf3-473e-b8c6-d6d1a1b3cdc3/problem-casting-a-healthrecorditem-to-my-custom-wrapper-type.
    Here is the error message that I keep getting:
    Unable to cast object of type 'Microsoft.Health.ItemTypes.ApplicationSpecific' to type 'CustomNamespace.CustomHealthTypeWrapper'.
    I'm unable to proceed further with my application till this issue is resolved. 
    Any help is highly appreciated.

    Hi,
    Simple way to hide the columns from the Edit or New form is use the PowerShell command.
    $webUrl = Get-SPWeb http://<<servername>>/mysite
    $listName = $web.Lists["<<listName>>"]
    $columnName = $list.Fields["<<column name>>"]
    //If you want to hide the column from Edit Form then Change the ShowInEditForm property and update objects
    $columnName.ShowInEditForm = $false
    //If you want to hide the column from New Form then Change the ShowInNewForm property and update objects
    $columnName.ShowInNewForm=$false
    $columnName.Update()
    $listName.Update()
    $webUrl.Dispose()
    Each column has supports following properties, it can be controlled either using powershell or CSOM or JSOM or server object model.  Even you can controlled while creating the list definition using Visual studio by setting the following
    property.
    ShowInDisplayForm
    Gets or sets a Boolean value that specifies whether the field is displayed in the form for displaying list items.
    ShowInEditForm
    Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to edit list items.
    ShowInListSettings
    Gets or sets a Boolean value that specifies whether the field is displayed in the page for customizing list settings.
    ShowInNewForm
    Gets or sets a Boolean value that specifies whether the field is displayed in the form that is used to create list items.
    ShowInVersionHistory
    Gets or sets a Boolean value that specifies whether the field is displayed in the page for viewing list item versions.
    ShowInViewForms
    Gets or sets a Boolean value that specifies whether the field is displayed in pages that are used to view list data.
    Please mark it as answered, if your problem resolved or helpful.

  • Can someone please help a new owner of a Pixma Pro-100 with a color cast problem?

    Despite setting it up correctly with the drivers supplied on the CD for my Windows 7 64-bit laptop, I'm getting a slight pink color cast on both Canon's Fine Art Museum Etching and Glossy Plus II papers. It is neither a monitor calibration nor a software processing (white balance) issue, since I printed exactly the same file on my old Pixma IP4840 without any problem whatsoever. Unfortunately the IP4840 cannot handle the heavier grade media, nor print exhibition grade quality.
    I have tried adjusting the C, M, Y values according to the print pattern as recommended, without any significant improvement. I have used both the Pro and ICC profiles with similar lack of success.
    In desperation I downloaded the 32-bit driver to try on my Windows 8 desktop, also to no avail.
    I'm sincerely hoping there's a simple solution to what has thus far been a disappointing debut to the Pro series.
    Kindest regards,
    Richard 

    no, I didn't ask to burn a picture....this is why I am confused to how the picture got on there.
    I understand what you are saying regarding the multi-session thing (how do I avoid this if my other cds with photos on them have this, and I don't know they do?)
    but what I do know is that cd had photos on it (it definately wasn't full, and maybe that is why I haven't had a problem with others...they have all been full) and no one else uses my Mac, so I know no one else put the picture on that cd. I may have inadvertantly burned the picture, but if I did, I don't know what I did to make it burn the picture onto the cd.....
    The only thing that happened was I opened iphoto so I could save some of the pictures that were already on the disc, but when I went to look for the pictures on the cd, the only thing that was on it, was an iphoto picture....which I didn't ask to be put there.....
    I have previously burned pictures onto CD using my Mac with no problem, and I've pulled pictures off CD that were burned using a PC. So I guess I need to know how to determine if the cds have this multi-session thing going on?
    iMac Intel Core Duo   Mac OS X (10.4.7)  

  • Issue management problem

    Hi all,
    I am facing a problem in issue management in transaction solman_issue_mgmt transaction when i try to open a existing message i am getting a dump. the same dump occurs when i try to create a new issue using that transaction.
    pls find the details of the dump .
    I have applied not 1397754 also but still the problem persist.
    kindly guide in this issue.
    Error when processing your request
    What has happened?
    The URL http://ty-stfd0.ty-sap.os.itelligence.de:8002/sap/bc/webdynpro/sap/dswp_ci_issue_management/ was not called due to an error.
    Note
    The following error text was processed in the system TSD : View usage MAIN_USAGE_1 does not exist in window ISSUE of component DSWP_IM_ISSUE_VIEW
    The error occurred on the application server ty-stfd0_TSD_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WDR_RR_VIEW_CNT_ASSIGNMENT~GET_EMBEDDED_VUSAGE of program SAPLWDR_RUNTIME_REPOSITORY
    Method: IF_WDR_RR_VIEW_CNT_ASSIGNMENT~GET_DEFAULT_VIEW_USAGE of program SAPLWDR_RUNTIME_REPOSITORY
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system TSD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server ty-stfd0_TSD_02 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server ty-stfd0_TSD_02 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 100 -u: SKRISHNAN -l: E -s: TSD -i: ty-stfd0_TSD_02 -w: 0 -d: 20100203 -t: 092939 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Regards,
    Subhashini.

    Hi Rajeev ,
    Thanks for the reply.
    i have checked the service, the specified service is active and tested also. the main screen apprears, the problem is with the next screen.
    there is one more service dswp_im_issue_mgmt , the problem is coming with that service.
    In our system, two service are active with the same name(dswp_im_issue_mgmt ) in that one is active and other is not active.
    I tried to delete one but i got a message that the service is no more valid. is it because of this am getting the error
    kindly clarify.
    I tried to run the SIAC_LIST_UNPUBLISHED but it was not there in the system.
    st22 details:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_WDR_RR_EXCEPTION
    Date and Time          03.02.2010 08:11:33
    What happened?
    The exception 'CX_WDR_RR_EXCEPTION' was raised, but it was not caught anywhere
    along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program 'SAPLWDR_RUNTIME_REPOSITORY'
    has to be
    terminated.
      |Error analysis                                                                               
    |    An exception occurred which is explained in detail below.                                    
    The exception, which is assigned to class 'CX_WDR_RR_EXCEPTION', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    View usage MAIN_USAGE_1 does not exist in window ISSUE of component
    DSWP_IM_ISSUE_VIEW

  • ICal Print List Hang / Font Issue / Sync Problems...

    Okay, here's a couple issues all wrapped up into one thread/post - reason is cause I suspect they may all be tied together somehow, but am not sure.
    Sync Problems...
    Regarding the Syncing problems, you can find an ongoing thread about @ http://forums.markspace.com/viewtopic.php?t=1632
    In short, some of us are having issues with events syncing to our Palm to the wrong timezone, causing them to be an hour off (usually within the new & old DST date change). Yes, all the usual fixes have been tried - pls read the thread noting "adairnet" and ymatto" postings.
    Also, in addition to this time issue, I have iCal events that I've deleted in iCal still show up on the Palm after one-way syncing!
    Print List Hang...
    Every week I print a "list" of events from a certain calendar. The past couple weeks I noticed some lines in the notes field printing on top of each other. Twas odd indeed, but I hadn't had the time to look into the reason. Then this week I was going thru my usual printing proceedure and now iCal locks up, hangs up, crashes, forcing me to force-quit the program. It's usually after I extend the dates beyond 2 or 3 days, but I've not been able to find a consistency. I've redone events thinking they were corrupt with no success.
    Font Problems...
    After the Print List issue above, I opened my Console program to see if it was reporting anything. At first it indicated that it could not find Helvetica Neue and would substitute it for Helvetica. This put me in touch with some font corruption - so I got rid of those bad fonts and activated Helvetica Neue which got rid of that message. But made me wonder if there are more font problems causing the print hanging & syncing problems. I have FontAgent Pro and do have some font issues that I'm trying to work out.
    But the Console is displaying another string of messages every time the Print List proceedure hangs up which I cannot figure out...
    2007-04-24 16:24:54.151 iCal[28975] NSATSGlyphStorage inconsistency. Cannot find run storage for character range {138 67} for CTRun 0xDBE87D0. Ignoring the run...
    2007-04-24 16:24:55.175 iCal[28975] -[NSMutableStringProxyForMutableAttributedString replaceOccurrencesOfString:withString:options:range:] called with out-of-bounds range. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined).
    2007-04-24 16:24:55.176 iCal[28975] * NSThread: ignoring exception '* -[NSMutableStringProxyForMutableAttributedString replaceOccurrencesOfString:withString:options:range:]: Range or index out of bounds' that raised during delayed perform of target 0xdde58d0 and selector 'renderPreview'
    So, all of this is causing me to wonder if the iCal or SyncServices database is corrupt. Is there a way to dig into the iCal db and check for corruption &/or fix it?
    Or does anybody have any further suggestions on any of these issues?
    thanx.jason.

    RedKamel,
    The SyncServices folder should be avoided like "a swarm of bees". This article discusses some of the issues that can arise when the SyncServices folder is deleted or modified:
    http://docs.info.apple.com/article.html?artnum=301920
    Data loss and Data corruption can result from deleting or modifying the SyncServices folder, and that data loss or corruption can be propogated to devices, .Mac, and other applications that sync with SyncServices.
    If you have isolated an issue with the other steps in your post, I would recomend speaking with AppleCare before removing that folder.
    Hope this helps,
    Nathan C.

  • Lenovo USB 2.0 Port Replicator Freezes Issues and Problems

    Okay, I have THREE of these port replicators in my office, and ALL THREE have the exact same problem on various laptops(X1, T420, Edge 13) with various kayboard/mice.  I've been through all stages of the port replicator drivers on the various systems, and the issue is always there.  All laptop drivers are updated.
    Here is the issue: working away, and then bam, mouse and keyboard don't work.  I'm working in a external monitor only display setup.  I go to the keyboard/touchpad on the laptop and they don't work...however ctrl+alt+delete works on the laptop keyboard(not the regular one).  Then the touchpad works...but I can't click on any of the settings EXCEPT sleep.  When I press a button to wake it up, everything works fine.  Basic external keyboards/mice, no need for different drivers.
    The other thing that fixes everything is unplugging the USB connection from the port replicator and plugging it back in to the laptop(or unplugging the power to the port replicator). 
    The weird thing is that I took the keyboard and mouse and they are plugged into the laptop itself, NOT the dock, and I still get the same issue with responsiveness.  This happens on ALL the docks, so it's not a keyboard/mouse driver thing. 
    The one thing that's occuring to me is that maybe it's a weird display issue?  I haven't tried actually using the external or laptop keyboard to run commands while it's frozen...and I also haven't tried unplugging things from the port replicator one by one (such as unplugging the display cable from the port replicator, then the printer, then the ethernet).  I'll keep you updated if I get any further.  It's been like this for months, and my users are just doing the workarounds.  one thing is for sure...
    I'M NEVER GOING TO SUBSTITUE THIS PORT REPLICATOR FOR A NORMAL DOCK AGAIN! (although i have no choice with the X1). 

    Hi skrasher, welcome to the forum,
    could you please try the following to see if it changes the behaviour of the USB ports.  In Device Manager, with the port rep attached, disable the ability on each of the USB Root Hubs for Windows to disable the device in order to save power, restart the system and see if the problem still occurs.
    Let us know how you get on.
    edit; for clarity
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • JAX RPC extension: Problem with document/literal and MyType[]

    Hi,
    I have installed the JAX RPC extension and want to generate a stub from my WSDL file. The WSDL describes a document/literal binding.
    Problem:
    A webservice server method like:
    public wineshop.model.common.SimpleProducer[] getSimpleProducerList() throws RemoteException;
    is translated into a stub method like:
    public UnknownType getSimpleProducerList() throws Exception {..}
    Is an array of own types with the binding style "document/literal" not supported in JAX RPC 1.4 or is it just a bug?
    The WSDL file is generated by JAX RPC 1.4.
    I have installed JWSDP-1.5 and generated a stub with wscompile from the WSDL file. The generated stub has the correct method return type:
    public wineshop.ws.client.SimpleProducer[] getSimpleProducerList()
    throws java.rmi.RemoteException
    It there a workaround like replacing some JDev JARs with JWSDP-1.5 to solve the problem?
    Any hints are welcome.
    Thanks Markus

    repost.....

  • Casting problems getting a home I/F of an EJB in another app when debuging a servlet

    (Jdeveloper version = 9.0.2.798, OC4J Application Server version = Oracle9iAS (9.0.2.0.0))
    I am trying to debug a multi-tier application using the embedded application server. Servlets and EJBs within that application need to call EJBs contained within a second application (Horus).
    I have set up the embedded application server to run this second application automatically by adding the following entry into its server.xml
    <application auto-start="true" name="Horus" path="M:\Studio\build\production\java\Server\Obfuscate\J2EE_HOME\Horus\Horus.xml"/>
    I then start the embedded application server by debugging my servlet project, 'intermediateServlet'. I know the second application is running correctly in the embedded application server because I can access it from a separate client.
    In the 'intermediateServlet', I want to obtain a reference to a Dispatcher EJB held in the Horus application. This EJB has the following properties
         ejb-name     = com.internal.server.Dispatcher
         home interface     = com.internal.server.DispatcherHome
         bean class     = com.internal.server.DispatcherEJB
         remote interface= com.internal.server.Dispatcher
    The following code is executed during the container's call to my servlet init( context ) method to try and get the appropriate home interface.
    Context context = null;
    Object tempRemoteIF1 = null;
    Object tempRemoteIF2 = null;
    Properties h = null;
    h = new Properties();
    h.put( Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory" );
    h.put( Context.PROVIDER_URL, "ormi://127.0.0.1:23891/Horus");
    h.put( Context.SECURITY_PRINCIPAL, "user0" );
    h.put( Context.SECURITY_CREDENTIALS, "password" );
    context = new InitialContext (h);
    tempRemoteIF1 = context.lookup( "com.internal.server.Dispatcher" );
    tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
    tempRemoteIF1,
    Class.forName( "com.internal.server.DispatcherHome" )
    The context.lookup call seems to work fine, returning an object of the class
         DispatcherHome_StatelessSessionHomeWrapper5
    Which I presume is a containter generated class implementing the home interface. To help confirm this,
    the object has a property beanName that has the value "com.internal.server.Dispatcher".
    The problem occurs on the next line, when I check whether I can cast the object to the home interface using ProtableRemoteObject.narrow(). This gives the following exception.
    java.lang.ClassCastException
         java.lang.Object com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
              PortableRemoteObject.java:296
         java.lang.Object javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
              PortableRemoteObject.java:137
         com.internal.server.Dispatcher com.Studio.servlet.intermediateServlet.getDispatcherRef(java.lang.String, java.lang.String, java.lang.String)
              intermediateServlet.java:601
         void com.Studio.servlet.intermediateServlet.init(javax.servlet.ServletConfig)
              intermediateServlet.java:150
         com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.evermind.util.ByteString)
              HttpApplication.java:1669
         com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.evermind.util.ByteString)
              HttpApplication.java:4001
         javax.servlet.RequestDispatcher com.evermind.server.http.HttpApplication.getRequestDispatcher(com.evermind.util.ByteString, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
              HttpApplication.java:2200
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:580
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:243
         void com.evermind.util.ThreadPoolThread.run()
              ThreadPoolThread.java:62
    Interestingly, if I use practically the same code, to obtain the home interface of an EJB that is defined in the application that I am debugging, the cast works perfectly. The returned object looks identical, apart from the name to the DispatcherHome_StatelessSessionHomeWrapper5 mentioned above.
    Could the error possibly be because I need to declare 'Horus' as a parent application of the application I am debugging? If it is how do I do this?
    Many thanks in advance for any help with this one.
    Mark.

    (Jdeveloper version = 9.0.2.798, OC4J Application Server version = Oracle9iAS (9.0.2.0.0))
    I am trying to debug a multi-tier application using the embedded application server. Servlets and EJBs within that application need to call EJBs contained within a second application (Horus).
    I have set up the embedded application server to run this second application automatically by adding the following entry into its server.xml
    <application auto-start="true" name="Horus" path="M:\Studio\build\production\java\Server\Obfuscate\J2EE_HOME\Horus\Horus.xml"/>
    I then start the embedded application server by debugging my servlet project, 'intermediateServlet'. I know the second application is running correctly in the embedded application server because I can access it from a separate client.
    In the 'intermediateServlet', I want to obtain a reference to a Dispatcher EJB held in the Horus application. This EJB has the following properties
         ejb-name     = com.internal.server.Dispatcher
         home interface     = com.internal.server.DispatcherHome
         bean class     = com.internal.server.DispatcherEJB
         remote interface= com.internal.server.Dispatcher
    The following code is executed during the container's call to my servlet init( context ) method to try and get the appropriate home interface.
    Context context = null;
    Object tempRemoteIF1 = null;
    Object tempRemoteIF2 = null;
    Properties h = null;
    h = new Properties();
    h.put( Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory" );
    h.put( Context.PROVIDER_URL, "ormi://127.0.0.1:23891/Horus");
    h.put( Context.SECURITY_PRINCIPAL, "user0" );
    h.put( Context.SECURITY_CREDENTIALS, "password" );
    context = new InitialContext (h);
    tempRemoteIF1 = context.lookup( "com.internal.server.Dispatcher" );
    tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
    tempRemoteIF1,
    Class.forName( "com.internal.server.DispatcherHome" )
    The context.lookup call seems to work fine, returning an object of the class
         DispatcherHome_StatelessSessionHomeWrapper5
    Which I presume is a containter generated class implementing the home interface. To help confirm this,
    the object has a property beanName that has the value "com.internal.server.Dispatcher".
    The problem occurs on the next line, when I check whether I can cast the object to the home interface using ProtableRemoteObject.narrow(). This gives the following exception.
    java.lang.ClassCastException
         java.lang.Object com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
              PortableRemoteObject.java:296
         java.lang.Object javax.rmi.PortableRemoteObject.narrow(java.lang.Object, java.lang.Class)
              PortableRemoteObject.java:137
         com.internal.server.Dispatcher com.Studio.servlet.intermediateServlet.getDispatcherRef(java.lang.String, java.lang.String, java.lang.String)
              intermediateServlet.java:601
         void com.Studio.servlet.intermediateServlet.init(javax.servlet.ServletConfig)
              intermediateServlet.java:150
         com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.loadServlet(com.evermind.util.ByteString)
              HttpApplication.java:1669
         com.evermind.server.http.ServletInstanceInfo com.evermind.server.http.HttpApplication.findServlet(com.evermind.util.ByteString)
              HttpApplication.java:4001
         javax.servlet.RequestDispatcher com.evermind.server.http.HttpApplication.getRequestDispatcher(com.evermind.util.ByteString, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse)
              HttpApplication.java:2200
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:580
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:243
         void com.evermind.util.ThreadPoolThread.run()
              ThreadPoolThread.java:62
    Interestingly, if I use practically the same code, to obtain the home interface of an EJB that is defined in the application that I am debugging, the cast works perfectly. The returned object looks identical, apart from the name to the DispatcherHome_StatelessSessionHomeWrapper5 mentioned above.
    Could the error possibly be because I need to declare 'Horus' as a parent application of the application I am debugging? If it is how do I do this?
    Many thanks in advance for any help with this one.
    Mark. Try loading the home interface from the same classloader used to load the the returned home object.
    tempRemoteIF2 = javax.rmi.PortableRemoteObject.narrow
    ( tempRemoteIF1,
    tempRemoteIF1.getClass().getClassLoader().loadClass("com.internal.server.DispatcherHome" )
    Dhiraj

  • Curve 9320 issue (hang problem)

    Hello, i have purchased curve 9320 3G 1 month back but i couldn't use this more than 1 day, i use to freeze frequently, after inserting sim, it was running fine for 10-12 Hrs, after than when i received incoming call, it showed me the number and contact on screen but i could not received that, all the key got freeze that time and i had to hard boot that device by fetching the battery out, i also went to BB service center 2 times but they said its a normal antivirus problem, i m surprised how could a virus may get in to device as neither connected it to internet, BBM services nor to any PC through data cable.

    Hello csamit2004
    Welcome to BlackBerry Support Forums
    Whenever you feel any problem always the first and best practice is to perform a Battery Pull Restart by removing the Battery while your Smartphone is Powered On , then wait for atleast a min. and reinsert it back .your device may take a long reboot . Rebooting in this manner fixes most issues within our BlackBerry Device , you won't loose any data while doing so .
    Also be sure that you're closing all application correctly , If we press and hold the Menu for a few seconds, it will pop up a screen which will show all running programs in the background ,generally five will always there ( Home, BBM, Message,Phone , Browser ) you can always look if any other apps. are running in the background. Always try to Close Applications Correctly - Avoid using the End key to close applications as this simply minimizes the application and leaves it running in the background. Instead, press the Menu key, select the Close or Exit option to exit the application.Don't leave your Browser open on any active webpage when not in use.
    If programs run in the background it may lead to device freezing and also quick battery drainage.Please have a look at this Article I am sure it will help you a lot in overcoming your problems :
     KB14320 How to maximize battery life and free memory on the BlackBerry smartphone.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Class casting problems in JSP's

    Folks,
              Several people, including myself, have written about the problems they
              ran into when trying to cast a class in JSP's. The following link might
              provide the answer:
              http://www.weblogic.com/docs51/classdocs/API_jsp.html#sessions
              I believe this is a major limitation Weblogic put on web app
              development, and hope BEA would eventually find a way to allow non-user
              defined types being stored in servlet sessions.
              Jeff
              

    Folks,
              Several people, including myself, have written about the problems they
              ran into when trying to cast a class in JSP's. The following link might
              provide the answer:
              http://www.weblogic.com/docs51/classdocs/API_jsp.html#sessions
              I believe this is a major limitation Weblogic put on web app
              development, and hope BEA would eventually find a way to allow non-user
              defined types being stored in servlet sessions.
              Jeff
              

Maybe you are looking for

  • Adobe Captivate 4 "Blue Screen" on editing "Preferences"

    Hi there, I am using a professional license for Adobe Captivate 4, from work. So it's not a personal copy and I cannot just do a clean install without difficulty. Anyway, I was using the system fine, and taking an online training about the tool, and

  • Screen turned black and blue?

    i dropped my phone today from not that high and the screen turned black with blue lines all over it and it won't work. i have no clue what to do or how to fix it? after 4 hours of this, siri started working but my screen is still black and blue.... a

  • Search in Lion Mail

    - Search From - I can't do it - Search Subject - I can't do it - Search To - I can't do it - Search full email message - I can't do it - Smart Mailboxes - all are broken What is going on with Mail Search in Lion? Help direct me to use spotlight - tot

  • FileSystemTree and "ordinary" Tree - make them look the same?

    Hi, I wondered if anyone's worked with Adobe AIR's FileSystemTree and the "ordinary" Tree in Adobe Flex, making them look the same? If so, can you give me some hints on how to make them look the same when it comes to icons, disclosure icons, branches

  • Rules: How to retrieve Custom1 member value

    I am trying to debug HFM rule file in order to see what values certain paramter take on. For instance I am using below command where I am writing 3 items into a file. WriteDebug Now(), "E#" & vEntity & "a#MASP10", "= " & HS.GetCell("A#MASP10.W#Period