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.

Similar Messages

  • EJB Failed to generate class

    Hi,
    I am moving an legacy application which consist of EJB 2.0 from Weblogic 9 to weblogic 10.3.4 and I am facing following problem:
    Caused by: java.lang.AssertionError: Failed to generate class for com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
         at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
         at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:267)
         at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
         at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
         at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_HomeImpl_1034_WLStub.create(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sky.jak.common.servicelocator.ServiceLocatorImp.callCreateMethod(ServiceLocatorImp.java:246)
         at com.sky.jak.common.servicelocator.ServiceLocatorImp.getBean(ServiceLocatorImp.java:211)
         at com.sky.jak.common.servicelocator.RemoteInvocationHandler.doReinitializeDelegate(RemoteInvocationHandler.java:155)
         at com.sky.jak.common.proxy.RecoverableInvocationHandler.reinitializeDelegate(RecoverableInvocationHandler.java:357)
         ... 13 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
         ... 37 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub.ensureInitialized(Unknown Source)
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub.<init>(Unknown Source)
         ... 42 more
    When I run appc at compile time I am getting the reported error. What strang is that if I disable appc at compile time, weblogic performs appc on the fly and all works fine. The same error I get even when I do run appc externaly to final ear.
    Can someone please assist to troubleshoot that?
    Thanks
    Edited by: user13047709 on Dec 12, 2012 2:26 AM

    Hi,
    the full stack trace follows:
    2012-12-11 13:54:53,411 ERROR [MSR !f6251134-4a63-49f9-9366-ee1713fa9bbb,f6251134-4a63-49f9-9366-ee1713fa9bbb,2370dbe6-f974-426d-8191-459f9cbd233a,JSP,JSKY,SKY,1,3! ] msengine.MSEngineBean - JSKY SKY error
    com.sky.jak.marketstructure.universe.UniverseRetrieverException: [Market Structure Exception] Market Structure Wrapped Exception cause: Throwable thrown within Portfolio: 6
         at com.sky.jak.marketstructure.universe.UniverseRetriever.getPortfolioUniverse(UniverseRetriever.java:638)
         at com.sky.jak.marketstructure.report.StatsFieldCalculator.loadData(StatsFieldCalculator.java:162)
         at com.sky.jak.marketstructure.report.UniverseFieldCalculator$CalcThread.run(UniverseFieldCalculator.java:167)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at com.sky.jak.common.concurrent.ExecutorFacade$1.call(ExecutorFacade.java:127)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sky.jak.common.servicelocator.ServiceLocatorException: com.sky.jak.portfolio.exception.PortfolioThrowableWrapperException: 6
         at com.sky.jak.common.servicelocator.ServiceLocator.getPortfolioRetriever(ServiceLocator.java:769)
         at com.sky.jak.marketstructure.universe.UniverseRetriever.getPortfolioUniverse(UniverseRetriever.java:584)
         ... 9 more
    Caused by: com.sky.jak.portfolio.exception.PortfolioThrowableWrapperException: 6
         at com.sky.jak.common.proxy.PointExceptionFactory.getDefaultCheckedException(PointExceptionFactory.java:195)
         at com.sky.jak.common.proxy.PointExceptionFactory.getCheckedException(PointExceptionFactory.java:100)
         at com.sky.jak.common.proxy.RecoverableOperationState.throwThrowable(RecoverableOperationState.java:349)
         at com.sky.jak.common.proxy.RecoverableOperationState.throwThrowable(RecoverableOperationState.java:339)
         at com.sky.jak.common.proxy.RecoverableOperationState.getEntry(RecoverableOperationState.java:277)
         at com.sky.jak.common.proxy.RecoverableOperationState.processThrowable(RecoverableOperationState.java:175)
         at com.sky.jak.common.proxy.RecoverableOperationState.processThrowableAndThrowIfMaxReached(RecoverableOperationState.java:132)
         at com.sky.jak.common.proxy.RecoverableInvocationHandler.reinitializeDelegate(RecoverableInvocationHandler.java:380)
         at com.sky.jak.common.servicelocator.RemoteInvocationHandler.<init>(RemoteInvocationHandler.java:59)
         at com.sky.jak.common.servicelocator.ServiceLocatorImp.getLocatableService(ServiceLocatorImp.java:134)
         at com.sky.jak.common.servicelocator.ServiceLocator.getPortfolioRetriever(ServiceLocator.java:765)
         ... 10 more
    Caused by: java.lang.AssertionError: Failed to generate class for com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
         at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
         at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:267)
         at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:199)
         at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:1061)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1762)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at weblogic.rmi.extensions.server.CBVInputStream.readObject(CBVInputStream.java:64)
         at weblogic.rmi.internal.ServerRequest.unmarshalReturn(ServerRequest.java:100)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_HomeImpl_1034_WLStub.create(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sky.jak.common.servicelocator.ServiceLocatorImp.callCreateMethod(ServiceLocatorImp.java:246)
         at com.sky.jak.common.servicelocator.ServiceLocatorImp.getBean(ServiceLocatorImp.java:211)
         at com.sky.jak.common.servicelocator.RemoteInvocationHandler.doReinitializeDelegate(RemoteInvocationHandler.java:155)
         at com.sky.jak.common.proxy.RecoverableInvocationHandler.reinitializeDelegate(RecoverableInvocationHandler.java:357)
         ... 13 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
         ... 37 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub.ensureInitialized(Unknown Source)
         at com.sky.jak.portfolio.beans.PortfolioRetriever_dqv50s_EOImpl_1034_WLStub.<init>(Unknown Source)
         ... 42 more
    Ant appc targed follows:
    <target name="appc" unless="skip-appc">
    <property name="appc.target" value="${svc.jar.name}.ear"/>
    <echo message="${toString:wl.class.path}"/>
    <mkdir dir="${appc.dir}"/>
    <java classname="weblogic.appc" dir="${dist.dir}" fork="true" failonerror="true">
    <jvmarg value="-Djava.io.tmpdir=${appc.dir}"/>
    <arg line="-verbose"/>
    <classpath>
    <path refid="wl.class.path"/>
    </classpath>
    <arg value="${appc.target}"/>
    </java>
    <delete dir="${appc.dir}"/>
    </target>
    While running ant JAVA_HOME is set to JDK 1.6, wl.class.path is pointing to weblogic 10.3.4 libraries. Now I am just thinking of that ear is compiled by JDK 1.6 with target specified to 1.5. Do I somehow specify the same option for appc ?

  • 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!

  • 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

  • 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.

  • 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]

  • 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

  • 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.

  • 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.

  • OC4J 9.0.4 migrate to 10.1.3.1 JSP fails using abstract class for ResultSet

    Consider the following JSP code snipet:
    <%
    com.class.SQLDataSource detail = ((com.class.SQLDataSource)request.getAttribute("AcctList"));
    %>
    <%while detail.next()) {detail.getRow();%>
    <tr ...>
    <td ...><%= detail.getString("ACCT") %></td>
    </tr>
    <%}%>
    blah, blah, blah
    class snipet looks like this:
    public abstarct class SQLDataSource extends serializable {
    private ResultSet resultSet = null;
    private PreparesStatement stmt = null;
    public boolean next() throws SQLException {
    boolean result = getResultSet().next();
    return (result);
    public String getString(String columnName) throws SQLExcpetion {
    return getResultSet().getString(columnName);
    public void execute() throws SQLException {
    -- checks stmt
    -- if null generates resultSet from "AcctList.sql" query
    -- if not null, re-executes as-is stmt for a query only
    protected ResultSet getResultSet() throws SQLException {
    execute(); // see above
    return resultSet;
    The problem:
    <%= detail.getString("ACCT") %> generates a NullPointerException
    Yet, if I add debug statements in the SQLDataSouce class, they conclusively show that resultSet has 1902 rows and I can diplay the contents on these rows (on the console, of course, the JSP still generates a NullPointerException).
    If I "hardcode" the creation of a ResultSet in the JSP, the pages displays properly (not the desired method).
    PLEASE TAKE NOTE: This JSP/Class combination works PERFECTLY in OC4J 9.0.4 using JDeveloper 9.0.5.2. When I deploy the **EXACT SAME** JSP/Class combination in JDeveloper/OC4J 10.1.3.1, I receive the NullPointerException.
    So what this feels like to me (and my VERY limited J2EE experinece) is that the abstract class SQLDataSource has somehow lost/closed/dropped/corrupted resultSet when "returning" to the JSP for display of the contents of resultSet. This is, of course, a laymans explanation of the experienced effect of running this code.
    It makes me wonder if under 10.1.3.1 "something more" must be done so that the (abstract) SQLDataSource class can operate in the same way it did under 9.0.4.
    Last note: this NullPointerException happens whether I deploy to standalone OC4J 10.1.3.1 or if I execute my application withing JDevloper's Embedded OC4J instance.
    Any Assistance on this MOST aggrivating problem would be greatly appreciated.
    Others have yet to solve it in similar posts of mine. Hopefully this more definitive description will help YOU be my personal HERO.
    Ed.

    repost to pique interest

  • Failed to generate Alert for JMS Sender adapter

    Hi Folks,
                  My scenario is JMS to IDOC..
    I have configured the Alert rules and the alerts are working fine for the Integration engine errors.. and apart from the alert rule there is one more alert rule configured for capturing the alerts of the adapter engine..
    When i provide the queue name as invalid one .. i am able to receive the alerts for the same via alert rule of adapter engine..
    When I force to make the channel to error with the invalid headers of RFH2 (with correct queuename) the channel status is showing error ..but interestingly no alert for the same...
    Now My question here is how to test the generation of  the alerts by forcing the JMS sender channel to error. ? 
    I already checked the report SXMSALERT_LOGREADER for verification but no luck..
    Can some one throw light on this?
    Forgot to mention i am using IBM MQ ...
    Regards
    Rajesh
    Edited by: Rajesh on Jul 8, 2010 10:08 AM

    Hi Raj,
             Thanks for your reply...I am fetching the RFH headers using UDF via Dynamic config only..
    Apart from the configurations errors mentioned for alerts(as i am success in this case)...I am testing if there any data related errors like wrong RFH Headers for JMS sender adapter though the channels showing error status in this case ...but its not throwing the alerts...
    I want to know whether the alert will be triggered for this or not...if not why ..as it should..
    if yes i am unable to get.. what troubleshooting can be done for this...
    if you have any other cases (aprt from config issues)for alert trigger...and also apart from RFH headers case..can u pls share..so that i will try the same..
    MY only question here is why the adapter not trigering the alerts when wrong RFH Headers are sent along the message..but showing the channel status as red..(is it a bug ?)
    Thanks in Advance
    Rajesh

  • How to use JAXB generated classes with SOAP

    hello,
    I have a library of JAXB generated classes for my web service. There is a Java class for each web method defined in my schema. For example, my getLocation method is mapped to GetLocation.class.
    However my web service is SOAP based, so I am having to manually strip off the SOAP elements to be able to unmarshall the getLocation xml to a GetLocation class.
    I am noticing a disconnect between JAXB and other Java SOAP and RPC libraries. Does anyone know how to create a JAXB class for SOAP Envelopes and Bodys? Does anyone have any ideas how to incorporate the existing Java web service libraries with JAXB?
    Thanks in advance.

    Have you found a method to integrate SAAJ and JAXB? Or
    is better to use SAAJ only ?If I had to choose I'd go with SAAJ. It seems to me that's theoretically possible to use JAXB classes with SAAJ but I imagine if it is possible it would be a big pain in the ass.

  • The command oracg fails to generate Java source files

    I tried to use the command 'oracg -schema Openshipments.xdr' to generate Java source files from
    XML schema file Openshipments.xdr . Although the schema file is valid, the command oracg fails with following error messages :
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2026: (Error) Invalid attribute 'name' in element 'element'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2030: (Error) Element 'schema' has invalid namespace:
    'urn:schemas-microsoft-com:xml-data'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in
    'schema'file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column
    47>: XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in
    'schema'file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column
    47>: XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    ...... the above line is repeated many times
    Error: Schema Class Generator failed to generate classes.
    oracle.xml.parser.schema.XSDException: Invalid attribute 'name' in
    element 'element'

    Your schema is not a valid XML Schema. Please check up with the syntax.
    Thanks.

  • Help!: ERASED BADI generated class

    Hello, thank you for Reading.
    It seems that I have erased the SAP generated class for a BADI (CL_EX_FI_TAX_BADI_016), all other objects are still right, when verifying the BADI in SE18 message is:  class CL_EX_FI_TAX_BADI_016 does not exist.
    Also in SE80 the class BADI is not present in inside its packet.
    All implementations of the BADI are actives and gives "OK" when verified, it seems that only the main class is erased.
    Don't know what could I have done!!!! :-( , but I did again in quality machine when trying to fix!!!
    Please could anybody help me, to recover or regenerate the class in both machines/environtments?
    Thank you in advance
    Joan

    Hi,
    Please go through the SAP Note 1109827 - BADI regeneration which can solve your problem by regenerating the BADI.
    steps :
    Regenerate the BAdI to solve the problem.
    1)Execute transaction se18
    2)Enter the BAdI name
    3)Click on the Menu option 'utilities' and in the drop down on the 'regeneration' option.
    Thanks.,
    Kishor.

  • Another "no ComponentUI class for" dummy

    Hello,
    I'd like to change the look of the scrollbars of my application, which appear in JScrollPanes. Simply to start things I wrote a class
    import javax.swing.plaf.basic.BasicScrollBarUI;
    public class MyScrollBarUI extends BasicScrollBarUI {
    and included the call
    UIManager.put("ScrollBarUI", new MyScrollBarUI());
    in the application. Now what I get when the JScrollPanes are set up is the following error message:
    UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JScrollPane$Scr
    ollBar[,0,0,0x0,invalid,alignmentX=null,alignmentY=null,border=,flags=1,maximumS
    ize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncr
    ement=1]
    java.lang.Error
    at javax.swing.UIDefaults.getUIError(UIDefaults.java:392)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:422)
    at javax.swing.UIManager.getUI(UIManager.java:566)
    at javax.swing.JScrollBar.updateUI(JScrollBar.java:189)
    at javax.swing.JScrollBar.<init>(JScrollBar.java:140)
    at javax.swing.JScrollBar.<init>(JScrollBar.java:155)
    at javax.swing.JScrollPane$ScrollBar.<init>(JScrollPane.java:635)
    at javax.swing.JScrollPane.createVerticalScrollBar(JScrollPane.java:780)
    at javax.swing.JScrollPane.<init>(JScrollPane.java:242)
    at javax.swing.JScrollPane.<init>(JScrollPane.java:262)
    at MyApp.setupGui(Laore.java:406)
    at MyApp.<init>(Laore.java:114)
    at MyApp.main(Laore.java:96)
    What do I have to add to avoid this exception?
    Best regards,
    Bjoern

    I believe what you need there is the name of the class,
    not an actual instance, e.g.
    UIManager.put( "ScrollBarUI", "my.package.MyScrollBarUI" );: jay

Maybe you are looking for

  • Newbie: Java/JDBC best approach

    Hello, i am having trouble understanding the best approach to develop java/jdbc programs. I was told that the i could best load resultset data in to value objects loaded into a vector and handled by data access objects instead of using the resultset

  • Won't remember number of prints

    Photoshop CS5 Win 7 x64 Epson R1900 All latest updates-PS, printer and OS Select print--quanty 3 for example in the PS print dialog box. When the print preview comes up, status bar shows it's only going to print 1 copy which is what was printed last

  • Complicated Airport Question

    So here is my setup: 1) In the house, I have a PC hooked up to Optimum Online cable. I also have a Wireless G Linksys Router that I use when I use my PC Laptop in the house. 2) My mother gave me her "old" G5 which is beautiful. I put it in the garage

  • Spry select with xml data

    Can this be done with Spry and if so, how please? I would like to have a dropdown select on my page that is populated by the lastname field in my database. Once selected I would like to display a table of the data I selected from the dropdown. I am t

  • OT - Algorithm for personal use

    Hello, I was trying to find an answer to the following surreal condition. :) would appreciate if you could please guide. A few boys recently moved into a shared condo and now need to split the money that each one needs to pay for consumption of food.