ActionScript Web Service Never Reports Ready

Hi,
I have a web service running where I can see the wsdl via the browser but the SWF never gets there.
The SWF is deployed on the same Tomcat server where the WSDL is. The SWF is being loaded on facebook. However, it is loaded via an iframe so it should not be a cross domain issue (right?). Please tell me what I am doing wrong in the following code. Any help is very much appreciated. service.ready never returns true and my Map keys are all null. I see no logs in Apache from where the SWF has gotten the WSDL (although I do see log entries from where I have put the WSDL address in my browser).
    public class UIServiceCalls
        private var serviceLocation:String = "http://blah/service?wsdl";
        private var service:WebService;
        private var operation:AbstractOperation;
        private var operationArgs:Object = new Object();
        private var serviceStarted:Boolean = false;
         * Default constructor starts the service that is added as a static member
         * to this object.
        public function UIServiceCalls()
            startService();
         * This is where the service starts up. Messages added so you can see what is happening in the UI.
        private function startService():void {
            if(service == null) {
                service = new WebService();
                service.loadWSDL(serviceLocation);                               
            if(!service.ready) {
                Alert.show("Service is not ready: ");
            if(service.ready) {
                serviceStarted = true;
         * Sets the code upon log in and gets back the web service Object. Object
         * contains Object.xxx and Object.yyy.
        public function getUserInfo(c:String, i:String):Object {
            if(!serviceStarted) {
                startService();
            operation = service["getUserInfo"];           
            operationArgs.c = c;
            operationArgs.i = i;
            operation.arguments = operationArgs;           
            return operation.send().result;           

I finally got the SWF to at least request the web-service. I can see it in the logs of my Tomcat server:
00.000.00.000 - - [18/Nov/2010:19:12:32 -0600] "GET /blah/service?wsdl HTTP/1.1" 200 2950
The SWF finally got the service, but I'm still getting null responses, the service is still never reporting ready and it is certainly never returning anything. I can see the wsdl if I go to it in the browser. I can see that the web-server is responding to the SWF with it and has a status message of "200". Can anyone give advice on what could possibly be wrong?
private function startService():void { 
if(service == null) {service =
new WebService(); 
//service.loadWSDL(serviceLocation);
service.wsdl = serviceLocation;
service.loadWSDL(serviceLocation);
service.initialize();
var a:Array = service.headers; 
var h:String = ""; 
for(var i:uint = 0; i < a.length; i++) {h = h +
" " + String (a[i]);}
Alert.show(
"Headers: " + h);}
if(!service.ready) {Alert.show(
"Service is not ready: ");}
if(service.ready) {serviceStarted =
true;}
FYI, when I did not set service.wsdl and then call service.loadWSDL as you see above, the wsdl was never requested from Tomcat. All that happens when I run the above is I get "Headers: null" and "Service is not ready" - I get "Service is not ready" twice due to the method that runs directly after this one. That is where I try to get service values. But, since I apparently have no service, I never get any values...
 public function getUserInfo(c:String, i:String):Object { 
if(!serviceStarted) {startService();
operation = service[
"getUserInfo"];operationArgs.c = c;
operationArgs.i = i;
operation.arguments = operationArgs;
return operation.send().result;}

Similar Messages

  • "Relevant Only" attributes in web service decision report

    Is there a way to only get "Relevant Only" attributes evaluation in a web service decision report especially leveraging the Siebel Connector. I noticed that whether we could "Base" or "Full" the decision report contains more items than we would notice in the OPM debugger.
    Is there a way to trim it down?

    As of OPA 10.4.0, the assess service will now only return relevant attributes in the decision report for an unknown attribute. For backwards compatibility, all assess services prior to 10.4 will continue to include all related attributes in the decision report.

  • Are the WLS 9.1 Web Service Ant Tasks ready for prime time?

    I am trying to create a Proof of Concept (POC) for Enterprise and B2B Services at Wendy's Int'l, Inc.
    As part of this POC, I created a WSDL for an in-house service and then used the wsdlc and jwsc Ant Tasks to translate this WSDL to Java classes and ultimately (I hoped) a deployable services.
    In this document, I describe the issues I encountered setting up what I consider to be a simple POC.
    I'll try to attach my WSDL file and build.xml so you can follow along.
    I'll also try to attach my CSS file so you can compare how the generated WSDL appears in the Browser to the way I want it to appear.
    If attachments are not allowed on these forums, then I will wait and see if there is interest in those documents before I paste them under this topic.
    Some preliminary information about my environment.
    Environment:
         Windows XP Pro SP2
         WebLogic 9.1
         Java 1.5.0_04
    Service Name:
         AppRelease
    Note: If I modify my WSDL (perhaps to add a new Operation or to change the definition of an element) and run wsdlc again, the AppReleaseSOAPPortImpl.java file is overwritten For this reason, I implemented my service logic in a class called AppReleaseServiceImple.java.
    Now, for the issues.
    1.     Bug:
    In the WSDL generated by wsdlc, the wsdl:part child of the wsdl:message tag is erroneously prefixed with a colon.
    This occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    2.     Bug:
    In the WSDL generated by wsdlc, the wsdl:input and wsdl:output children of the wsdl:operation child of wsdl:portType tag are erroneously prefixed with a colon. Like 1 above, this occurs whether or not I specify a prefix for the http://schemas.xmlsoap.org/wsdl/ namespace.
    Work around: Extract the wsdl from the jar file, fix it and add it back into the jar.
    The error message generated by Bugs 1 and 2 is not helpful in diagnosing the problem:
    [jwsc] Error at line:46 col:7 ':' expected [?! -- [CDATA[ ]
    3.     Bug:
    In the WSDL generated by wsdlc, the documentation elements have all of my html elements stripped out, as well as my xhtml and wsdl namespace references. This completely negates one of the best features of the documentation tag, being able to present the WSDL in a browser as a nicely formatted, human friendly document which is also the underlying WSDL that can be viewed when the person views the source document.
    I label this as a bug because it greatly reduces the functionality of the resulting WSDL.
    4.     Annoyance:
    The WSDL generated by wsdlc has all of my comments stripped out, except the comments in the xsd:schema section of the wsdl:types element. I would prefer that all my comments be left in the WSDL, but if comments must be stripped out then I think all of the comments should be stripped out.
    5.     Annoyance:
    The WSDL generated by wsdlc has my CSS specification stripped.
    Work around: I don’t know if adding the CSS back will do any good because I have not yet created a deployable service (see the last issue below).
    6.     Annoyance:
    The WSDL generated by wsdlc has different namespace prefixes than the ones I specified for my application's namespace and for the http://schemas.xmlsoap.org/wsdl/soap/ namespace.
    Work around: Perform a find/replace on namespace prefixes "s0" and "s1" to return them to my prefered values.
    Another thing I can do at this point is simply replace the generated WSDL in the jar file with my original WSDL. This would address issues 1 thru 6 above.
    7.     Annoyance:
    The java source files created by wsdlc are put into a jar file. This makes it annoying when working within a traditional IDE like Eclipse because there is no way to reference the source files within the jar as working source.
    Work around: Extract the source files from the jar and identify the resulting directory structure as part of the source structure of the project.
    8.     Bug:
    The jwsc task complains if the same parameter name is used in multiple operations. I received the following Errors from jwsc:
    [jwsc] C:\IDE\workspace\Acre-WL9.1\AppReleaseSOAPPort.java 0:0
    [jwsc] [ERROR] - Parameter element "{http://acre.services.wendys.com/AppRelease/}garRequest" is not unique across document/literal bare WebService.
    Since the operation names are unique, I see no reason to also require uniqueness in the parameter names used by those operations.
    Work around: Use unique element names for the input parameters of the services operations.
    9.     Bug:
    Once items 1, 2 and 8 above are taken care of, jwsc fails with the following error:
    java.lang.AssertionError: java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.ApplicationBeanImpl
    This seems to be due to the weblogic.jar file not being in the System Classpath.
    However, I should note that when I set verbose="on" and debug="on" in the jwsc ant task, there was a message from the task which stated "[jwsc] [search path for class files: [big freakin’ jar list]". In the big freakin’ jar list, I did find weblogic.jar and weblogic.jar has the required ApplicationBeanImpl. This indicates to me that the jwsc task does not fully honor either its classpathref attribute, nor an embedded classpath element.
    Work around: Make sure the weblogic.jar is in the System Classpath.
    10.     Bug:
    I fixed bug #9 by running a setDomainEnv script and then ran my ant task. This time I received the following output:
    ant build-serviceBuildfile: build.xml
    build-service:
    [jwsc] 1 JWS files will be processed.
    [jwsc] Processing JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java
    [jwsc] JWS: C:\IDE\workspace\Acre-WL9.1\src\com\wendys\services\acre\AppReleaseServiceImpl.java Validated.
    [AntUtil.deleteDir] Deleting directory <some temporary directory>
    BUILD FAILED
    java.lang.ExceptionInInitializerError
    At this point, I am completely stymied about how to proceed.
    I wonder what new issues await once this 10th issue is addressed.
    Really, is this tool set ready for prime time?

    <i>Sorry to hear you are having so many issues with using the WLS 9.1 web service Ant tasks, inside of Eclipse.
    I generally create a User Library for the couple weblogic jars needed, and use it (the User Library) in my Eclipse projects that I create JWSes in.</i><br>
    I also have a separate WebLogic Library in Eclipse (actually 2 libraries since I work with WL 8.1 and now WL 9.1). As you may know, one of the long-standing issues with the Ant integration within Eclipse is the fact that Ant, being an External Tool, does not receive the Project-specific Paths/Libraries. However, since most Java-relevant Ant tasks can take classpath and classpathref attributes, this is usually not an issue. In the case of the BEA-supplied wsdlc Ant task, it is apparent from the verbose/debug console output that wsdlc can see the jars in its classpathref, but it ignores those references when resolving class references and instead only uses the system classpath.
    <p>
    <i>I've only needed the weblogic.jar and xbean.jar, not all the ones you mentioned in an earlier thread of this post.</i><br>
    I have not tried to winnow down exactly which jars are required. I simply included all the jars that exist and were added to the system classpath by the setDomainEnv.bat file created by WebLogic 9.1.
    <p>
    <i>Afterwards, I create an Ant Builder to build the JWS Web Service EAR, as opposed to fiddlin' with Eclipse.</i><br>
    I too use Ant to build my deployable archives. Eclipse is simply my IDE of choice. I validated that all the issues I listed occurred when running Ant from the command line.
    <p>
    <i>If you are interested in how I do it, send me an e-mail (to [email protected]), and I'll send you a zip of one of these JWS projects. The build.xml script for the project, takes care of a lot of the "annoyances" you mentioned, one of which I think is not accurate. I have never had a situation where the wsdlc Ant task "overwrote" my XXXImpl.java file..</i><br>
    Since I'm doing a POC to determine how we want to proceed with developing Web Services and an SOA in general, I tried to perform the same tasks using Axis 2 1.0, the WebLogic 9.1 tools, and XFire 1.1. Overwriting the Impl class is a common failing in the tools which take a WSDL and create Java source files for all three frameworks.
    <p>
    Try my scenario. Add another operation to an existing WSDL, and run the wsdlc Ant Task. The old IMPL class will be over-written.
    <p>
    Because of this, I have a separate Impl class and I make sure that all its methods and annotations match the methods and annotations in the Skeleton Impl class created by wsdlc.
    <p>
    <i>Maybe that's because I use the <exec> Ant task with jar.exe (the xvf options) in my build.xml, to only get what I need out of the .jar/.zip the wsdlc generates. I'm typically only interest in the interface class that my XXXImpl.java file needs to implements, because I use XMLBeans for the input args (and return values) of my web service operations.</i><br>
    Perhaps. I am not using XMLBeans in any of the three frameworks because the resulting service seems to be lighter-weight in all three frameworks if XMLBeans is not used. I'm sure there will be scenarios where XMLBeans is preferred, but I have not encountered that case in this POC.
    <p>
    <i>Regards,
    Mike Wooten</i>
    Thanks for the follow-up.
    Mike McAngus

  • Web service testing - report using web service

    Hallo everybody,
    I tried to setup a report with a web service.
    I tested my web service under shared components and the result shows the following error:
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>Caught exception while handling request: XML reader error: unexpected character content: " xmlns:ns1="http://www.oracle.com/webservices/internal/literal""</faultstring>
    </env:Fault>
    My web service return an ArrayList<String>. Is an ArrayList<String> not supported or contains my result a wrong character like an "@"?
    thank you in advance
    regards
    Michael87

    After a while I found out, that the SOAP message format "Document/Wrapped" was the problem.
    I setup RPC/Literal in my jDeveloper and then it worked.

  • Web Service scedule report NUll pointer Error

    I've managed to use the web service to scedule my report.
    The web service completes and mails the output but the final status is failed due to this error:
    System Message java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.Util.getLocale(Util.java:127)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:596)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Anyone any ideas why?

    This is the call to the web service, I've just changed the email accounts for this example.
    String username = "Administrator";
    String password = "Administrator";
    String reportAbsolutePath = "/Burst/BURST to EMAIL/BURST to EMAIL.xdo";
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportAbsolutePath);
    DeliveryRequest devRequest = new DeliveryRequest();
    ScheduleRequest schedRequest = new ScheduleRequest();
    schedRequest.deliveryRequest = devRequest;
    schedRequest.scheduleBurstringOption = true;
    schedRequest.notifyWhenFailed = true;
    schedRequest.notifyWhenSuccess = true;
    schedRequest.notifyWhenWarning = true;
    schedRequest.notificationTo = "###@***.org.uk";
    schedRequest.reportRequest = repRequest;
    schedRequest.saveDataOption = false;
    schedRequest.saveOutputOption= false;
    schedRequest.schedulePublicOption= false;
    schedRequest.useUTF8Option = false;
    schedRequest.userJobName ="BURST to EMAIL";
    schedRequest.repeatInterval =0;
    schedRequest.repeatCount =0;
    myPort.scheduleReport(schedRequest,username,password );

  • Office 365 - Reporting web service - CsConference* report TotalConferences value clarification

    Site Map: Office development > Office 365 > Reporting web service > Reference > Lync reports > CsConference*
    report<o:p></o:p>
    In Office 365, Lync Conferences
    Report.
    Field - "TotalConferences" is the number of conferences of all types
    in the reporting period. The sum of other conference type (IM, Audio/video, App
    Sharing, Web, dial-in) count doesn't equal/match the Total Conference count.<o:p></o:p>
    In the attached screen shot for a reporting period.
    IM Conference Count : 197
    Audio/video Conference Count : 67
    Application sharing Conference Count : 68
    Web Conference Count : 10
    Dail-in Conference Count : 5
    The sum of the above conference type is 347. In the report
    "Total Conference" count is displaying it as 268.<o:p></o:p>
    why is the difference?
    <v:shape
    alt="http://social.technet.microsoft.com/Forums/getfile/533351" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:284.25pt;height:300.75pt;" type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]"
    src="file:///c:\Temp\msohtmlclip1\01\clip_image001.png">
    </v:imagedata></v:shape>

    That document is pretty old last modified March 2013 so I would say it's out of date. The reporting services are still pretty new in the current release I believe 7 days is limit for the Rest Endpoint and the Get-MessageTrace cmdlet (which is what
    the more recent documentation around message tracking say) there is no REST endpoint for Start-HistoricalSearch you can see all the current endpoints by looking at the Metadata via
    https://reports.office365.com/ecp/reportingwebservice/reporting.svc/$metadata
    These services are evolving so new features and reports are added which is explained in
    http://msdn.microsoft.com/EN-US/library/office/jj984346(v=office.15).aspx . But there is no public information on Timeframes and what reports and features are going to be added in future updates (that I know of). If you need data older then
    7 days then Automating the HistoricalSearch cmdlets would be the way to do it for now.
    Cheers
    Glen
     

  • Urgent: System.OutOfMemoryException in SQL Reporting Services 2005 Web Service

    Hi All,
    On a production server box with 8GB of RAM, we are running a windows service which retrieves image format bytes of a particular report which results in pages ranging from 10 to 300 using Reporting Services 2005 Web Service.
    Problem is when image bytes are being retrieved by using Render method for a report with more than around 30-40 pages,
    Report Web Service throws an exception of type System.OutOfMemoryException. This does not happen with reports with smaller pages. Please note that we are retrieving high DPI image and we have no option but to do so.
    Since the production server has 8 GB of RAM and we have even enabled the 3GB switch in boot.ini of Windows Server 2003, This problem still exists.
    I have already read the contents of the article http://support.microsoft.com/kb/909678 but as i mentioned even the large physical memory does not seem to help and shortening the report is not an option.
    Also note that large number of records is also not a problem as our application works fine when we generate excel files instead of images.
    Follwing is the detailed exception that we receive.
    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
       at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
       at System.Text.StringBuilder.set_Capacity(Int32 value)
       at System.Xml.BufferBuilder.ToString()
       at System.Xml.XmlTextReaderImpl.ParseText()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlTextReader.Read()
       at System.Xml.XmlTextReaderImpl.InitReadElementContentAsBinary()
       at System.Xml.XmlTextReaderImpl.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
       at System.Xml.XmlTextReader.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
       at System.Xml.Serialization.XmlSerializationReader.ReadByteArray(Boolean isBase64)
       at System.Xml.Serialization.XmlSerializationReader.ToByteArrayBase64(Boolean isNull)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReportExecutionService.Read34_RenderResponse()
       at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer25.Deserialize(XmlSerializationReader reader)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
       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 ReportExecution2005.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)

    Hi Hameer,
    This error might be caused by the memory limit.  There are two settings that will affect the memory configuration.
    When you render a report through the Reporting Services Web service, the Reporting Services Web service obtains the "MemoryLimit" setting from the Machine.config file. 
    A scheduled report is rendered by the Report Server Windows service. The Report Server Windows service obtains the "MemoryLimit" setting from the RSReportServer.config file.
    These values represent a percentage of physical memory. You can adjust them to change the memory limit.
    If there are any more questions, please let me know.
    Thanks.

  • SQL 2012 R2 - SSRS with the Report Server Web Service URL, can't access

    Hello:
    I am installing Dynamics CRM 2013.  When I am on RS Configuration manager; I am running into the SSRS (SQL 2012 on Server 2012)SQL issue, can't access the
    http://servername/:80/ReportsServer or
    http://servername/:Reports web pages
    The database server has SSRS native mode installed, it is using a domain account for the service credentials.  This account also has permission to log on a service in the GPO
    Account is a domain admin and is a local administrator
    SQL server is 2012 R2 on Windows Server 2012.  User base is less than 60 people and they have SharePoint 13 on the same SQL server.  Server more than enough resources.
    Any assistance would be appreciated.
    Thanks..Dan

    Hi DCas1,
    According to your description, you could not access
    http://servername/:80/ReportsServer or http://servername/:Reports web pages from Reporting Services configuration manager, SSRS in configured in native mode and the account you used is a local administrator.
    In Reporting Services, URLs are used to access the Report Server Web service and Report Manager. Before we can use either application, we need to configure at least one URL each for the Web service and Report Manager. If we are using the Reporting Services
    Configuration tool to create or modify the URLs, we can accept the default values for a URL or specify custom values. When we create a report server URL, we must specify the following parts: Host name, port and Virtual directory. In order to improve the efficiency
    of troubleshooting, I need to ask several questions:
    Since the default URL is http://<computername>/reportserver, did you type the URLs manually? or the URLs configured in Reporting Services configuration manager are
    http://servername/:80/ReportServer and
    http://servername/:Reports?
    Could you provide detailed information of error log(default location: %programfiles%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles)?
    For more information about Configuring a URL, please refer to the following documents:
    http://msdn.microsoft.com/en-us/library/ms159261(v=sql.110).aspx
    http://msdn.microsoft.com/en-us/library/bb630447(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Web Service Request Collection/Complex Objects doesn't work

    I am unable to call a .net web service using Adobe LiveCycle Designer 8.0. My test web service accepts either a complex object or a collection of the same object.
    EX)
    [WebMethod]
    public string CostChange(CostChangeNotificationItem change1, CostChangeNotificationItem change2)
    return "Success";
    [WebMethod]
    public string CostChangeColl(CostChangeNotificationCol changes)
    return "Success";
    I can successfullly create the connection to the web service. When i drag and drop the connection request/button/and response onto the designer i can call the web service successfully.
    However you never see the request objects on the form unless you change the subforms to flowed and the min and initial count of the object to 1. When this is done the web service never gets called. You can click the button until you are blue in the face with no successful call.

    Hello ,
    our problem was a result of a corrupt database. Please check the Log files in CUCM . have a look for "missed table entries "
    cli
    utils dbreplication repair
    check logs again    the path to the log is displayed after the repair.
    hope it helps
    good luck

  • Complete newbie question - Can BI consume web services?

    Post Author: Steve Lamont
    CA Forum: Data Integration
    I am working on a new client site working on integration between a whole slew of systems including CRM, billing, BI etc.  The client is architecting a SOA oriented approach to all integration where it make sense.  As part of the effort, a new BI database is being built and loaded via some ETL tool.  The primary interface to access this new BI data will be business objects (BO).  Now, in the current environments, there are multiple, disparate BI systems containing various data.  The BO knowledge person (and he is not a business object employee) on this site is claiming that to access these other BI databases, he wants to do it by sending out requests via service calls.  I fully understand that BO itself can be set up to be a service provider and provide services for other consumers to take advantage of, but how does BO itself consume services provided by other applications?
    Obviously I don't fully understand BO, but my initial inclination is that this approach is wrong.  If data is required from these other BI source, wouldn't they be configured as data sources within business objects?  This BO guy claims that calling web services is more efficient that direct peer-to-peer calls via the database drivers.
    Can any share some comments on this situation?

    Post Author: bhofmans
    CA Forum: Data Integration
    You posted your question to the wrong forum, please try to post it to one of the subforums in "Enterprise Reporting, Query & Analysis".
    This forum is about Data Integrator, Business Objects ETL tool.
    I'll try to answer your question anyway with my reporting background From what I know, YES we can consume web services in reports (Crystal reports), but for larger volumes of data a direct access to the database would be faster. A webservice approach might make sense if the webservice implements some business logic (semantic layer) which would be easier then to go directly to the tables.
    And just for the record : also Data Integrator can consumer web services...

  • Asynch web services having serialization problem wint 7.0SP1

    Hi,
    I've tried creating a simple async web service that sends a Java bean to a web
    service that's implemented
    as an MDB. i.e. The java bean is of type malcolm.AimosMatchedRequest and is therefore
    delivered as
    an ObjectMessage.
    I keep getting a deserialising error listed below in the Weblogic log.
    Now if I do a serialver on my Javabean class I get the value 6661344068394585445
    in agreement with the log for the stream classdesc. I therefore presume that
    the
    local class, is the server view which I guess is the SOAP unmarshaled/generated
    class that
    WebLogic is expecting???
    How do I deal with this problem? Note that explitiely forcing the serialuid in
    my Javabean class
    does not help, which to me confirms that WebLogic is geenrating some SOAP equiv
    class.
    regards
    --malcolm
    weblogic.jms.common.JMSException: Error deserializing object
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
    a:140)
    at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
    java:290)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    ----------- Linked Exception -----------
    java.io.InvalidClassException: malcolm.AimosMatchedRequest; Local class not comp
    atible: stream classdesc serialVersionUID=6661344068394585445 local class serial
    VersionUID=7727103220180333880
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:5
    18)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
    :931)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
    a:128)
    at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
    java:290)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    weblogic.jms.common.JMSException: Error deserializing object
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
    a:140)
    at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
    java:290)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    ----------- Linked Exception -----------
    java.io.InvalidClassException: malcolm.AimosMatchedRequest; Local class not comp
    atible: stream classdesc serialVersionUID=6661344068394585445 local class serial
    VersionUID=7727103220180333880
    at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:5
    18)
    at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
    :931)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
    a:128)
    at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
    java:290)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

    Bruce Stephens <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    Hi Malcolm,
    <p>There's been a significant amount of work done on async services in
    conjunction with reliable ws messaging that will be available in the
    next
    release.
    <p>Can you/your customer be part of the upcoming beta?Certainly keen to participate. I presume from what you've said that SP1 is still
    problematic for async. I've found that SP1 seems pretty good for synch web services
    (addressed issues I had with 7.0).
    regards
    --malcolm
    <p>Thanks,
    <br>Bruce
    <p>Malcolm Robbins wrote:
    <blockquote TYPE=CITE>Wow,
    <br>  based on no replies it appears that no one is actually using
    asynch web services.
    <p>It looks like I better recommend to my (large bea customer) that WebLogic
    async
    <br>web services are not ready for prime time...
    <p>regards
    <p>--malcolm</blockquote>
    </html>

  • NullPonterException while executing web service

    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta. If I
    try to use JMS-XML method of invoking web service, the whole process seems ok.
    My code in method of a web service executes without problems, but the service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263) at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by: java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    .. 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it ends with
    the response given above), but if I use a workshop platform, web service never
    starts. If I look at the jws.queue monitoring on weblogic console, I can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my weblogic
    domain doesn't accept the system property weblogic.webservice.verbose. When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which were put
    there into my start script by configuration wizard. The server runs in development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

    Please post this on the Workshop (WLW) newsgroup.
    Regards
    Shridhar
    "Srecko Mandelj" <[email protected]> wrote:
    >
    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta.
    If I
    try to use JMS-XML method of invoking web service, the whole process
    seems ok.
    My code in method of a web service executes without problems, but the
    service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at
    weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by:
    java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at
    com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    ... 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method
    and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it
    ends with
    the response given above), but if I use a workshop platform, web service
    never
    starts. If I look at the jws.queue monitoring on weblogic console, I
    can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my
    weblogic
    domain doesn't accept the system property weblogic.webservice.verbose.
    When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized
    property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which
    were put
    there into my start script by configuration wizard. The server runs in
    development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

  • Can not enable web services. printer on the network. default ip not connecting using auto ip

    B210 - have tried resetting defaults . default IP address will not connect to network with auto IP  had to set IP addrtess manually something similiar to the properties on the verzion hot spot. can not disable web services - never enabled.
    no Primary or secondary DNS server. not sure if this is problem. can print ok thru network.
    This question was solved.
    View Solution.

    Hey bobupton!
    Try going into the printer's EWS and using Google's public DNS servers (8.8.8.8 and 8.8.4.4). It sounds like you know what you're doing so I skipped a few steps on how to get there but if you need more help with it let me know!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Possible Bug: Web Service Results Collection Error

    Doing some testing with APEX 4.02 on our development area, and running into an error..
    Running a form/report built off of a web service reference, form prompts for an input, data is returned from web service to report just fine, but when I go into session view collections, I am given a report error: ORA-19011 Character string buffer too small.
    Is this a known issue with collections and web services? I can confirm this was NOT an issue in 3.2, since we have just updated to 4.02 in past 48 hrs..
    Thank you,
    Tony Miller
    Webster, TX
    I cried because I did not have an office with a door until I met a man who had no cubicle.
    -Dilbert

    Tony:
    Thanks for reporting the issue. There was a change in the session pop-up page to include reporting on the new xmltype column in collections. Unfortunately the wrong function is being called on the xmltype column to display its contents. This will be fixed in an upcoming release.
    Application Express 4.0 Web service support makes use of this new xmltype column in a collection. Therefore if you call a web service that returns a large XML document, and you click the session toolbar, you will receive the error.
    Regards,
    Jason

  • Using Oracle BI EE Web Services

    hi all,
    When I use Oracle BIEE 10.1.3.4 ,CHART MISSING WHEN DRILL DOWN FROM A WEB SERVICE INTEGRATED REPORT(Bug 10102579 is unresolved)
    When I use OBIEE 11G, Can show the report list and report content,but Don't show the Style and pictures.
    I troubled for a long time.
    Thank you for your help!

    which installation options did you choose?
    Some of the options don't install the services, so make sure you selected the complete installation.

Maybe you are looking for

  • Not able to download files like word, pdf etc from the mail and also in general google search.

    the download option in general is not working, not able to browse the folder for downloading. .using windows 7

  • Hrms implementation

    Hi, i want to learn about hrms module implementation in oracle ebs 11.5.10.2.i came to know that patching in differennt during hrms module implementation in oracle ebusiness suite.How does it differ from normal patching.please provide me the steps. A

  • Ovi maps doesn't accept my Nokia account user name...

    It was necessary to do an *#7370# reset on my phone, every things is fine now, except the point that I can't log on to Ovi from the maps application to get my maps favourites back to the phone. Maps doesn't accepts my user name anymore. I got an erro

  • Recovering partitions

    Well, I screwed up one of the HDDs that I have installed, causing the computer to not be able to recognize the filesystem type. The HDD was on sdb and had two partitions, one NTFS for Windows, and another Fat32 that I was storing media on. I did some

  • Page Peel Help Needed.

    Cheers, been struggling with this and would like to know if anyone can shed some light. I have a Page Peel here that works fine in a plain index.html with nothing except the peel on it: Here are the source and picture: The problem is when I try to ap