Problem in Webservice Usage.

Dear Experts,
I am new to webservice. I have created a model using Adaptive Webservice option. I had configured a WSDL file location and Destinations for this thing.
After this i had created a object of model, and i am passing some parameters to run this webservice but i am getting following error. Please find the program that i am using and that error below -
try{
Testmodel mod = new Testmodel();
Request_ZHRESS_STATION_REQUISITION inp = new Request_ZHRESS_STATION_REQUISITION(mod);
wdContext.nodeRequest_ZHRESS_STATION_REQUISITION().bind(inp);
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().setSERVICEID("12");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().setYYMOD("DIS");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().setYUSERTYPE("EMP");
wdContext.currentRequest_ZHRESS_STATION_REQUISITIONElement().modelObject().execute();
catch(Exception e)
But at the line where i am passing SERVICEID as a parameter its throwing error -
Attribute name 'SERVICEID' not defined for model class 'Request_ZHRESS_STATION_REQUISITION'
but i checked thsat its there and its coming from autocompleteion facility also.
Please suggest me some solution.
Thanks in advance,
Roshan Gupta

Dear Ashwini,
I have published my Webservice to my server. Its not present as a local file. Its on a Server, I have tested it from server also.
While creating the model i have given the location of this webservice present at server.
When i checked the ROOT context node of Model all the parametera that i am passing is available there. But when i am using them they are thorowing desrcibed error.
Please Help!
Thanks in advance
Roshan Gupta

Similar Messages

  • URGENT : Problem in DataSource usage in Client applIcation

    URGENT : Problem in DataSource usage in Client applIcation
    Hi ALL
    I have deployed a EJB(Session Bean) in Oracle-OC4J Container.I am using datasources, in my bean as well as in my client
    application.Here Client is deployed along with bean in container.
    I am using "ejb-location"JNDI Name inside Client to get connection.
    (Which is mentioned in datasource element of datasources.xml)
    For this i have configured datasources.xml also.
    If i use "oracle.jdbc.pool.OracleDataSource" in datasources.xml then ClassNotFoundException is coming.
    But i have included classes12.jar in home/lib directory
    But if i use "com.evermind.sql.ConnectionDataSource" then i am getting connection.But if i do some operations(Even
    setAutoCommit(false))its giving NULL PointerException.
    Why this is happening?
    Thanx in advance
    Venky

    Hi Venkastesh,
    There are two issues. If your entry is like this....
    location="microDS"
    xa-location="jdbc/xa/MicroXADS"
    ejb-location="MicroPool"
    ...then use ejb-location for database calls through ejb and location when you try to get through normal java client.
    This will help you.
    regards,
    Vijay
    null

  • Problem creating webservice from existing code in sjse8

    I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
    // Enter web service operations here. (Popup menu: Web Service->Add Operation)
    The class is empty.
    I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
    And as you can guess it generates a wsdl file with no webservice methods info.
    I have and am checking all forums and searching different sites but haven't fond anything yet.
    I appreciate any help resolving this issue.

    Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)

  • Problems with WEBSERVICES

    Hello,
    i have some Problems with WebServices.
    When I call my function how makes the request (get_frob), it goes back to the main program and make a print! After that my request starts!
    I want that the request finished first and then make a print!
    I need threats for this???and how does it work?
    My englisch is not so good I´m sorry for that!
    Please help me
    Thanks
    Chris
    def Button_Autorisieren:SwingButton=SwingButton{
        text:"Autorisieren"
        width:100
        translateY:150
        action:function()
            var Authentication:HTTP_Authentication=new HTTP_Authentication();
            Authentication.get_frob();
            java.lang.System.out.println(Authentication.abfrage);
    public class HTTP_Authentication {
        var api_key:String="***********";
        var secret_key:String="***********";
        var stat:String;
        var sig:String;
        var frob:String;
        var method:String;
        var md5_String:String;
        var perms:String;
        var api_sig:String;
        public var abfrage:Boolean;
        public var link:String;
        def md5:MD5=new MD5();
        var parser = PullParser{
            documentType: PullParser.XML;
            onEvent: function(event: Event) {
                    if (event.type == PullParser.START_ELEMENT ) {
                        if(event.qname.name == "rsp" and event.level==0)
                           stat=event.getAttributeValue(QName{name:"stat"});
                        if (stat=="ok")
                         if(event.type==PullParser.END_ELEMENT)
                              if(event.qname.name == "frob")
                                  frob=event.text;
                                  java.lang.System.out.println("Frob: {frob}");
                                   abfrage=true;
        public function get_frob ()
            method="flickr.auth.getFrob";
            md5_String="{secret_key}api_key{api_key}method{method}";
            java.lang.System.out.println(md5_String);
            sig=md5.makeMD5(md5_String);
            java.lang.System.out.println(sig);
            var request = HttpRequest {
                    location: "http://api.flickr.com/services/rest/?method={method}&api_key={api_key}&api_sig={sig}"
                    method: HttpRequest.GET
                    onInput: function(input: java.io.InputStream)
                                    parser.input=input;
                                    parser.parse();
                                    input.close();
                        }.enqueue();
        }

    Hello,
    thank you for your answer. It was my mistake, I discribe the problem very bad.
    When i call the function get_frob(). Netbeans goes in the function and run through the end but nothing happened
    onMouseClicked: function( e: MouseEvent ):Void {
                         test=Authentikation_Frob.get_frob();and in my if clausel there will be a wrong output! After the output my programm go back to the function get_frob() and then make the request and go back to the if clausel. Now everything ist correct. But why does my programm need 2 runs ????thats not correct!!
    Thank you!!
    if (test==true)
                             var Authentikation_Link:HTTP_Authentication_Link=new HTTP_Authentication_Link();
                            link=Authentikation_Link.get_link();
                            var uri = new java.net.URI("{link}");
                             var desktopClazz = java.lang.Class.forName("java.awt.Desktop");
                             var getDesktopMethod = desktopClazz.getMethod("getDesktop");
                             var desktop = getDesktopMethod.invoke(null);
                             var browseMethod = desktopClazz.getMethod("browse", [uri.getClass()] as java.lang.Class[]);
                              browseMethod.invoke(desktop, uri);
                         else
                             fehler_ausgabe.visible=true;
                             fehler_ausgabe.content="Fehler {Authentikation_Frob.frob_fehler} {Authentikation_Frob.frob_hilfe}";
                         }Edited by: Esco24 on Aug 10, 2009 1:02 AM

  • [5800xm] Problem with rSAP usage in Skoda nav-syst...

    Hello,
    like in the topic: I have a problem with rSAP usage in Skoda nav-system Columbus: it stays ON searching for the car nav-system & eats battery level (just being standby): within 24 hrs completely empty. With bluetooth turned on, without previously connecting to my Skoda nav-system, the phone can run for about 10 days standby.
    I tried every setting without improvement, I run the latest firmware/software on my 5800 XM.
    Only if I turn off manually the bluetooth subsystem (not just the nav-system connection, but completely turn off bluetooth), then the phone doesn't eat through my battery-level. I dont want that, because it's not neccessary (I have to turn it back on again later & forget to do that), sometimes I forget and find out people can't reach me coz my phone is battery-empty.
    Anyways, this situation is already since the beginning when I bought the phone from Nokia store. No improvement since.
    Please can anybody help out?
    Thnx
    Solved!
    Go to Solution.

    Well, since a few days we're testing the default setting from  aspergerguy  and now it seems the battery problem doesn't occur no more. Amazing how such a small change of unexpected / undocumented setting can give a device real purpose instead of almost uselessness.
    For clarity, again the problem: I am able to use the phone with the carkit-nav system, but after using (ergo: getting out of the car, into our home), the phone eats through the battery within 24hrs.
    This now no longer happens with   Wireless car kit   set as default.
    Thanks aspergerguy for your help!
    Less thanks Nokia for creating this problem in the first place.
    Regards,
    Quan

  • Problem accessing Webservices from Flex

    Hi All,
    I have created a Webservice in Abap and configured it using
    SOAMANAGER transaction. I am able to succesfully test the Web serivice which I have created in 'Soamanager ' transaction.
    But when I am calling this Webservice from Flex application I am getting an error as " FAULT : faultCode:WSDLError faultString:'Runtime exception Error #1009' faultDetail:'null' "
    We tried calling the Webservice  outside SAP from the FLex application, it is working fine.
    Please let me know how to rectify this error . It's an urgent requirement.
    Thanks and regards,
    Uma.

    hi
      when you create your destinations for your webservices in the SOAMANAGER-> Destination Template
      you would be providing wsdl url and destination , and in the below you can
      find the username and pwd that need to set , you need to select the radio buttons with logon tickets ,
    username , password , there , re-check the username and pwd by selecting the radio button with selecting the
    radio button username password ,  and even check the webservice in the WSNAVIGATOR , whether its working
    fine , and other thing is  there is situation where your webservice may work fine inthe wsnavigator  even then there would
    be some problem inthe webservice , even check this scenario.
    Thanks

  • Does anyone have problems with data usage with att and Iphone5?

    Hello, Does anyone have problems with data usage or non usage I should say with Iphone 5 and AT&T?

    After 4+ months of dealing with this data usage and battery drain problem that included 3 data captures of my wife's iMac, the trigger for us regarding the problems syncing with iCloud, and 5 hours of logs off my iPhone 6 to be analyzed by Apple engineers that included times my wife's computer was both on and off to demonstrate the difference in data usage and battery drain under those conditions, I can say with very reasonable certainty that the iOS 8.3 and corresponding Mac OS 10.10.3 update has solved the problem. 
    We have now been running for about 2 weeks and data usage with the iCloud Servers attempting to sync has dropped from a rate of 31 GBs to under 15 MBs per month.  Yes, you read it right.  We were burning 2000 times as much data doing absolutely nothing important on both of our phones, a 5s and a 6.  Just imagine what that does to battery life!  The 5s would last about 5 hours and the 6 was dead in less than 14.
    The distasteful aspect of this process was how the engineers were quietly fixing the problem at the same time sending messages to my contact person within Apple that were dismissive in nature in the face of indisputable unreasonable results. I must say, this experience with the multiple times the engineers' responses were inappropriate put a little tarnish on the old Apple shine of the ‘It just works’ mantra. This was my first experience in 34 years that caused me to stop recommending Apple products without reservations and with a disclaimer.
    Since the update solved the problem, then I can only conclude that there was a logic bug regarding the reaction within the process to the incoming data that was corrected.  There was noting short of logging out of iCloud that circumvented the problem for us, Gator5000e and probably many others noted on other threads.  I am not trying to imply that this is the cause of everyones battery use problem, but it is reasonable that it was a cause for many.

  • Problem with memory usage and CPU usage

    Hello,
    i have a problem with the memory usage and cpu usage in my project!
    My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage!
    It starts with ~15% CPU usage and ~70 MBytes memory usage. After ~ 24hrs the CPU usage is ~60% and the memory usage is ~170 MBytes!
    After  3 days the CPU usage is almost about 70% and the memory usage is about 360 MBytes!
    What can I do to reduce this huge recource usage?
    Thank you!

    Hi Pahe,
       I think the issue is memory usage, since CPU usage can increase due to greater memory requirements.
       Anyway, it's difficult to debug without seeing your code, can you post it (possibly for LV 7.1 compatibility)?  Or just post a JPEG of the piece of code that can give problems...
       I guess you're appending data to an array instead of replace data elements, but I can't be sure...
       Have a nice day!
    graziano

  • Problem with Clip Usage and merged clips in CS6

    The 'Clip Usage' drop-down menus don't seem to work in Premiere CS6 for merged clips. The info bar at the top of the project window correctly lists the number of times the viedo and audio from the clip has been used, and the downward-pointing arrow appears, but when you click on it... nothing happens. Same's true of the 'Video Usage' column in the main body of the project window. Non-merged clips work just fine.
    Anyone know if this is just a problem with my project, or if it's a bug in Premiere? Had a lot of trouble with merged clips in CS5.5, and was hoping they'd be solved by CS6 - I've been using Creative Suite for a long time, and the lack of good merged clips support was always one of the challenges in persuading other indie editors to switch over from FCP...
    Thanks!

    ...and the lack of good merged clips support was always one of the challenges in persuading other indie editors to switch over from FCP...
    I guess they just have to weigh that up against the lack of support they got from Apple for FCP in its entirety.

  • Problem with Webservice after upgrading to cf8

    I have a webservice created in ColdFusion 6.1 that worked just fine when being called from MS Access. I upgraded coldfusion to v8, and now the webservice isn't working. Nothing else was changed. The strange thing is I can call the webservice from a flex program, I have used SoapUI, and that worked, I can type the webservice name into IE and get the correct return, but not from MSAccess or Excel.
    Anybody know why this would be? Is there some setting that I forgot to check in the upgrade that would cause this sort of problem.
    One thing I noticed when looking at the packets that were sent back and forth is that when connecting to the webservice from MSAccess, it looks like ColdFusion is trying to log into the web service definition. By that I mean, in the packet that is returned, I can see the HTML of the page in ColdFusion where you log in to view the webservice definition.
    Matt

    We are running windows 2000 server (I know, I know, old as mold, but we're a government agency, what do you expect?) 32 bit. Antoher piece of the pie...
    After looking at the response closer, it looks like and extra line is being placed in there. For example, here is the response I am getting currently:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
      <ns1:GetProp8Response soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://xxxx.xxxx.xxx">
       <GetProp8Return xsi:type="xsd:string">22923</GetProp8Return>
      </ns1:GetProp8Response>
    </soapenv:Body>
    </soapenv:Envelope>
    previously, it was similar to this:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
      <ns1:GetProp8Response soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://xxxxxx.xxxxx.xxx">22923</ns1:GetProp8Response>
    </soapenv:Body>
    </soapenv:Envelope>
    Thanks for taking a look...
    Matt

  • Problem in Webservice-XI-JDBC scenario

    Hi Experts,
    I am working on webservice - XI - JDBC Synchronous scenario. I have done with SLD, IR, ID, WSDL file creation.
    When I tried to test the scenario thro' Webservice Studio, I am getting the following error. This error comes, once I give the request value.
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    401   Unauthorized
    If you come across this type of issues, then please help me to solve it.
    Regards
    Sara
    Message was edited by:
            Sara D

    Hi Bhavesh,
    As per the blog, I have done the username & pwd setup..but still getting the "401 Unauthorized".  Could you please tell me, what could be the problem?
    Here is the full error trace.
    Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'.
    The request failed with the error message:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Error Report</title>
    <style>
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td>
    </tr>
    <tr bgcolor="#3F73A3">
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
        <td height="23"><img width=1 height=1 border=0 alt=""></td>
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td>
    </tr>
    <tr bgcolor="#9DCDFD">
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
    </tr>
    </table>
    <br><br><br><br><br><br>
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  No login module succeeded.</b></font></td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td>
        <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td>
    </tr>
    </body>
    </html>
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at MI_OutboundService.MI_Outbound(DT_REQUEST MT_REQUEST)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at WebServiceStudio.MainForm.InvokeWebMethod()
       at WebServiceStudio.MainForm.buttonInvoke_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Regards
    Sara
    Message was edited by:
            Sara D

  • Problem releasing webservice for runtime in non-modifiable client

    Hi
       I created a webservice definition ( virtual interface & all dependent objects )  in a development client ( client- A ) of a ECC5.0 instance.
    Now, we have another client ( client-B ) in the same server that we want to release the webservice for SOAP runtime. ( reason is that the webservice is not available at runtime in this client-B client )
    This client-B has status - non-modifiable and hence cannot use WSCONFIG --> create option to release it for runtime.
    How do we release this webservice definition to client - B . I tried a SCC1 transaction on client-B pointing to the transport that contains the WS definition in client-A. I got dictionary errors indicating that the WS definition objects are all client independent.
    Is there something I am missing ? Any thoughts/similar experiences shared is appreciated.

    Good to hear it worked out for you. But like I already said, I haven't experienced anything like this, but for similar problems this is exactly what we did to solve it. But you're probably right, that this is no long term solution. There should be another way of doing this, but no experience in that field expertise.

  • Problem:100 % cpu usage with tcp server dll

    Hello,
     I am trying to write a dll with labwindows/cvi that allows me to create a TCP Server. This dll is integrated in labview.I created this Dll with example provides by Labwindows/cvi(rtserver.dll).
    Description of my problem: when i execute this dll in a "While Loop" in labview,the TCp server wait a connection and 100% cpu usage occurs. However when a client is connect to the server,the CPU is normaly used because the program stop when he meets the timeout of the tcpread() function. I would like to know how i could limit CPU usage  when the server is awaiting a client in the labview "While loop".
    I know I could use a DELAY() to limit Cpu usage ,but I would like to know if there are any others solutions.
    thank you.

    i dont know your exact application, but i generally use Q to transfer data to TCP loop in my prgram it helps me in two ways.
    1. it automatically restricts the iteration when ther is no data (Less CPU Usage, Less Unnecessary Trafic)
    2. Q can eliminate problems arising due to non synchronization of loop
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Could not find the main class - Problem with Webservice-Access

    Hello Everybody,
    I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
    I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
    I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
    Now I do this:
    Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
    Head_t service = serviceLocator.getRPCCall();
    RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
    All this works very well.
    Now the Problem:
    Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
    If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
    Could not find the main Class - Program will exit.
    And if i add a throws Declaration to the Methodheader it tells me:
    Fatal Exception Occured - Program will exit
    But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
    All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
    Please Help me.
    Greets,
    Zap

    I am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
    This is my MANIFEST.MF file created under META-INF folder
    Manifest-Version: 1.0
    Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Main-Class: Ui_MainWindow
    When i extracted the app.jar following this i got
    1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
    2. qtjambi-4.4.3_01.jar
    3. qtjambi-win32-msvc2005-4.4.3_01.jar
    4. Ui_MainWindow.class
    Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id ..

  • Problem exporting webservice document/literal in Weblogic Workshop 10.3

    While migrating an applications from Weblogic 8.1 to Weblogic 10.3 and facing a problem with one webservice, the others webservices have been migrated without any problems.
    When try to export and deploy the webservice getting the following error:
    Exception in DocumentoCompulsado
    com.bea.control.ServiceControlException: Unable to retrieve ServiceClass for WSDL at path wsdl/CompulsaWSSOAPControl_CompulsaWSWsdl.wsdl, service CompulsaWS for control wsdl.CompulsaWSSOAPControl from cache[com.bea.control.servicecontrol.util.ServiceClassCacheException: Unable to restore ServiceClass from resource wsdl/CompulsaWSSOAPControlServiceClassMemento.ser, service CompulsaWS for control wsdl.CompulsaWSSOAPControl]
    Caused by: com.bea.control.servicecontrol.util.ServiceClassCacheException: Unable to restore ServiceClass from resource wsdl/CompulsaWSSOAPControlServiceClassMemento.ser, service CompulsaWS for control wsdl.CompulsaWSSOAPControl
    ... 50 more
    Caused by: com.bea.control.servicecontrol.util.memento.ServiceClassMementoException: Could not load the following resource file: wsdl/CompulsaWSSOAPControlServiceClassMemento.ser. There are two possibilities why this would occur. The first is that you are trying to run a 9.0 version of the service control. In this case everything should still work fine and you can ignore this exception. The other case is that the resource file is not in the proper location of the classpath. It should be in the same directory as the service control interface class. You might have to change your build scripts to make this work out for you. The resource file is generated during control assembly time and needs to be moved to the same directory as the service control interface class.
    Trying to deploy the webservice, Weblogic fails telling that there is not a file named wsdl/CompulsaWSSOAPControlServiceClassMemento.ser and it is true, that file is not in the file we are trying to deploy. So the problem seems to be in Workshop which is not including the file required.
    Looking for differences between this webservice and the others, realized that this webservice has declared, in its WSDL file, the document-literal binding and the others have rpc-literal.
    Found a workaround. The webserice is called by using a ServiceControl. If the Service Control is type rpc, the webservice is exported and deployed without any problems, but if we use xmlbean option the webservice could not be deployed, the .ser file is not generated. I think this is reasonable because .ser files are relationed with xmlbeans.
    Is it a known issue? if yes, could you please tell me the bug/CR number?

    I am getting the same error, but another situation; I have generated an EAR file, it works perfectly in one machine but I am getting this error in another.
    Unable to retrieve ServiceClass for WSDL at path com/nononononon/nono/nono/services/SearchServices.wsdl, service SearchServices for control com.nononononon.nono.nono.services.SearchServicesServiceControl from cache[com.bea.control.servicecontrol.util.ServiceClassCacheException: Unable to restore ServiceClass from resource com/nononononon/nono/nono/services/SearchServicesServiceControlServiceClassMemento.ser, service SearchServices for control com.nononononon.nono.nono.services.SearchServicesServiceControl]
    I have searched the web without finding an resolution, exploding my EAR I see that I have the
    *ClassMemento.ser
    in the same folder as my service control. As I said before it works in one machine but not in another.
    Does anyone have any idea what is going on?
    PS: I have stooped the server where I am getting this error and cleaned tmp and stage folder. No success.
    The full stack trace looks like this
    [2012.01.03 13:07:39] - [286821] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [FATAL] - com.bea.control.ServiceControlException: Unable to retrieve ServiceClass for WSDL at path com/nononono/nono/nono/controls/MarketingOffers.wsdl, service MarketingOffers for control com.nononono.nono.nono.controls.MarketingOffersServiceControl from cache[com.bea.control.servicecontrol.util.ServiceClassCacheException: Unable to restore ServiceClass from resource com/nononono/nono/nono/controls/MarketingOffersServiceControlServiceClassMemento.ser, service MarketingOffers for control com.nononono.nono.nono.controls.MarketingOffersServiceControl]
         at com.bea.control.servicecontrol.impl.ServiceControlImpl.getServiceClass(ServiceControlImpl.java:1734)
         at com.bea.control.servicecontrol.impl.ServiceControlImpl.invoke(ServiceControlImpl.java:524)
         at com.nononono.nono.nono.controls.MarketingOffersServiceControlBean.getQualifiers(MarketingOffersServiceControlBean.java:309)
         at com.nononono.nono.nono.services.MarketOffers.getQualifiers(Unknown Source)
         at com.nononono.nono.nono.services.MarketOffers.GetQualifiers(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:112)
         at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:84)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: com.bea.control.servicecontrol.util.ServiceClassCacheException: Unable to restore ServiceClass from resource com/nononono/nono/nono/controls/MarketingOffersServiceControlServiceClassMemento.ser, service MarketingOffers for control com.nononono.nono.nono.controls.MarketingOffersServiceControl
         at com.bea.control.servicecontrol.util.ServiceClassCache.insertEntry(ServiceClassCache.java:140)
         at com.bea.control.servicecontrol.util.ServiceClassCache.getServiceClass(ServiceClassCache.java:75)
         at com.bea.control.servicecontrol.impl.ServiceControlImpl.getServiceClass(ServiceControlImpl.java:1718)
         ... 30 more
    Caused by: com.bea.control.servicecontrol.util.memento.ServiceClassMementoException: Could not load the ServiceClassMemento from the following resource file: com/nononono/nono/nono/controls/MarketingOffersServiceControlServiceClassMemento.ser. This is probably due to a versioning issue and if the developer was astute when they made the change then this should not be the reason. Another possibility is that this resource has become corrupt. The good news is a rebuild of your app should fix it.
         at com.bea.control.servicecontrol.util.memento.ServiceClassMementoUtil.loadServiceClass(ServiceClassMementoUtil.java:77)
         at com.bea.control.servicecontrol.util.ServiceClassCache.insertEntry(ServiceClassCache.java:96)
         ... 32 more
    Caused by: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -9120448754896609940, local class serialVersionUID = 4418622981026545151
         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at java.util.HashMap.readObject(HashMap.java:1159)
         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at com.bea.control.servicecontrol.util.memento.ServiceClassMementoUtil.loadServiceClass(ServiceClassMementoUtil.java:69)
         ... 33 more
    [2012.01.03 13:07:39] - [286835] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [DEBUG] - e.save()finished
    [2012.01.03 13:07:39] - [286835] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [FATAL] - >>ESB.MarketOffers.GetQualifiers:GetQualifiers Webservice
    [2012.01.03 13:07:39] - [286835] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [DEBUG] - >> Duration 15
    [2012.01.03 13:07:40] - [288220] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [INFO ] - getGlobalAlertList().start
    [2012.01.03 13:07:40] - [288232] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [INFO ] - getGlobalAlerts().start
    [2012.01.03 13:07:40] - [288234] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [INFO ] - getGlobalAlerts().end
    [2012.01.03 13:07:40] - [288234] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [INFO ] - getGlobalAlertList() event logging error.null
    [2012.01.03 13:07:40] - [288234] [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [INFO ] - getGlobalAlertList().end
    [2012.01.03 13:08:04] - [312812] [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [DEBUG] - >>>MSC message consuming timed out!
    [2012.01.03 13:08:04] - [312812] [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [DEBUG] - Before consume MSC Message!
    Edited by: vkonrad on Jan 3, 2012 10:19 AM

Maybe you are looking for