Deserializer error : could not find deserializer for type

Hi folks,
I am trying to send a XML file in web service request and trying to get the same back, I am getting the following exception while trying to do this,
org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
faultActor:
faultNode:
faultDetail:
     {http://xml.apache.org/axis/}hostname:localhost
org.xml.sax.SAXException: Deserializing parameter 'echo':  could not find deserializer for type {Echo}echo
     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
     at javax.xml.parsers.SAXParser.parse(Unknown Source)
     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
     at org.apache.axis.client.Call.invoke(Call.java:2767)
     at org.apache.axis.client.Call.invoke(Call.java:2443)
     at org.apache.axis.client.Call.invoke(Call.java:2366)
     at org.apache.axis.client.Call.invoke(Call.java:1812)
     at com.sel.services.EchoRequest.main(EchoRequest.java:42)
The following is my client code,
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
public class EchoRequest {
      * @param args
     public static void main(String[] args) {
          try {
                    String endpoint = "http://localhost:8080/axis/Echo.jws";
                    Service  service = new Service();
                  Call     call    = (Call) service.createCall();
                  call.setTargetEndpointAddress( new java.net.URL(endpoint) );
                  call.setOperationName(new QName(("Echo"),"DataHandler"));
                  QName qName = new QName("Echo" , "echo");
                  DataHandler dhSource = new DataHandler(new FileDataSource("D:/Workspace/Sandbox/Request.xml"));
                  call.registerTypeMapping(dhSource.getClass(),qName,JAFDataHandlerSerializerFactory.class,JAFDataHandlerDeserializerFactory.class );
                  call.addParameter("echo", qName , ParameterMode.IN);
                  call.setProperty(call.ATTACHMENT_ENCAPSULATION_FORMAT, call.ATTACHMENT_ENCAPSULATION_FORMAT_MIME);
                  call.setReturnType(qName);                 
                  Object ret = call.invoke(new Object[] {dhSource});
                    System.out.println();
                } catch (Exception e) {
                  System.err.println(e.toString());
                  e.printStackTrace();
     }The following is my jws,
import java.io.Serializable;
import javax.activation.DataHandler;
public class Echo implements Serializable{
     public DataHandler echo(DataHandler echo){
          return echo;
}The following is my deploy.wsdd,
<deployment     xmlns="http://xml.apache.org/axis/wsdd/"
                       xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
                       xmlns:ns1="Echo">
     <service name="Echo" provider="java:RPC">
             <parameter name="className" value="Echo"/>
          <parameter name="allowedMethods" value="echo"/>
          <operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler">
                 <parameter name="echo" type="ns1:DataHandler"/>
         </operation>
          <typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
               languageSpecificType="java:javax.activation.DataHandler" qname="ns1:DataHandler"
                  serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
       </service>
</deployment>And following is my server-config.wsdd,
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<globalConfiguration>
  <parameter name="sendMultiRefs" value="true"/>
  <parameter name="disablePrettyXML" value="true"/>
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory" value="D:\ApacheTomcat5.5.26\webapps\axis\WEB-INF\attachments"/>
  <parameter name="dotNetSoapEncFix" value="true"/>
  <parameter name="enableNamespacePrefixOptimization" value="false"/>
  <parameter name="sendXMLDeclaration" value="true"/>
  <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
  <parameter name="sendXsiTypes" value="true"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="session"/>
   </handler>
   <handler type="java:org.apache.axis.handlers.JWSHandler">
    <parameter name="scope" value="request"/>
    <parameter name="extension" value=".jwr"/>
   </handler>
  </requestFlow>
</globalConfiguration>
<handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
<handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<service name="AdminService" provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="false"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
<service name="Version" provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
</service>
<service name="Echo" provider="java:RPC">
  <operation name="echoString" returnQName="returnqName" returnType="ns1:DataHandler" soapAction="" xmlns:ns1="Echo">
   <parameter name="echo" type="ns1:DataHandler"/>
  </operation>
  <parameter name="allowedMethods" value="echo"/>
  <parameter name="className" value="Echo"/>
  <typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns2:DataHandler" serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" type="java:javax.activation.DataHandler" xmlns:ns2="Echo"/>
</service>
<transport name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
  <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
  <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
  <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
  <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
  <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
  <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
</transport>
<transport name="local">
  <responseFlow>
   <handler type="LocalResponder"/>
  </responseFlow>
</transport>
</deployment>The following is the directory structure which I have in my tomcat for this service
- axis
-----WEB-INF
----------classes
----------jwsClasses
----------lib
----------deploy.wsdd
----------server-config.wsdd
I am really not sure where I am getting wrong. Please help me with this.
Thanks
Edited by: Jadaaih on Jun 19, 2008 1:52 AM

Ok, this may not be your problem, but I was getting this error as well.
I had multiple services running, and I was able to use SOAP test clients and connect to them and get responses, no problem.
I wrote some client code to connect to one, and it worked just fine.
Then I wrote some client code to connect to the other, and I got an error like
faultString: org.xml.sax.SAXException: Deserializing parameter 'initiateIn':  could not find deserializer for type {urn:SOAPFulfillmentAPI}DoSomething
...I tore my hair out trying to figure out why a service that functions perfectly using other tests would fail in java. Then I realized I was pointing to the end point URL.
It looks like AJAX tries to deserialize the parameters before it does any of basic sanity check to see the method your looking for even exists (even in debug mode). So instead of getting a useful error like "Cant find method 'DoSomething' " you get some crap about not being able to understand the datatype for an arguement.
I hope this helps someone one day =)

Similar Messages

  • U401 touch windows 8 audio driver unable to install error could not find divice for this driver

    u401 touch windows 8  audio driver unable to 0wau05w8.exe install error could not find device for this driver
    kindly advise

    hi karthi2lenovo,
    Welcome to the Forums.
    If the conexant audio drivers from the lenovo website doesn't detect the device, can you try to:
    1. Open Device Manager (press Winkey+R > type devmgmt.msc)
    2. On the device manager, open Sound, video, and game controllers and Other Devices then check the status (if there's a yellow exclamation mark, error codes, etc.)
    3. As an alternative, try this conexant driver from station-drivers:
    Conexant High Definition Smart Audio
    Version 8.64.59.52 (Win8)
    Let me know your findings,
    neokenchi
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • RV120W [IKE] ERROR: Could not find configuration for X.X.X.X

    All
    I setup the RV120W to allow my MAC desktops to connect in over the internet. MAC;s are running IPSecuritas or VPNTracker. Both don't work.
    Setup is
    Basic VPN Setup Default Values for IKE:
    Gateway Policies
    Client Policies
    Exchange Mode:
    Main
    Aggressive
    ID Type:
    Local WAN (Internet) IP
    FQDN
    Local WAN (Internet) ID:
    Local WAN (Internet) IP
    remote.com
    Remote WAN (Internet) ID:
    Remote WAN (Internet) IP
    local.com
    Encryption Algorithm:
    3DES
    3DES
    Authentication Algorithm:
    SHA-1
    SHA-1
    Authentication Method:
    Pre-Shared Key
    Pre-Shared Key
    Key-Group:
    DH-Group 2 (1024 Bit)
    DH-Group 2 (1024 Bit)
    Lifetime:
    8 Hours
    8 Hours
    Basic VPN Setup Default Values for VPN:
    Encryption Algorithm:
    3DES
    Authentication Algorithm:
    SHA-1
    Lifetime:
    1 Hours
    PFS Key Group:
    DH-Group 2 (1024 Bit)
    NETBIOS:
    Enabled (Gateway Policies)
    Disabled (Client Policies)
    When my clients try and login. All I see in the logs is
    011-11-28 10:05:43: [rv120w][IKE] ERROR:  Could not find configuration for 212.183.140.51[65212]

    The error that you are getting that shows in the log file by the "pings being blocked" it refers to the connection being block by the firewall or security on your computer.
    Things that you should look for is: What type of internet security software you are using will a lot of the time block QVPN from working.
    With Windows 7 it has a lot of added security so the windows 7 Firewall has to be on because soon as the firewall is turn off or another firewall is loaded that turns off Win7 firewall, the Win7 OS turns off IPSEC and that is needed for quick VPN to work. Hope this has been helpful and gave you some more understanding.

  • Error:Could not find binding for QNameProperty - in WLS 11g-Plz help!!

    I have a WSDL containing complexType and simpleType. I generate the webservice from wsdl using JAX-RPC.
    When i deploy it in WebLogic 11g I get the error: Could not find binding for QNameProperty substringType :
    <xs:complexType name="SimpleTerm">
    <xs:sequence>
    <xs:element minOccurs="0" name="entityConstraint" type="xs:string"/>
    *<xs:element minOccurs="0" name="substringType" type="S5:substringTypeSimpleTermEnum"/>*
    </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="substringTypeSimpleTermEnum">
    <xs:restriction base="xs:string">
    <xs:enumeration value="beginswith"/>
    <xs:enumeration value="endswith"/>
    </xs:restriction>
    </xs:simpleType>
    My Observations:*
    If i remove the simpleType's i dont get any error.
    If i generate webservice from the same wsdl using JAXWS then the project gets successfully deloyed in WLS11g.
    Kindly help me in solving the problem using JAX-RPC.
    Edited by: 939488 on Jun 8, 2012 3:13 AM

    HI,
    Seems known issue. I would suggest to raise an Service Request with the test case.
    GD,
    Ashish

  • [ERROR] could not find source for resource bundle modules.

    We are in the process of upgrading our flex application from SDK3.6 to SDK4.5.0.17899.
    Flexmojos version used for compilation is 3.9.
    The flex library project is complied with SDK4.5.0 version but BUILD is not getting SUCESS from maven.
    The following is the reason is showing and unable to find out the root cause.
    [ERROR] could not find source for resource bundle modules.
    Can you please help me out.
    Thanks,

    Copying
    /Software/FB\ Eclipse\ Plugin/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/2.0.1/frameworks/locale/en_US/charts_rb.swc into
    the 3.5 SDK directory
    /usr/local/lib/flex_sdk/3.5.0/frameworks/locale/en_US
    solves the problem.
    Not sure why as the charts_rb.swc comes from Flex 2.0

  • Error: could not find source for resource bundle charts

    I am trying to upgrade from Flex SDk 3.4 to 3.5.
    I have copied the Data Visualisation SWCs under libs, locale and rlsls folders as suggested by adobe.
    I get the following error when building the application
    flex-library:
         [java] Loading configuration file /usr/local/lib/flex_sdk/3.5.0/frameworks/flex-config.xml
         [java] Error: could not find source for resource bundle charts.
         [java]
    What am I missing? Any help is highly appreciated.
    Thanks

    Copying
    /Software/FB\ Eclipse\ Plugin/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/2.0.1/frameworks/locale/en_US/charts_rb.swc into
    the 3.5 SDK directory
    /usr/local/lib/flex_sdk/3.5.0/frameworks/locale/en_US
    solves the problem.
    Not sure why as the charts_rb.swc comes from Flex 2.0

  • Error: Could not find file for old Adobe Reader Bundle

    We are running Zenworks 11.2.3a (just upgraded to this version last week) on a linux server. Today, I received calls from a number of users, their computers were displaying the following error message:
    Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.
    They are getting this pop-up message 2 times every time Zenworks refreshes.
    I tried to find this file on the Zenworks server but the directory does not exist on the server. In fact, I can only navigate as far as /var/opt/novell/zenworks/content-repo/tmp/zpm - there is only one folder in this directory named dauzip.
    Here is the error message from the zmd-messages.log on one of the workstations:
    [GenericActions.FileCouldNotBeFound] [Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.] [] [fd868047b8dda3fab8f372c803a2a4f3]
    Any idea what's causing this error or how to fix it?

    No idea what is causing this.
    To fix, maybe just delete the bundle and create a new one ?

  • Anyone have this error "could not find information for this machine" when re-installing Lion on a new Mini?

    as above
    anyone face the same problem and have a fix?

    What kind of Mini Mac is it ?
    Is it a PPC mini mac ?

  • Could not find the artifact type for property kind

    Team Foundation Server 2013 Update4  on Win Server 2008 R2, this message has suddenly started appearing.
    Team foundation error: Could not find the artifact type for property kind '77951f77-f29d-4a9b-8311-1b13e4b89c42'. The property kind was not properly defined.
    Last update installed was Update 4 on 17 Dec 2014, and at the time of install, everything was working well. I've re-applied update 4 in the hope it would resolve it, but the same error appears when I open the TFS console. Please help!
    Programming today is a race between software engineers striving to build bigger and better idiot- proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Hi Stunt, 
    Thanks for your post. 
    And thank you for sharing your experience here. It will be very beneficial for other community members having the similar questions.
    All your participation and support are very important to build such harmonious/ pleasant / learning environment for MSDN community.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SFTP Seeburger adapter - Could not find channel for report handling between

    Hello Friends ,
    We have R3 -> PI-> SFTP scenario . The messages are transferred successfully and the file is successfully received at the receiving end . But when we do communication channel monitoring , we see errors in Receiver CC . The Reciever CC contains SFTP adapter (Seeburger) . Recently the Seeburger adapter is upgraded and the below error has started occuring then onwards .
    Error Message which we see in CC monitoring for Receiver CC (SFTP) is as below .
    Initiation of Transmission Report( job id: da405030-30c6-11df-8b6e-797b8921162c milestone: 290) failed! Exception occured: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) - com.seeburger.xi.connector.fw.ConfigurationException: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) [3/16/10 8:40 AM]
    Could experts help me ...
    Thanks for your time .
    Regards,
    Laxman Nayak .

    Hi,
    I also have the error you mentioned but we're implementing the Seeburger SFTP adapter for the first time.
    I've requested transport acknowledgements in my ABAP proxy and have checked the 'Deliver transmission report' flag in the adapter but I don't know what else I must do.
    Any help would be greatly appreciated.
    Thanks,
    Alan

  • Error: Could not find compiled resource bundle 'components' for locale 'en_US'

    We are porting a fairly large body of Flex3 code developed under FlexBuilder 3 to Flex4 under FlashBuilder 4.  Most of the conversion appears to be working fine, with one exception.  When I launch the Flex4 version, all my data interchanges with the server works.  Just as it is about to show the UI, the following error occurs:
         Error: Could not find compiled resource bundle 'components' for locale 'en_US'
    I am actually using a locale of fr_FR, but I assume it couldn't find that, reverted to en_US, failed again and then barfed.  If I look in
         ~Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\fr_FR
    I see a lot of swc files, and of course no 'components.swc'.  I believe the problem is that our Flex3 code is using mx components, and the compatibility mode is not properly handling it for some reason.  I think this is mostly from our in-house UI library.  The properties for that library (and for my main app I am testing now) have:
         - Use default SDK (currently "Flex 4.0")
         - Use Flex 3 compability mode
         - Use minimum version (Flash Player) required by the Flex SDK
         - Enable strict type checking
         - Enable warnings
    I also tried putting the compatibility flag in the mxmlc compile line, with no change in behavior.  This project is built by the following script:
    ruby scripts/concat_properties.rb -o resources.properties ^
         src/main/flex/locale/fr_common/res_myname_fr_common.properties ^
         src/main/flex/locale/fr_common/scout/res_myname_scout_fr_common.properties ^
         src/main/flex/locale/fr_fr/res_myname_fr_fr.properties ^
         ../../scout/common/src/locale/fr_common/mypals/resources.properties
    mxmlc -locale=fr_FR -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    copy src\main\resources\bundles\mypals\fr_fr_resources.swf ^
         bin-debug\bundles\mypals
    What have I missed???

    You have two posts. I will try to answer each completely.  Second one first. You say I should change my build to include the framework resources.  I am afraid I am not sure which and what to do there.  We combine all our properties file into one large one, then use the following build line:
    mxmlc -locale=fr_FR,en_US -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    I am assuming you are telling me to change the "-include-resource-bundles" line, but what to add?  The "sdks\4.0.0\frameworks\locale\en_US" holds 13 swf files.  I tried adding that entire folder (along with the fr_FR folder) to the project library path (in the project properties dialog), but that made no change.  I also tried reverting the library path tab back to "MX Only" instead of "MX + Spark", but again no change.
    ====================
    For your first message, I did a search for 'spark' in the entire project.  It only existed on 3 lines, each at the start of css files:
        @namespace s "library://ns.adobe.com/flex/spark";
    I had put those in based on reading needed changes to naming in CSS.  Since I was not actually using any spark ('s') components yet, I removed these lines.  The entire project now does not have the word 'spark' anywhere in it. No change in behavior (as I expected).
    I did a search for "s:" throughout the project.  That does exist in probably 100 places, but all are legitimate. Things like (xmlns:mx="http://www.adobe.com/2006/mxml") or variable names ("var matches:Object").  No reference to any s: object.  (While on the topic, why does FlashBuilder still not have a "whole word" box to limit searches??).
    Note that when I first reported this problem, the compiler was set to ONLY support fr_FR.  In fighting this, I changed it to "en_US,fr_FR" hoping that would tell the compiler to load whatever en_US items it was looking for.  We really do not want any English support in this version. (We do have another SWF created with only support for en_US, and another for en_UK, etc.  Each language is a separate node on our server, so there is no need to mix & match at runtime)
    The console shows a lot of swf loads that I do not understand...
    The console output shows (my comments after ==> indicator)
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 2,229,992 bytes after decompression
                 ==> our locale is set here, after the above load and before the next line
    Look for name file at: ./data/fr_fr/names.csv
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 21,200 bytes after decompression
    Loaded 2278 names.       ==> indicates successful load of data retrieved from server
    Loaded 154 bad words     ==> our second data set has been retrieved and loaded
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 58,777 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 322,606 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\bundles\mypals\fr_fr_resources.swf - 595,025 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
        ==> not sure what this next warning means.  I'm guessing I will later have to research it and return to 'secure' comm with server, but I'm ignoring for now
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    Resource bundle loaded for locale fr_fr  ==> at this point, we appear to have our French assets loaded successfully
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 1,303,976 bytes after decompression
    [Unload SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf  ==> some runs see this, but others do not. I expect it is a timing issue of whether it is reached or not before the crash
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 794,898 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 194,635 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 261,589 bytes after decompression
    ==> everything looks fine up to here.  This is then when the third call to installCompiledResourceBundles occurs
    Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:340]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E:\dev\4.0.0\framework s\projects\framework\src\mx\resources\ResourceManagerImpl.as:269]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()
        at mx.core::FlexModuleFactory/docFrameHandler()
        at mx.core::FlexModuleFactory/docFrameListener()

  • 12.4 Beta, Error: Could not find a match for std::_Tuple_impl 0, std::string && ::_Tuple_impl(std::tuple std::string &&

    Hi,
    would you guys say code that compiles fine without -std=c++11 should also compile *with* -std=c++11?
    raider@sol112_x86:/tmp $ CC -V
    CC: Sun C++ 5.13 SunOS_i386 Beta2 2014/06/17
    raider@sol112_x86:/tmp $ CC buggy.cc  
    raider@sol112_x86:/tmp $ CC -std=c++11 buggy.cc         
    Error: Could not find a match for std::_Tuple_impl<0, std::string &&>::_Tuple_impl(std::tuple<std::string &&>, std::string ) needed in std::tuple<std::string &&>::tuple<std::string, void>(std::string &&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: While instantiating "std::tuple<std::string &&>::tuple<std::string, void>(std::string &&)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 868:     Where: Instantiated from std::forward_as_tuple<std::string>(std::string &&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 485:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    raider@sol112_x86:/tmp $ cat buggy.cc
    #include <map>
    #include <string>
    typedef std::map<std::string, std::string> StrStrMap;
    int main(void)
        StrStrMap dict;
        dict["bug"] = "feature";
        return 0;

    C++11 is approximately a superset of C++03. If you write in the common subset, the code will compile in any mode. For example, a basic hello-world program
    #include <iostream>
    int main() { std::cout << "Hello, world!\n"; }
    will compile and run as C++98/03, as C++11, as C++14, and I'm sure will also work with the next standard, planned for 2017.
    But if you use syntax or library types and functions that are new in C++11, the code will not compile as C++03.
    In my previous post, I might have sounded too negative about compiling C++03 code in C++11 mode. If you have a C++03 program that is intended to be portable, and that works with different compilers on different platforms, chances are good that it will continue to work in C++11. The chances are very good that only minor modifications will be needed.

  • Error: Could not find a match for... ?

    Hi,
    I am trying to compile some code using Studio 10/11 which appears to compile cleanly using a bunch of different C++ compilers (xlC, aCC, VC, g++) but is failing using the C++ compiler in both Studio 10 and Studio 11 with:
    "test.cpp", line 18: Error: Could not find a match for MKGeomT::getDistanceSquared<MKGeomT::_DIM, MKGeomT::_TYPE>(const MKGeomT::Segment<MKT::Dim2, MKT::Double>&, const MKGeomT::Point<MKT::Dim2, MKT::Double>&, MKGeomT::Point<MKT::Dim2, MKT::Double>*, double*).
    "test.cpp", line 23: Error: Could not find a match for MKGeomT::getDistanceSquared<MKGeomT::_DIM, MKGeomT::_TYPE>(const MKGeomT::Segment<MKT::Dim3, MKT::Double>&, const MKGeomT::Point<MKT::Dim3, MKT::Double>&, MKGeomT::Point<MKT::Dim3, MKT::Double>*, double*).
    Any ideas on how to get this to compile would be appreciated.
    test.cpp:
    /opt/SUNWspro/bin/CC -library=stlport4 -c test.cpp
    #include "all.h"
    namespace MKGeomT
    template < class DIM, class TYPE >
    double getDistanceSquared(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &querypt,
    Point < DIM, TYPE > *closestpoint,
    double *param)
    { return 0.0; }
    template double getDistanceSquared < MKT::Dim2 > (Segment2 const &segment,
    Point2 const &querypt,
    Point2 *closestpoint,
    double *param);
    template double getDistanceSquared < MKT::Dim3 > (Segment3 const &segment,
    Point3 const &querypt,
    Point3 *closestpoint,
    double *param);
    all.h:
    // a.h
    namespace MKGeomT
    template < class DIM, class TYPE > class Point;
    template < class DIM, class TYPE > class Segment;
    template < class DIM, class TYPE >
    double getDistanceSquared(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &point,
    Point < DIM, TYPE > closestpoint /= 0*/,
    double *param = 0);
    template < class DIM, class TYPE >
    inline double getDistance(Segment < DIM, TYPE > const &segment,
    Point < DIM, TYPE > const &point,
    Point < DIM, TYPE > *closestpoint = 0)
    return 0.0;
    // b.h
    namespace MKT
    class Dim2 { public: enum { NUM_DIM = 2 }; };
    class Dim3 { public: enum { NUM_DIM = 3 }; };
    class Float { public: typedef float  Stor_t; typedef double Calc_t; };
    class Double { public: typedef double Stor_t; typedef double Calc_t; };
    } // end of namespace MKT
    // c.h
    using MKT::Dim2;
    using MKT::Dim3;
    using MKT::Double;
    namespace MKGeomT
    template < class DIM, class TYPE >
    class PointBase
    template < class DIM, class TYPE > class Point;
    #if 1
    template < class _TYPE >
    class Point < Dim2, TYPE > : public PointBase < Dim2, TYPE >
    template < class _TYPE >
    class Point < Dim3, TYPE > : public PointBase < Dim3, TYPE >
    #endif
    typedef Point < Dim2, Double > Point2;
    typedef Point < Dim3, Double > Point3;
    } // end of namespace MKGeomT
    // d.h
    namespace MKGeomT
    /*! The Segment is a geometry class storing a segment in 3-D. Things
    like the segment vector and length are cached behind the
    scenes so subsequent retrieval is a no-op. */
    template < class DIM, class TYPE = MKT::Double >
    class Segment
    template < class DIM, class TYPE >
    double getDistanceSquared (Segment < DIM, TYPE > const &rkSeg0,
    Segment < DIM, TYPE > const &rkSeg1,
    double* pfSegP0 = 0,
    double* pfSegP1 = 0);
    template < class DIM, class TYPE >
    double getDistanceSquared2(Segment < DIM, TYPE > const &rkSeg0,
    Segment < DIM, TYPE > const &rkSeg1,
    double* pfSegP0 = 0,
    double* pfSegP1 = 0);
    typedef Segment < MKT::Dim2, MKT::Double > Segment2;
    typedef Segment < MKT::Dim3, MKT::Double > Segment3;
    thanks,
    k.m

    Never mind, I see that you intended to include b.h, c.h, and d.h in all.h.
    Many compilers do not look at template code until the code is instantiated. This code consists only of declarations, with little that can be instantiated. It's possible that other compilers would also complain about this code if they got to the point of processing all the template declarations.
    Can you add some instantiations along with template definitions and a main function so that the code can be compiled and linked?

  • Idoc Error: Could not find code page for receiving system

    hi,
    I am facing the following error while processing Idocs.
    ERROR: Could not find code page for receiving system
    Diagnosis
    For the logical destination BWFIN, you want to determine the code page in which the data is sent with RFC. However, this is not currently possible, and the IDoc cannot yet be dispatched.
    Can somebody suggest a solution for this. I have verified that the RFC destinations have been created both on the sender and receiver, ports (WE21) have been defined, and partner profiles (WE20) also created. How would I troubleshoot this problem?

    Hi,
    I did analyse on this issue.It is all because of the Langauge settings in the SM59.This can be done by the BASIS person.The Language field would be empty, but when ever we send the IDoc from the unicode to a non unicode system we have to mention the Langauage used.
    If this helps you really award me the points.
    ~Katty

  • Error: Error writing stream: Could not find prefix for namespace:

    Hi all,
    I am getting this error while doing topdownAssemble using WSA. The error seems as if the name space definitions do not have proper prefixs, but I have prefixes for all the name spaces.
    Any idea what else might be causing the problem ?
    Thanks,
    --venkat
    + java -jar /opt/oc4j_extended_101310/webservices/lib/wsa.jar -topDownAssemble -wsdl parlayx_third_party_call_service.wsdl -unwrapParameters false -className oracle.sdp.parlayx.ThirdPartyCallImpl -input classes -output gen -ear dist/tpcall.ear -mappingFileName src/ThirdPartyCallService-java-wsdl-mapping.xml -packageName oracle.sdp.parlayx -fetchWsdlImports true -debug
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    Error: Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults: java.io.IOException: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeAttValFromQName(WSDLWriterImpl.java:660)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeFault(WSDLWriterImpl.java:577)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeOperation(WSDLWriterImpl.java:563)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writePortType(WSDLWriterImpl.java:422)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:186)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:95)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)

    HI,
    Seems known issue. I would suggest to raise an Service Request with the test case.
    GD,
    Ashish

  • Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'

    I have a multi-module application that I am building in Flash Builder 4.5 Premium.
    When I launch the application It starts with a basic login page and looks ok. After logging in, modules and style sheets are loaded dynamically and  I get this exception stack trace.
    Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'.
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/docFrameHandler()
              at mx.core::FlexModuleFactory/docFrameListener()
    Windows 7
    Flashbuilder 4.5 Premium
    Compiled with SDK 4.5.1
    Flex 3 Compatibility Mode: No
    Framework Linkage: RSL
    SWC Project Linkage: RSL
    Can anyone help me fix this?

    I have determined at least that it is the very first style sheet that I am loading into the application that is causing the exception as I modified to not load anything else.
    Style sheets are loadingusing this method. FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations

Maybe you are looking for