Generating classes for all types in WSDL

Is there a way to get Flash Builder to generate classes for all the complex types found in a WSDL?
The web service I am trying to connect to essentially has one method that takes a BaseRequest object and returns a BaseResponse object. If passed a DerivedRequest object (extending BaseRequest), it returns a DerivedResponse (extending BaseResponse). However, Flash Builder only generates classes for BaseRequest and BaseResponse, and not DerivedRequest or DerivedResponse.
Thanks for any help

The Web Service import wizard generates Value Object classes for all the associated data types required by the imported operations. Say you imported only 2 out of 10 operations mentioned in the WSDL, you will have classes generated for only those data typed required by the 2 imported operations, which may not result in generation of all data types.
In the case mentioned by you, what I assume is that, the operations are mentioned in the WSDL to return the BaseResponse and take BaseRequest as param.
Now using the above mentioned logic the introspector does not know that the derivedResponse may be required and does not import it. Had the operation pointed to the DerivedResponse directly it would have got imported.
A suggested workaround can be that you implement the custom properties in the generated Is there a way to get Flash Builder to generate classes for all the complex types found in a WSDL?
Currently there is no such switch in FB. You may log an enhancement request at http://bugs.adobe.com/jira for the same.
Thanks,
- Gaurav

Similar Messages

  • Reusing JAXB generated classes for XSDs included in other XSDs

    Hi,
    I use xsds with jaxb in a number of related projects. To avoid duplication I've factored out commonly used elements into their own xsd in a separate project. I then include these in the xsds that need them.
    I generate classes with jaxb for each project. I'm now trying to get jaxb so far as to reuse the already generated classes for the common elements.
    For example: I have a general xsd Person.xsd for which I generate classes in common.xsd. I have another xsd Project.xsd that includes a reference to the Person element. When i let jaxb generate classes for Projects.xsd, it will also generate a project.xsd.PersonType and so on.
    Is there any way to tell JAXB to use the existing classes? I've played around with the <jxb:javaType> bindings, but I can't get it to work yet. It gives me a "bindings not used" warning and doesn't compile. Also, if this is in fact the way to go, what do I specify as the parseMethod and printMethod attributes for the javaType element?
    Thx for any help

    JAXB questions should be better directed to the users list of http://jaxb.dev.java.net/
    you should subscribe to the 'users' mailing list, then post a question there.
    Thank you!

  • Generate Documentation for all components in a project

    Hi there,
    V12.0.8 -- Is there a way to generate documentation for ALL transactions in a project at once.  Instead of having to open each one individually?
    Thanks,
    --Amy Smith
    --Haworth

    Amy,
    No there isn't but it's a good suggestion and I will add it to my list of feature requests.
    Sam

  • Sample CLASSES for different types of OIM components!!!

    Hi Experts
    Can any one provide me sample classes for different types of OIM components, adapters, scheduled tasks, etc. with your best practices for OIM java development and documentation? It would Help me lot.
    Please let us know Links/Documentations.
    Thanks
    \oim_user

    for schedulers
    1. Create a java class that extends the SchedulerBaseTask (see example below)
    2. Write your business logic
    3. Compile and jar
    4. Place the jar in the ScheduleTask directory in your OIM install
    5. Create a new scheduled task using the OIM developer console
    6. link in the new class into your new scheduled task.
    7. Done!
    Example code for a scheduled task:
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    public class ScheduledtaskExample extends SchedulerBaseTask {
    public void init()
    //this method is run before execute by the scheduler
    public void execute() {
    //is executed by the scheduler
    runMyBusinessLogic();
    private void runMyBusinessLogic(){
    //place your business logic here
    }

  • Failed to generate classes for home

    Using RMI we successfully connected Oracle OC4j 9.0.3 EJB to WL7.0 EJB but since
    our upgrade we are getting the following
    Any Ideas
    Cheers
    Bruce
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for com.towertechnology.wc.sis.ejb.lette
    rurl.LetterURL_aleqcw_HomeImpl_811_WLStub ]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:662)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:651)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
    at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:249)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:134)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectStreamClass.invokeMethod(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:264)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
    at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
    at javax.naming.InitialContext.lookup(InitialContext.java:345)
    at com.workcover.proc.SeraphApplication.getHome(SeraphApplication.java:144)
    at com.workcover.proc.SeraphApplication.call(SeraphApplication.java:85)
    at com.workcover.proc.SeraphApplication.call(SeraphApplication.java:77)
    at com.workcover.proc.RMIProxyBean.call(RMIProxyBean.java:56)
    at RMIProxy_StatelessSessionBeanWrapper24.call(RMIProxy_StatelessSessionBeanWrapper24.java:117)
    at com.workcover.proc.HttpCallProxy.invokeEJB(HttpCallProxy.java:129)
    at com.workcover.proc.HttpCallProxy.doPost(HttpCallProxy.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Unknown Source)

    Anyone have an answer for this problem? I'm getting it with 7.0 SP3. Not helpful that WLS doesn't not give any reason why it fails.

  • Wscompile only generates classes for the first wsdl:portType encountered

    Greetings.
    When
    compiling a WSDL with port types as follows below;
    classes are generated for port type: AccountsManagement only.
      <portType name="AccountsManagement">
          <operation name="CreateAccount" parameterOrder="Account">
              <input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
              <output message="tns:CreateAccountReqResponse"/>
          </operation>
          <operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
              <input message="tns:CreateAccountForPersonReq"/>
              <output message="tns:CreateAccountForPersonReqResponse"/>
          </operation>
      </portType>
      <portType name="PersonsManagement">
          <operation name="AddPerson" parameterOrder="Person">
              <input message="tns:AddPersonReq" name="AddPersonReq"/>
              <output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
          </operation>
          <operation name="AddPersonWithAccount" parameterOrder="Person Account">
              <input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
              <output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
          </operation>
      </portType>
      <portType name="TellersOperations">
          <operation name="ListAccountsForPerson" parameterOrder="UniqueId">
              <input message="tns:ListAccountsForPersonReq"/>
              <output message="tns:ListAccountsForPersonReqResponse"/>
          </operation>
      </portType>Netbeans output:
    init:
    wscompile-init:
    Created dir: C:\PROJECTS\WSTest\build\generated\wsclient
    Created dir: C:\PROJECTS\WSTest\build\generated\wsservice
    Created dir: C:\PROJECTS\WSTest\build\generated\wsbinary
    TestBankingService_wscompile:
    command line: wscompile "C:\Program Files\Java\jdk1.5.0_03\jre\bin\java.exe" -classpath "C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\j2ee.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-impl.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-impl.jar" com.sun.xml.rpc.tools.wscompile.Main -d "C:\PROJECTS\WSTest\build\generated\wsbinary" -features:wsi,strict -import -keep -mapping "C:\PROJECTS\WSTest\web\WEB-INF\TestBankingService-mapping.xml" -nd "C:\PROJECTS\WSTest\build\web\WEB-INF\wsdl" -s "C:\PROJECTS\WSTest\src\java" -verbose -Xprintstacktrace "C:\PROJECTS\WSTest\src\java\bankers\server\TestBankingService-config.xml"
    [ServiceInterfaceGenerator: creating service interface: bankers.server.TestBankingService]
    [CustomClassGenerator: generating JavaClass for: Account]
    BUILD SUCCESSFUL (total time: 2 seconds)There should be a class for Person as well. If I move port type:
    PersonsManagement to the top no Account class will be generated, but
    instead the Person class will be generated.
    Loading up the WSDL in Netbeans (client) works and shows
    all three Ports with their respective operations.
    Is there a reason for only allowing more than one port type per WSDL?
    Checked the man page for switches to "loop" though all portTypes but noluck.
    A bug?
    Thanks,
    WSDL for reference
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="BankingService" targetNamespace="http://www.mycomp.org/schemas/MyWebService"
        xmlns:tns="http://www.mycomp.org/schemas/MyWebService"
        xmlns:ns1="urn:WS/types"
        xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <!-- Type definitions -->
      <types>
        <xsd:schema targetNamespace="urn:WS/types">
            <xsd:element name="Person" type="ns1:Person"/>
            <xsd:element name="Account" type="ns1:Account"/>
            <xsd:element name="ListOfAccounts" type="ns1:ListOfAccounts"/>
            <xsd:element name="ResultCode" type="xsd:unsignedInt"/>
            <xsd:element name="AccountNumber" type="xsd:string"/>
            <xsd:element name="UniqueId" type="xsd:string"/>
            <xsd:complexType name="Person">
                <xsd:sequence>
                    <xsd:element name="DisplayName" type="xsd:string"/>
                    <xsd:element name="UniqueId" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="Account">
                <xsd:sequence>
                    <xsd:element name="Number" type="xsd:string"/>
                    <xsd:element name="Type" type="xsd:token"/>
                    <xsd:element name="Amount" type="xsd:integer"/>
                </xsd:sequence>
            </xsd:complexType> 
          <xsd:complexType name="ListOfAccounts">
              <xsd:sequence>
                  <xsd:element name="Account" type="ns1:Account" minOccurs="0" maxOccurs="unbounded"/>
              </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </types>
      <message name="AddPersonReq">
          <part name="Person" element="ns1:Person"/>
      </message>
      <message name="AddPersonReqResponse">
          <part name="ResultCode" element="ns1:ResultCode"/>
      </message>
      <message name="AddPersonWithAccountReq">
          <part name="Person" element="ns1:Person"/>
          <part name="Account" element="ns1:Account"/>
      </message>
      <message name="AddPersonWithAccountReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="CreateAccountReq">
          <part name="Account" element="ns1:Account"/>
      </message>
      <message name="CreateAccountReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="CreateAccountForPersonReq">
          <part name="Account" element="ns1:Account"/>
          <part name="UniqueId" element="ns1:UniqueId"/>
      </message>
      <message name="CreateAccountForPersonReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="ListAccountsForPersonReq">
          <part name="UniqueId" element="ns1:UniqueId"/>
      </message>
      <message name="ListAccountsForPersonReqResponse">
          <part name="Accounts" element="ns1:ListOfAccounts"/>
      </message>
      <!--
            NOTE THAT wscompile WILL PICK THE FIRST AND ONLY FIRST portType
            IS THIS A BUG OR A FEATURE?
      -->
      <portType name="AccountsManagement">
          <operation name="CreateAccount" parameterOrder="Account">
              <input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
              <output message="tns:CreateAccountReqResponse"/>
          </operation>
          <operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
              <input message="tns:CreateAccountForPersonReq"/>
              <output message="tns:CreateAccountForPersonReqResponse"/>
          </operation>
      </portType>
      <portType name="PersonsManagement">
          <operation name="AddPerson" parameterOrder="Person">
              <input message="tns:AddPersonReq" name="AddPersonReq"/>
              <output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
          </operation>
          <operation name="AddPersonWithAccount" parameterOrder="Person Account">
              <input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
              <output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
          </operation>
      </portType>
      <portType name="TellersOperations">
          <operation name="ListAccountsForPerson" parameterOrder="UniqueId">
              <input message="tns:ListAccountsForPersonReq"/>
              <output message="tns:ListAccountsForPersonReqResponse"/>
          </operation>
      </portType>
      <binding name="AccountsManagementBinding" type="tns:AccountsManagement">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="CreateAccount">
              <soap:operation soapAction=""/>
              <input name="CreateAccountReq">
                  <soap:body use="literal"/>
              </input>
              <output name="CreateAccountReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
          <operation name="CreateAccountForPerson">
              <soap:operation soapAction=""/>
              <input name="CreateAccountForPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="CreateAccountForPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <binding name="PersonsManagementBinding" type="tns:PersonsManagement">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="AddPerson">
              <soap:operation soapAction=""/>
              <input name="AddPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="AddPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
          <operation name="AddPersonWithAccount">
              <soap:operation soapAction=""/>
              <input name="AddPersonWithAccountReq">
                  <soap:body use="literal"/>
              </input>
              <output name="AddPersonWithAccountReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <binding name="TellersOperationsBinding" type="tns:TellersOperations">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="ListAccountsForPerson">
              <soap:operation soapAction=""/>
              <input name="ListAccountsForPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="ListAccountsForPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <service name="BankingService">
          <port name="AccountsManagementService" binding="tns:AccountsManagementBinding">
              <soap:address location="__URL__"/>
          </port>
          <port name="PersonsManagementService" binding="tns:PersonsManagementBinding">
              <soap:address location="__URL__"/>
          </port>
          <port name="TellersOperationsService" binding="tns:TellersOperationsBinding">
              <soap:address location="__URL__"/>
          </port>
      </service>
    </definitions>

    I saw this post elsewhere:
    JAXRPC specification required support for only subset of schema types. Abstract schema type support was not required. For the schema types that are not supported, the spcification requires that they should be mapped to javax.xml.soap.SOAPElement.
    This is what jaxrpc wscompile tool does. At tool time, the type in the sample code posted is extended frm an abstract type so it should be getting mapped to SOAPElement. SOAPElement extends Node and Element. You may like to see its javadoc.
    -vivek.
    This is basically the behavior I am seeing, but I don't see this as being extended from an abstract type. if someone can see that and explain that to me I would appreciate it....if this is even the right path to the answer to my problem.

  • Jcomgen doesn't generate classes for FineReader 7 engine

    Hi,
    currently I'm using njawin 1.1.34 to control FineReader 6 Scripting Edition which works quite well :-)
    Recently we tried to upgrade to FineReader 7 engine which offers several additional features we'd like to use. Unfortunately jcomgen.exe doesn't generate all the necessary classes; only a few are created although there are lots of entries in the ProgID combobox, the TypeLib GUID seems to be corrent, and the typelib module is selected correctly.
    Example:
    The FineReader engine exports an object called "Block" and one called "BlocksCollection"; the latter is - as the name suggests - a collection of objects of type "Block ". jcomgen only generates a class for the collection.
    Do you have any idea why jcomgen doesn't want to generate all the available classes?
    Regards
    Thorsten

    Do you ever figure this out?
    I'm trying to use FineReader engine too.
    I've tried with 7 to no avail.
    Am stuck at the 2nd step with 6, too, though. How do you create the Engine? I'm creating a FuncPtr, but can't figure out how to invoke things and get the created engine back.
    Would REALLY appreciate your help!
    thanks,
    David

  • Problem facing while generating classes for mixed="true" in jaxb

    <complexType name="ANY" abstract="true"></complexType>
    <complexType name="BIN" abstract="true" mixed="true">
    <complexContent>
    <extension base="tns:ANY"></extension>
    </complexContent>
    </complexType>
    When JAXB is generating the classes for above complex types. It is not generationg java.util.List
    getContent() method for BIN complex type.
    Can Someone please tell me how can i generate that method . without changing the sche

    [POI FAQ|http://poi.apache.org/faq.html]
    [POI Mailing Lists|http://poi.apache.org/mailinglists.html]

  • C++ - Unable to load class for user type- ClassNotFoundException

    Hi ,
    I'm getting ClassNotFoundException when i try to start the coherence server. I've no clue to solve it.
    Any help would be appreciated.
    i'm using POF serializer and registering the class using the macro
    COH_REGISTER_POF_SERIALIZER(1234,TypedClass<CVOG_AllocationInquiry>::create(), PortableObjectSerializer::create(1234));
    i've set the CLASSPATH to my source folder.
    i read some posts saying we need java wrapper for this? is that true, do we need java wrapper for all the c++classes that we register.
    Here are the details:
    my C++ class :
    class CVOG_AllocationInquiry : public cloneable_spec<CVOG_AllocationInquiry, extends<Object>, implements< PortableObject> >
         friend class factory<CVOG_AllocationInquiry>;
    protected:
         CVOG_AllocationInquiry()
         : m_modl_yr_nbr(self()), m_sellng_src_cd(self()), m_alloc_grp_cd(self()),
         m_namplt_cd(self()), m_veh_prod_cd(self()), m_alloc_grp_desc(self())
         CVOG_AllocationInquiry(String::View modl_yr_nbr, String::View sellng_src_cd, String::View alloc_grp_cd, String::View namplt_cd, String::View veh_prod_cd, String::View alloc_grp_desc)
                             :m_modl_yr_nbr(self(),modl_yr_nbr),m_sellng_src_cd(self(),sellng_src_cd),m_alloc_grp_cd(self(),alloc_grp_cd),m_namplt_cd(self(),namplt_cd),
                             m_veh_prod_cd(self(),veh_prod_cd),m_alloc_grp_desc(self(),alloc_grp_desc)
    // initialize(m_modl_yr_nbr, modl_yr_nbr);
         CVOG_AllocationInquiry(const CVOG_AllocationInquiry& alloc)
                        :super(alloc),m_modl_yr_nbr(self(),alloc.m_modl_yr_nbr),m_sellng_src_cd(self(),alloc.m_sellng_src_cd),
                        m_alloc_grp_cd(self(),alloc.m_alloc_grp_cd),m_namplt_cd(self(),alloc.m_namplt_cd),
                        m_veh_prod_cd(self(),alloc.m_veh_prod_cd),m_alloc_grp_desc(self(),alloc.m_alloc_grp_desc)
    public:
         virtual String::View getGrpCd() const {return m_alloc_grp_cd; }
         virtual String::View getGrpDesc() const { return m_alloc_grp_desc;}
         virtual String::View getModlYr() const { return m_modl_yr_nbr;}
         virtual String::View getNmPltCd() const {return m_namplt_cd; }
         virtual String::View getSelSrcCd() const {return m_sellng_src_cd; }
         virtual String::View getVehProdCd() const { return m_veh_prod_cd ;}
    virtual void writeExternal(PofWriter::Handle hOut) const
         hOut->writeString(0, getModlYr());
         hOut->writeString (1, getSelSrcCd());
         hOut->writeString (2, getGrpCd());
         hOut->writeString (3, getNmPltCd());
         hOut->writeString (4, getVehProdCd());
         hOut->writeString (5, getGrpDesc());
    virtual void readExternal(PofReader::Handle hIn)
         // add for other members also here
    initialize(m_modl_yr_nbr, hIn->readString(0));
    initialize(m_sellng_src_cd, hIn->readString(1));
    initialize(m_alloc_grp_cd, hIn->readString(2));
    initialize(m_namplt_cd, hIn->readString(3));
    initialize(m_veh_prod_cd, hIn->readString(4));
    initialize(m_alloc_grp_desc, hIn->readString(5));
    public: // Object interface
    virtual bool equals(Object::View that) const
    if (instanceof<CVOG_AllocationInquiry::View>(that))
         CVOG_AllocationInquiry::View vThat = cast<CVOG_AllocationInquiry::View>(that);
    return Object::equals(getGrpCd() ,vThat->getGrpCd()) &&
                   Object::equals(getGrpDesc() ,vThat->getGrpDesc()) &&
                   Object::equals(getModlYr() ,vThat->getModlYr()) &&
                   Object::equals(getNmPltCd() ,vThat->getNmPltCd()) &&
                   Object::equals(getSelSrcCd() ,vThat->getSelSrcCd()) &&
                   Object::equals(getVehProdCd() ,vThat->getVehProdCd());
    return false;
    virtual size32_t hashCode() const
         size32_t m_nNum;
    return (size32_t) m_nNum;
    virtual void toStream(std::ostream& out) const
    out << getGrpCd() << ", " << getGrpDesc() << " " << getModlYr();
    private:
    FinalView<String> m_modl_yr_nbr;
    FinalView<String> m_sellng_src_cd;
    FinalView<String> m_alloc_grp_cd;
    FinalView<String> m_namplt_cd;
    FinalView<String> m_veh_prod_cd;
    FinalView<String> m_alloc_grp_desc;
    cache config file -
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>AllocInq-extend</cache-name>
    <scheme-name>extend-dist</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>dist-extend-near</cache-name>
    <scheme-name>extend-near</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <near-scheme>
    <scheme-name>extend-near</scheme-name>
    <front-scheme>
    <local-scheme>
    <high-units>1000</high-units>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <remote-cache-scheme>
    <scheme-ref>extend-dist</scheme-ref>
    </remote-cache-scheme>
    </back-scheme>
    <invalidation-strategy>all</invalidation-strategy>
    </near-scheme>
    <remote-cache-scheme>
    <scheme-name>extend-dist</scheme-name>
    <service-name>ExtendTcpProxyService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    <connect-timeout>10s</connect-timeout>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-cache-scheme>
    <remote-invocation-scheme>
    <scheme-name>extend-invocation</scheme-name>
    <service-name>ExtendTcpInvocationService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    <connect-timeout>10s</connect-timeout>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-invocation-scheme>
    </caching-schemes>
    </cache-config>
    server config file :
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>AllocInq-*</cache-name>
    <scheme-name>dist-default</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>dist-default</scheme-name>
    <lease-granularity>member</lease-granularity>
    <thread-count>8</thread-count>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>5</thread-count>
    <acceptor-config>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>String</param-type>
    <param-value>/home/hema/workspace/CoherenceClient/config/pof.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port>9099</port>
    </local-address>
    </tcp-acceptor>
    </acceptor-config>
    <proxy-config>
    <cache-service-proxy>
    <lock-enabled>true</lock-enabled>
    </cache-service-proxy>
    </proxy-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>
    pof.xml
    <?xml version="1.0"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
    <user-type-list>
    <!-- include all "standard" Coherence POF user types -->
    <include>coherence-pof-config.xml</include>
    <!-- include all application POF user types -->
    <user-type>
    <type-id>1234</type-id>
    <class-name>CVOG_AllocationInquiry</class-name>
    <serializer>
    <class-name>CVOG_AllocationInquiry</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>1</param-value>
    </init-param>
    </init-params>
    </serializer>
    </user-type>
    </user-type-list>
    </pof-config>

    Hi Mark,
    i did go thru' the thread and understood that no "pof " mentioning in the cache xml file. I removed the pof config details from the cache xml config file and registersd the c++ class using the macro.
    after these, iwas able to start the extended proxy server from consol:
    When i try to do the same from my program as :
    String::View vsCacheName = "AllocInq-extend";
              CacheFactory::configure(CacheFactory::loadXmlFile(String::create ("/home/hema/workspace/CoherenceClient/config/cache-config_TCP.xml")),CacheFactory::loadXmlFile(String::create("/home/hema/workspace/CoherenceClient/config/tangosol-coherence-override.xml")));
              NamedCache::Handle hCache = NULL;
              hCache = CacheFactory::getCache(vsCacheName);
    i get the following error,
    Oracle Coherence for C++ Version 3.7.0.0 Build 23257
    RTC Linux x64 Release g++ build
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-09-06 08:01:48.185/13.197 Oracle Coherence for C++ RTC 3.7.0.0 <D5> (thread=ExtendTcpProxyService:coherence::component::util::TcpInitiator): Started: coherence::component::util::TcpInitiator@0x73d3c8{Name=ExtendTcpProxyService:coherence::component::util::TcpInitiator, State=(service_started), ThreadCount=0, Codec=coherence::component::net::extend::PofCodec@0x744300{Format=POF}, PingInterval=0, PingTimeout=5000, RequestTimeout=5000, ConnectTimeout=10000, RemoteAddresses=[sles/192.168.1.5:9099], KeepAliveEnabled=0, TcpDelayEnabled=0, ReceiveBufferSize=0, SendBufferSize=0, LingerTimeout=0}
    2011-09-06 08:01:48.187/13.199 Oracle Coherence for C++ RTC 3.7.0.0 <D5> (thread=main): Connecting Socket to sles/192.168.1.5:9099
    2011-09-06 08:01:51.199/16.211 Oracle Coherence for C++ RTC 3.7.0.0 <Info> (thread=main): Error connecting Socket to sles/192.168.1.5:9099: coherence::io::IOException: getpeername(nSocket, &addrPeer, &cbPeer) failed; errno[107]
    at virtual bool coherence::native::posix::PosixSocket::connect(coherence::lang::TypedHandle<const coherence::net::SocketAddress>, int64_t)(PosixSocket.hpp:640)
    at coherence::native::posix::PosixSocket::connect(coherence::lang::TypedHandle<coherence::net::SocketAddress const>, long)
    at coherence::net::Socket::connect(coherence::lang::TypedHandle<coherence::net::SocketAddress const>, long)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    2011-09-06 08:01:51.210/16.222 Oracle Coherence for C++ RTC 3.7.0.0 <Error> (thread=main): Unable to start service ExtendTcpProxyService: coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {sles/192.168.1.5:9099}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at virtual coherence::lang::TypedHandle<coherence::component::net::extend::PofConnection> coherence::component::util::TcpInitiator::openConnection()(TcpInitiator.cpp:284)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {sles/192.168.1.5:9099}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at virtual coherence::lang::TypedHandle<coherence::component::net::extend::PofConnection> coherence::component::util::TcpInitiator::openConnection()(TcpInitiator.cpp:284)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    Pls can you suggest something, greatly appreciated in advance.
    althouh i did observe one thing,, when i start the service from console, the ip is different. But from the program, it displays the different ip that it looks for connection and fails.

  • Compiler generates errors for reference types

    Help. I am new to java, and learning the semantics, etc. When I compile simple programs (ie, the constructor uses primitive data types ONLY), there is no problem. But when I use a reference data type, it does not compile. here is some sample error code:
    C:\sunjava\windows_labfiles\mod02\exercise2\version3\solution\TestVehicle.java:6: cannot resolve symbol
    symbol : class Vehicle
    location: class TestVehicle
    Vehicle vehicle = new Vehicle(10000.0);
    ^
    C:\sunjava\windows_labfiles\mod02\exercise2\version3\solution\TestVehicle.java:6: cannot resolve symbol
    symbol : class Vehicle
    location: class TestVehicle
    Vehicle vehicle = new Vehicle(10000.0);
    Did I install the jdk incorrectly? I have the files from a java class I took recently, and I tried to compile the "solution" .java files and they did not work either. Any thoughts??

    Yes, I am sorry that I did not include that information. I have Vehicle.java in C:\sunjava\windows_labfiles\mod02\exercise2\version3\solution, which compiles with no problems - there are only primitive types included. Then I try to compile TestVehicle.java with no luck.
    //**********Here is Vehicle.java:**********
    public class Vehicle {
    /** The conversion factor for kilograms to newtons. */
    private static double KG_TO_NEWTON = 9.8;
    /** The current load of the vehicle in newtons. */
    private double load;
    /** The maximum load of the vehicle in newtons. */
    private double maxLoad;
    * This is the basic constructor for all Vehicles.
    * @param max_load the maximum load of this vehicle in kilograms
    public Vehicle(double max_load) {
    load = 0.0;
    maxLoad = kiloToNewts(max_load);
    /** This method returns the current load in kilograms. */
    public double getLoad() {
    return newtsToKilo(load);
    /** This method returns the maximum load in kilograms. */
    public double getMaxLoad() {
    return newtsToKilo(maxLoad);
    * This adds a box to the vehicle.
    * @param weight the weight of the box in kilograms
    public boolean addBox(double weight) {
    double weight_in_newtons = kiloToNewts(weight);
    boolean result = true;
    if ((weight_in_newtons + load) > maxLoad) {
    result = false;
    } else {
    load = load + weight_in_newtons;
    return result;
    private double kiloToNewts(double weight) {
    return (weight * KG_TO_NEWTON);
    private double newtsToKilo(double weight) {
    return (weight / KG_TO_NEWTON);
    //**********and here is TestVehicle.java:**********
    public class TestVehicle {
    public static void main(String[] args) {
    // Create a vehicle that can handle 10,000 kilograms weight
    System.out.println("Creating a vehicle with a 10,000kg maximum load.");
    Vehicle vehicle = new Vehicle(10000.0);
    // Add a few boxes
    System.out.println("Add box #1 (500kg) : " + vehicle.addBox(500.0));
    System.out.println("Add box #2 (250kg) : " + vehicle.addBox(250.0));
    System.out.println("Add box #3 (5000kg) : " + vehicle.addBox(5000.0));
    System.out.println("Add box #4 (4000kg) : " + vehicle.addBox(4000.0));
    System.out.println("Add box #5 (300kg) : " + vehicle.addBox(300.0));
    // Print out the final vehicle load
    System.out.println("Vehicle load is " + vehicle.getLoad() + " kg");
    }

  • What is the latest firmware restore for all type of ipod ??

    *can anyone tell the latest firmware for all ipod types*

    see if this helps
    http://www.felixbruns.de/iPod/firmware/

  • Syntax error for automatic generated class for object MAS_AUTH_CUST

    Hi,
    I am configuring the mobile sales scenario. I encountered a weird problem. Basically the automatically generated class  ZDOECL_013_00H_MWSR can not be activated. If you activate it manually it will give you the below error. Looks like the entity structure is too big. So the generated code has a very big loop which causes the dump. I found the issue when try to run the function module CRM_AUTH_CUST_INSERTCDS as suggested in the configuration guide.
    I have tried to regenerate the object. But it still give me the same error.
    Internal error occured during runtime generation of Class ZDOECL_013_00H_MWSR (Dump ID: GEN_BRANCHOFFSET_LIMIT_REACHED)
    Message no. OO053
    Diagnosis
    An internal error occurred when the system tried to generate the runtime objects of the class. A dump has been created with the given dump ID. It can be analyzed using transaction ST22.
    Our Netweaver version as below. It should contain already the latest patch etc.
    SAP_ABA     711     0006     SAPKA71106
    SAP_BASIS     711     0006     SAPKB71106
    PI_BASIS     711     0006     SAPK-71106INPIBASIS
    ST-PI     2008_1_710     0004     SAPKITLRE4
    SAP_BW     711     0006     SAPKW71106
    CRMSPGWY     110     0004     SAPK-11004INCRMSPGWY
    CRM version.
    SAP_ABA     702     0006     SAPKA70206
    SAP_BASIS     702     0006     SAPKB70206
    PI_BASIS     702     0006     SAPK-70206INPIBASIS
    ST-PI     2008_1_700     0002     SAPKITLRD2
    SAP_BS_FND     702     0004     SAPK-70204INSAPBSFND
    SAP_BW     702     0006     SAPKW70206
    LCAPPS     2005_700     0009     SAPKIBHD09
    SAP_AP     700     0022     SAPKNA7022
    WEBCUIF     701     0003     SAPK-70103INWEBCUIF
    BBPCRM     701     0003     SAPKU70103
    WFMCORE     200     0016     SAPK-20016INWFMCORE
    VIRSANH     530_700     0011     SAPK-53311INVIRSANH
    Any advice is appreciated.
    Thanks
    Hansen Chen

    Hi,
    Gateway1.1 to SAP Netweaver mobile is not supported with EHP1 of SAP Netweaver Mobile 7.10.
    Please  check the release information note: 1539681
    So, i suggest you to install SAP Netweaver Mobile 7.10 with Gateway addon.
    Regards,
    Siva.

  • Auto-Generated Number For All Users

    We're on Lync Server 2013, running a front-end pool consisting of 3 front-end servers. Users are VoIP enabled. We're seeing some inconsistent behavior while right-clicking an user and selecting the "Call" option. Even though the respective target
    users don't have an "Other" phone number set in AD, the Lync client seems to be somehow auto-generating a normalized entry and presenting this as an "Other" entry in the contextual menu that allows calls. The entry always begins with +1
    (425). Strange enough, this is the prefix used in some sample normalization rules in a Microsoft article
    here.
    Even though Dial Plans - to my understanding - shouldn't alter this (they only apply normalization rules for manually dialed numbers only), I've searched through all the normalization rules but there's none that start with +1 (425). I've also tried running
    ABSConfig, yet this tool crashes systematically on multiple machines (the Lync servers have updates dating from less than 2 months ago).
    Also - there's no normalization .txt file created in the ABFiles in the Lync Share, as in
    this article. Taking a look in the local GalContacts.db file shows the regular phone numbers, but not this one - hinting that it's something the Lync client creates on the fly. Additionally, no Lync Address Book Web Query is visible in Fiddler when browsing
    through the users' phone numbers in the Lync client.
    Adding to the problem is that some users see the "Other" entries, while others don't - eg. user X right clicks user Z and sees a wrong "Other" entry, while user Y right clicks user Z and doesn't see any wrong entry containing "Other".
    First question is what could trigger this behavior in the client ? Secondly, has ABSConfig.exe become broken by a recent update ?

    According to the 2nd article - I've created an empty Company_Phone_Number_Normalization_Rules.txt file and placed it in the Lync file share, in order to avoid any suspicion that the built-in file might be used. I've updated the address book but unfortunately
    can't restart the FE services at this time. There's no still no change in the client.
    Yet - the problem here is the numbers shown aren't present in the files making up the Lync address book inside the local user's sip profile folder.

  • QR Code/Datamatrix Generator Class for Java

    Hi
    i want to implement QR Code/Datamatrix in my Application.
    Goolging for around 2 hours couldnt give me any results.
    Is there a class, api, library, that could help me generating Images out of strings?
    Nam

    "i want to implement QR Code/Datamatrix in my Application."
    Then just pick one of the libraries, I rand across literally a dozen while I was looking for that how to implementation for you to code.
    Please note for future use--implement has specific meaning to programmers--usually having a do it yourself connotation--as in: I want to build my own package to do this.

  • Bean classes for all tables ?

    Hi All,
    I am working on a very small project with 6 tables and 2 lookup tables.The form consists of lot of queries to the database.The technologies used are java,jsp and weblogic with MVC2 pattern.My question is do I need to have bean class(setter,getter) methods for each tables.
    Suggest a good approach.

    drop.any wrote:
    SET SERVEROUTPUT ON
    DECLARE
    num_corrupt INT;
    BEGIN
    for t in (select owner, table_name from dba_tables) loop
    num_corrupt := 0;
    DBMS_REPAIR.CHECK_OBJECT (
    SCHEMA_NAME => t.Owner,
    OBJECT_NAME => t.Table_Name,
    REPAIR_TABLE_NAME => 'REPAIR_TABLE',
    CORRUPT_COUNT => num_corrupt);
    DBMS_OUTPUT.PUT_LINE('number corrupt: ' || TO_CHAR (num_corrupt));
    END;
    END;
    Yes but change one thing:
    DBMS_OUTPUT.PUT_LINE('Table: '||t.Owner||'.'||t.Table_Name||' number corrupt: ' || TO_CHAR (num_corrupt));Edited by: kendenny on Nov 5, 2009 9:35 AM

Maybe you are looking for

  • File download from a portletized ADF app running in webcenter spaces.

    Hi, I am having trouble downloading non static files from a portletized(with ADFPortletBridge) ADF application running as a portlet producer in Webcenter spaces . This is my scenario : Jdev : 11.1.1.3 Webcenter : 11.1.1 The ADF app has a query page,

  • UCCX 9.0(2) - Holiday schedule for geographic regions

    Hi Guys, I am hoping someone will be able to nudge me in the right direction. I am struggling to find a good way to script out a particular holiday check. I have a UCCX server that resides here in the states that will be serving some customers in Asi

  • Sqlcode and sql%rowcount as test conditions

    I am translating a procedure from Ingres to oracle. I use the Oracle sqlcode and sql%rowcount variables in place of Ingres's iierrornumber and iirowcount. I replaced the ingres names with the oracle names, and now am wondering how how oracle uses the

  • Help with .atn files

    where do i put the .atn files that i just downloaded from the exchanges

  • Need to update iPod through itunes 7.0

    I havent updated my ipod in a while and i am trying to update it on my new computer. i plug in my ipod and it isnt reconized by my computer or itunes..nothing happens and the do not disconnect does not come up on my ipod screen. i put in my ipod+itun