Synchronous interfaces missing in Java proxy generation

Hi,
In PI 7.1 ESR, in "Java proxy generation" wizard, it only lists the Asynchronous interfaces from the software component version. None of the synchronous interfaces are listed.  how can I solve this? I need to generate a java proxy for a syncronous interface.
thanks and regards,
Raghu

Make sure that the inteface pattern is "stateless (XI 3.0 compatible)".

Similar Messages

  • Error in java proxy generation due to xs:choice tag

    Hi all,
    I'm trying to generate a java proxy in the SAP XI design.
    The message interface I'm using is based on an external definition which i imported from an xsd file.
    The problem is that XI doesn't allow me to generate the java proxy because in the xsd schema the tag <xs:choice> is present and XI cannot handle it (just in this case, because the external definition works fine).
    Does anybody know how to solve the problem or manage to generate the javaproxy anyhow?
    Thanks in advance,
    Daniele

    > Replace <xs:choice> tag with  <b><xsd:choice> tag
    > </b>
    > that should solve the prob.
    I tried to change the tag (replacing also other <xs:...> tags in order to obtain a valid xsd) but the problem didnt change.
    i'm almost convinced that tag is not supported in java proxy generation (but it is for external definitions...)

  • Java Proxy Generation not working - Support for Parallel Processing

    Hi Everyone,
    As per SAP Note 1230721 - Java Proxy Generation - Support for Parallel Processing, when we generate a java proxy from an interface we are supposed to get 2 archives (one for serial processing and another suffixed with "PARALLEL" for parallel processing of jaav proxies in JPR).
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1230721
    We are on the correct patch level as per the Note, however when we generate java proxy from the IR for an outbound interface, it genrates only 1 zip archive (whose name we ourselves provide in the craete new archive section). This does not enable the parallel processsing of the messages in JPR.
    Could you please help me in this issue, and guide as to how archives can be generated for parallel processing.
    Thanks & Regards,
    Rosie Sasidharan.

    Hi,
    Thanks a lot for your reply, Prateek.
    I have already checked SAP Note 1142580 - "Java Proxy is not processing messages in parallel" where they ask to modify the ejb-jar.xml. However, on performing the change in ejb-jar.xml and while building the EAR, I get the following error:
    Error! The state of the source cache is INCONSISTENT for at least one of the request DCs. The build might produce incorrect results.
    Then, on going through the SAP Note 1142580 again, I realised that the SAP Note 1230721 also should be looked onto which will be needed for generating the Java proxy from Message Interfaces in IR for parallel processing.
    Kindly help me if any of you have worked on such a scenario.
    Thanks in advance,
    Regards,
    Rosie Sasidharan.

  • Regarding accesing integration builder tool for java proxy generation

    Hi Abapers,
        How can I access integration builder tool to generate java proxy via SAP XI server in my ECC 5.0?
        Please give me the clear idea of that.
    regards
    Subash

    Hi Marinel,
    The support for XSD import is limited on 10.1.2. If you can, you should consider moving to the 10.1.3 preview as the support for document style web services has improved. The other option will be to inline the schema in your WSDL.
    Eric.

  • Java proxy generation exc. for web service correspond. to a BPEL process

    Hello,
    I wrote a BPEL process (having two client methods) that is exposed as an RPC web service. One of the web services invoked by this BPEL process uses a complex data type that is defined in a separate schema XSD file (imported in the corresponding WSDLs). This complex data type is also returned by one of the methods exposed by the BPEL process. From the BPEL point of view everything is fine now: the process was successfully built, deployed and initiated from the BPEL console.
    When I tried to generate the web service Java proxy classes from the BPEL process corresponding WSDL, I obtained an error signaling that complex type defined in the imported XSD file cannot be found. The exception is:
    [java] oracle.wsdl.internal.WSDLException: Schema type not found: QName(htt
    p://oracle/bpeltest/array/ArrayTrial.xsd, ArrayOforacle_bpeltest_array_Customer)
    [java] at oracle.wsdl.DefinitionsImpl.findSchemaType(DefinitionsImpl.ja
    va:511)
    [java] at oracle.wsdl.toolkit.XSDJavaTypeMapper.getArrayComponentType(X
    SDJavaTypeMapper.java:169)
    [java] at oracle.wsdl.toolkit.XSDJavaTypeMapper.getJavaType(XSDJavaType
    Mapper.java:141)
    [java] at oracle.wsdl.toolkit.XSDJavaTypeMapper.generateBeans(XSDJavaTy
    peMapper.java:251)
    [java] at oracle.wsdl.toolkit.XSDJavaTypeMapper.getJavaType(XSDJavaType
    Mapper.java:156)
    [java] at oracle.wsdl.toolkit.XSDJavaTypeMapper.getJavaType(XSDJavaType
    Mapper.java:106)
    [java] at oracle.wsdl.toolkit.MethodGenerator.declareMethod(MethodGener
    ator.java:152)
    [java] at oracle.wsdl.toolkit.MethodGenerator.generateMethod(MethodGene
    rator.java:35)
    [java] at oracle.wsdl.toolkit.ProxyGenerator.generateJavaProxy(ProxyGen
    erator.java:333)
    [java] at oracle.wsdl.toolkit.ProxyGenerator.generateJavaProxy(ProxyGen
    erator.java:96)
    [java] at oracle.wsdl.toolkit.ProxyGenerator.generateJavaProxy(ProxyGen
    erator.java:68)
    [java] at oracle.j2ee.ws.tools.WsAssmProxyGenerator.generateJavaProxy(W
    sAssmProxyGenerator.java:165)
    [java] at oracle.j2ee.ws.tools.WsAssmProxyGenerator.processProxy(WsAssm
    ProxyGenerator.java:134)
    [java] at oracle.j2ee.ws.tools.WsAssmProxyGenerator.clientGenerate(WsAs
    smProxyGenerator.java:112)
    [java] at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:96
    [java] at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)
    [java] Exception in thread "main"
    When I tried to generate the stub from JDeveloper, the complex type was replaced with a certain dummy "UnknownType".
    Do you have any hint?
    Thanks in advance!
    Regards,
    Marinel

    You should post this question to the JDev Web Service forum. I know that they had some limitation in 9.0.4 with some complex types. It is my understanding that those problems have been addressed in 10.1.3. They would be the right people to confirm this. -Edwin

  • Read Synchronous interface data from Java Stack

    All,
    I am working on a report to report synchornous timeouts to the management. Though I can see the synchronous messages for classical and ICO scenarios in message monitoring. I cannot find those messages using msg_id i get from message moniroting audit_log in bc_msg or bc_msg_audit table.
    Can someone let me know from which table can I pull this information.
    Thanks.

    I tried to analyse this, did a poc and what i found was.
    When i was creatingan Asynchronous ICO and running it. An entry was getting created in bc_msg table.
    But
    When i was creating a Synchronous ICO and running it. No entries were created in bc_msg table. I have also tried after enabling the logging and storing using the "user scenario specific configuration" option, still no luck. No entries were found in bc_msg table.
    I too wonder where the information will be stored.
    Regards
    Osman

  • Client Java Proxy - ?xml version="1.0" encoding="UTF-8" tag missing

    Hi All,
    I have a Java Proxy to File scenario. I am getting the output in the SAP XI but when i check the XML payload <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> is missing from it. Rest of the document is coming fine.
    Any idea how to fix it up?
    Thanks and Regards,
    Anurag Mahendru.

    Here it is:
    Re: ABAP Proxy -> XI - > File on a Website
    As I know, this is still on discussion, if the Java Proxy generation will be replaced by web service proxy generation.
    But existing Java Proxy applications definitivley  will run in PI 7.1 as well.
    Regards
    Stefan

  • How to generate java proxy in PI 7.1

    Hi All,
    How do I generate java proxy in PI 7.1
    I am unable to see the "Generate Java Proxy" in the Tools menu in the Integration Builder
    Edited by: Piyush Mathur SAP on Apr 15, 2010 11:14 AM
    Edited by: Piyush Mathur SAP on Apr 15, 2010 11:14 AM

    hi ,
    As mentioned in the Question, I am unable to find the "Java Proxy Generattion" link in the Int builder.
    Also the help doc says:
    Java proxy generation is no longer supported in subsequent releases. For new developments or when making significant changes to a service interface, use Java proxy generation in SAP NetWeaver Studio instead. More information: Creating Outside-In Web Services, SAP NetWeaver Developer Studio.
    Does that mean that I can no longer generate java proxy from Int builder?
    regards,
    Piyush

  • Regarding Java proxy in PI 7.1

    Hi Folks,
    I want to implement the java proxy at sender side in one scenario and receiver side in another scenario.
    But when I open the IR> Goto Menu> Java Proxy Generation, it opens one pop up and asking the Archieve (you want to create new one or edit the existing file) file, what is this file and what is this type of file?
    Another is, after giving some name then it asks the software component version, when I give this SWCV then it is displaying " ...some ID.. Doesn't contain any active message interfaces"?
    What is the reason?
    Thanks
    Ramesh

    Hi Thanks for your reply.
    But when I open the IR> Goto Menu> Java Proxy Generation, it opens one pop up and asking the Archieve , after give this file  then it asks the software component version, when I give this SWCV then it is displaying " ....... ID Doesn't contain any active message interfaces"? What is the reason?
    Thanks
    Ramesh

  • Java Proxy & NWDS

    Hi friends,
                   I need very simple and clear steps as to what i should do as far as Java proxy is concerned.Steps to do in NWDS,.
    Also am new to Proxies.....          What about the Java code.....I don know Java....
    Can i find relevant code and screen shots with both client and server Java proxies.
    Scenarios with screen shots if possible.
    Please post as soon as possible.....
    Thanks & Regards
    Deepika K

    Hi
    NWDS
    NWDS - NetWeaver Developer Studio - editor, etc used by the developer to code. Developers way to interact with the infrastructure.
    NWDS is just a development environment with all robust development tools.
    It can run j2ee,j2se and sap applications also.
    It is an interface to access NWDI services and applications.
    SAP NetWeaver Developer Studio (NWDS) for more details follow : http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    SAP NetWeaver Java Development Infrastructure (NWDI) for more details follow http://help.sap.com/saphelp_nw2004s/helpdata/en/44/312b1a8bea3ec8e10000000a1553f6/frameset.htm
    JAVA PROXIES
    You can generate Java proxies for J2EE applications on the SAP Web AS. Proxy generation generates J2EE beans and proxy classes for this purpose. The generated beans satisfy the EJB 2.0 standard.
    Java proxy generation is part of the Integration Builder and has the following functions:
    ·        Create an archive (as a Jar or Zip file) by using one or more message interfaces from the same software component version. The archive contains bean and proxy classes.
    ·        Open existing archives to regenerate proxies. Proxy generation knows the original message interfaces for which proxy objects are contained in the archive.
    Selecting Message Interfaces
    You can call Java proxy generation from the design maintenance screen of the Integration Builder in the following ways:
    ·        From the main menu, choose Tools ® Java Proxy Generation.
    ·        From the context menu, choose Java Proxy Generation... for message interfaces in the navigation tree.
    The latter method has the advantage that the selected message interface and the corresponding software component version can be copied directly. You can only generate proxy classes for message interfaces and not for sub objects of message interfaces.
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    Hope this clears your doubts
    Thanks
    Saiyog

  • New way generating of Java Proxy to support parallel processing

    Hi All!!
    To the Java Proxy Server supports the processing of several executions in parallel way, a new way or generation has been released. On the Integration Directory, when you select an Inbound Message Interface and go to Java Proxy Generation, 2 .zip archives are generated, one for the execution in sequential way (XXX.ZIP) and other for the execution in parallel way (XXX_PARARELL.ZIP).
    I have tried to generate the Java Proxy only with XXX_PARARELL.ZIP and I think is not possible, because no EJB Candidate is generated.
    Somebody knows how I can generate the Java Proxy?
    Thanks and regards,
    Manuel Míguez.

    a bit of light reading for you
    http://onesearch.sun.com/search/developers/index.jsp?and=java.lang.ClassFormatError+Bad+magic+number&nh=10&Search.x=26&Search.y=11&phr=&qt=&not=&field=&since=&col=devforums&rf=0

  • Error in generating the Java Proxy

    Hi all,
    While generating a Java Proxy, I am getting an error :
    Unable to generate proxies
    Construct not supported
    Can anybody please suggest the possible reason and solution for the same.
    Thanks and best regards,
    Kulwant

    In the Integration Repository documentation for External Definitions you find a hint where you can find a document describing restrictions on the handling of XSD.
    In that document you can see, that references to global elements are not supported by the java proxy generation.
    Therefore, you have to edit your document accordingly.
    regards
    chandra

  • Regarding Java proxy

    Hi Abapers,
        In my ECC 5.0 systems, cross application components are ther in the initial home page. Is this enough for Java proxy generation?..or separate SAP XI server should be installed to generate java proxy?..because i don't know how to get in to integration builder tool for java proxy generation in my ECC 5.0 version.
    Please provide your valuable replies to me as early as possible.

    Use tcode sxmb_ifr , you cannot acces Intergration builder from R/3 ie your ECC 6.0 try accesing vai your XI server .
    SP mean support pack .

  • Synchronous-Asynchronous Interface with Java Proxy

    Hi Gurus!!
    I have an Interface which begins on SAP with a call to an asynchronous ABAP Proxy . Xi sends the message to Java Proxy Server. This Java Proxy Server calls to a Java Proxy Client that sends the response to SAP through XI. This response is taken on SAP on ABAP Proxy Inbound.
    These arquitechture is a requirement, because the time between the request and the response could be 30 minutes and the user shouldn't be waiting the response synchronously.
    Is there any way to the user could manage the response in the same "thread" that he opened in the request?
    I hope have been clear enough.
    Thanks and regards,
    Manuel Míguez.

    The only possibility I could think of is using correlation. There also you have the limitation of java proxy as it does not support adapter modules. Could you use SOAP for your scenario?
    JMS receiver could use inherent properties to define correlations. But as your case is non-JMS, you have to define it manually. Say, if your receiver system is X, then the request from XI to system X should carry its message ID information. While X created the response message, it should use this message ID as the correlation ID for the response message. This could be achieved using an adapter module.
    I guess you were not looking for such a complex solution.
    Regards,
    Prateek

  • RFC - Java Proxy (Synchronous) invoking method

    Hi,
    I have problems to call my inbound java proxy.
    My scenario consist of send RFC -> Java Proxy (Synchronous)
    Proxy this registered
    http://hcp095.intra.csc.es:50100/ProxyServer/register?ns=http://csc.es/xi/rca&interface=Z_RCA_SCS&bean=ZRCASCS_PortTypeBean&method=zRCASCS
    ejb-jar.xml:
    <ejb-jar>
        <description>EJB JAR description</description>
        <display-name>EJB JAR</display-name>
        <enterprise-beans>
            <session>
                <ejb-name>ZRCASCS_PortTypeBean</ejb-name>
                <home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>
                <remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>
                <local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>
                <local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>
                <ejb-class>es.csc.xi.rca.ZRCASCS_PortTypeBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
            </session>
        </enterprise-beans>
    </ejb-jar>
    Class Impl:
    package es.csc.xi.rca;
    public class ZRCASCS_PortTypeImpl extends AbstractProxy implements ZRCASCS_PortType {
    public ZRCASCSResponse_Type zRCASCS(ZRCASCS_Type parameters) throws ZRCASCSException_Message_Exception, SystemFaultException,  ApplicationFaultException{
            //throw new RuntimeException();
            Rca_ws a = new Rca_ws();
            return a.zRCASCS(parameters);
    Error: XI_Monitor 
    <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method zRCASCS of proxy bean $Proxy305: cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method zRCASCS of proxy bean $Proxy305: cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    Error: defaultTrace
    #hcp095.intra.csc_XID_19271950#ANGUZMAN#ec20b7f019f611de98340011259e6830#
    SAPEngine_Application_Thread[impl:3]_36##0#0#Error##Plain##
    #com.sap.aii.proxy.xiruntime.core.XmlProxyException: Error invoking method zRCASCS of proxy bean $Proxy366:
    cannot assign instance of com.sap.guid.GUID to field com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl.guid
    of type com.sap.guid.IGUID in instance of com.sap.aii.proxy.xiruntime.core.MessageSpecifierImpl
         at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:192)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:225)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:194)
         at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:126)
         at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:83)
         at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:158)
         at com.sap.aii.proxy.xiruntime.sbeans.JPRLocalLocalObjectImpl0_0.onMessage(JPRLocalLocalObjectImpl0_0.java:175)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:276)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1049)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:119)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:850)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:180)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    If somebody can help me.
    Thank you very much

    Solved!!!
    to assign library references to the project application-j2eeengine.xml
    com.sap.aii.proxy.xiruntime
    com.sap.aii.messaging.runtime
    com.sap.xi.util.misc
    com.sap.guid

Maybe you are looking for

  • Do I have to buy each (.6, .7, .8, .9) or just buy Maverick?

    New to MAC.  I want to goto Maverick.  I have 10.5.8.  Do I have to buy each (.6, .7, .8, .9) or just buy Maverick?  Thank you.

  • Bursting problem

    Hi all, i've understood the bursting problem i'he had since my first tests on it, i've posted a couple of threads but without any results. Now i've found the reason and it is very very strange. As i wrote in my threads my test was made on a single (a

  • Change the tab color

    Hi, i'm unable to change the tab color of panelTabbed item, i've tried the following in a css sheet: af|panelTabbed::tab:selected { font-style:italic; background-image: url("../Images/section_label_body.jpg"); border-bottom-color: red; border-color:

  • How come my pc can't not see something  (video,flash)  on IE9?

    my pc just buy for 1 week only when i updata finished then can't see just only have sound and (balck) help!!!!

  • Changing the alignment of the window title in a jFrame...

    hi. is it possible to change the alignment of the window title in a jFrame from left to center / right? really appreciate your help on this one. tnx.