B2B - Cliente e Transportadora

Fizemos uma alteração na solução standard do B2B.
Na função que chama o Proxy, eu criei um enhancement-point para manipular o campo CNPJ para identificar qual o tipo de mensagem será enviada, no meu caso EMAIL Ou WebService, até ai OK.
O problema é que assim que manda o XML para o cliente eu estou também mandando para a Transportadora o XML, usando o mesmo Proxy e interface PI, repliquei a lógica standard para o envio para a transportadora. Quando ocorre algum erro no envio por email para o Cliente ou para a Transportadora, ex: email não cadastrado, e para o outro envio vai com sucesso o status no monitor do GRC fica com sucesso e eu não consigo reprocessar a mensagem que deu erro. Se os dois cadastros estão OK, ele manda com sucesso para os dois sem problemas.
Existe a possibilidade de caso der erro em algum, deixar com mensagem de erro no monitor do GRC para ser reprocessado posteriormente? Mesmo que uma das duas mensagens tenha ido com sucesso, melhor mandar duas vezes do que não mandar.
Como o cadastro do cliente é mais dinâmico do que o da transportadora, clientes temos mais de 2.000 e transportadoras 3, pensei em assim que executasse a Proxy da interface para o Cliente, tentar identificar se deu erro no Ack, se deu erro eu nem continuo o processo para a transportadora, porém não consegui identificar no código quando deu erro ou não.
Alguém tem alguma idéia?
Desde já, muito obrigado.

Olá Maicon,
sim, esse report é executado via job (schedulando o /xnfe/process_reports, que chama ele via submit).
Nao vai adiantar vc fazer o =>get_acknowledgement() logo depois de manda pois demora um pouco pra mensagem ser executada pelo Integration Engine, Mapping Runtime, Adapter Engine etc.; até dar o erro, vai ter um deltaT considerável. E fazer um while ack() vazio, wait 5seconds, é sacanagem, eheehehehe.
Por isso sugeri, se quiser modificar, que pense em modificar o proprio form get_acknow, pois ele é executado via job, e uma hora vc pega o ack.
Mas note que não necessariamente vc quer que o usuário restarte o B2B manualmente. Como vc mesmo observou, por ser uma interface ***íncrona, o próprio Adapter Engine faz retries automáticos de envio depois de 5 minutos do ultimo erro. Somente em caso de erro permanente é q faz sentido fazer o restart; esse "erro permante" vc pode observar vendo o status da mensagem no Mesage Monitoring do RWB (componente Adapter Engine). Infelizmente nao sei dizer se esse nível de detalhamento do erro volta no ack que vai pro Integration Engine, se voltasse seria o mundo perfeito, e daí vc poderia fazer um IF status = vai tentar de novo, nao joga erro no monitor (talvez faça sentido um status novo, algo do tipo "erro mas vai retentar enviar sozinho"), else status = erro permanente, daí vc joga erro no monitor pro usuário poder restartar.
Se nao vier no ack, daí vc ainda pode tentar pensar numa maneira de ler isso das tabelas do Adapter Engine, que eu pessoalmente nao manjo mas que deve ter alguma coisa no forum de PI.
Abs,
Henrique.
PS: pensei que seu 1o nome fosse Rosa, rs... Desculpe.

Similar Messages

  • Java.lang.ExceptionInInitializerError

    I am trying to create a link to another system from an existing application developed on Oracle9i JDeveloper 9.0.2.822 using java version 1.3.1_02.
    This uses an API provided by the Vendor of the target system (webMethods 6.1) which uses the entrust libraries.
    I have successfully created a client class which successfully connects to the target system and returns data when run as a standalone class.
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\classes;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\client.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entbase.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcertlist.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcms.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entjsse.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entmisc.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entnsext.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp10.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp11.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp12.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp5.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp7.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entroaming.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entserverlogin.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmime.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmimev3.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entssl.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\enttunnel.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entuser.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entxml.jar;C:\oracle9iDev\ora92\jdev\lib\jdev-rt.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmt.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jdomorcl.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jdatum.jar;C:\oracle9iDev\ora92\jdbc\lib\classes12.jar;C:\oracle9iDev\ora92\jdbc\lib\nls_charset12.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsp.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsputil.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\jdev\lib\ojc.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\lib\xmlcomp.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jtester.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\help4-nls.jar;C:\oracle9iDev\ora92\jlib\help4.jar;C:\oracle9iDev\ora92\jlib\share.jar;C:\oracle9iDev\ora92\jlib\jewt4-nls.jar;C:\oracle9iDev\ora92\jlib\jewt4.jar;C:\oracle9iDev\ora92\jlib\oracle_ice5.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmtejb.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jctejb.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jcert.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jnet.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jta.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\j2ee\home\jaxp.jar;C:\oracle9iDev\ora92\j2ee\home\jdbc.jar;C:\oracle9iDev\ora92\j2ee\home\jaas.jar;C:\oracle9iDev\ora92\j2ee\home\jsse.jar;C:\oracle9iDev\ora92\soap\lib\soap.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\javax-ssl-1_2.jar;C:\oracle9iDev\ora92\jlib\jssl-1_2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.webMethods.GetAltoDetails
    Context context = null; context = new Context(); Instance of Context created No of details = 2
    Details[0] CountyText = Merseyside
    Details[1] CountyText = Merseyside Process exited with exit code 0.
    However, when invoke the class from withing the J2EE applicationI get the following error message when it tries to create an instance of the class 'Context':
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\oracle9iDev\ora92\j2ee\home\oc4j.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.evermind.server.OC4JServer -config C:\oracle9iDev\ora92\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Target URL -- http://10.45.4.28:8988/msd/Login/Login.jsp
    Context context = null;
    context = new Context();
    Caught ExceptionInInitializerError
    null
    java.lang.ExceptionInInitializerError: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException <<java.util.zip.ZipException: error in opening zip file>>      at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source)      at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source)      at com.wm.app.b2b.client.BaseContext.<clinit>(BaseContext.java:109)
         at MSD.OrderProcessingCTL.getAltoDetailsFromWebservice(OrderProcessingCTL.java:1795)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.framework.BaseRouterServlet.invokeControllerMethod(BaseRouterServlet.java:283)
         at com.framework.BaseRouterServlet.doPost(BaseRouterServlet.java:127)
         at com.framework.BaseRouterServlet.doGet(BaseRouterServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any ideas why this happening?

    I've managed to fix this myself now.
    It turned out to be a classpath issue. The J2EE application cannot find 'com.wm.app.b2b.client.Context' when it tries to create an istance of it.
    I resolved it by putting the client.jar and entrust folder in the the $JAVA_HOME\jre\lib\ext folder instead of ..\WEB-INF\lib.
    The following document is very revealing:
    http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf

  • Naming Service not availabe

    Hi,
    We are devloping Wrapper arround the Identity server sdk which is going to be placed on linux+weblogic platform. Everything is working fine without SSL enabled for access manager(identity server). When AM is running in SSL mode we are facing problem when our code is trying to create AuthContext. Following is the log trace from debug file
    01/20/2005 06:00:06:750 PM MST: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    authenticate...START
    01/20/2005 06:00:09:586 PM MST: Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default']
    ERROR: authenticate :
    com.sun.identity.authentication.spi.AuthLoginException(1):null
    com.sun.identity.common.L10NMessageImpl(2):Failed to create New AuthContext: Error while processing XML request
    Naming Service is not available
    com.sun.identity.common.L10NMessageImpl: Failed to create New AuthContext: Error while processing XML request
    Naming Service is not available
    at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1220)
    at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java:1142)
    at com.sun.identity.authentication.AuthContext.<init>(AuthContext.java:148)
    at com.abs.security.b2b.AuthenticationService.authenticate(Unknown Source)
    at com.abs.security.b2b.B2BIDSInterfaceImpl.authenticate(Unknown Source)
    at com.abs.security.b2b.client.B2BInitialAdminClientServlet.authenticate(Unknown Source)
    at com.abs.security.b2b.client.B2BInitialAdminClientServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    we took care of loading JSS libraries and AMConfig. properties file changes, trusted CA certificate import and also we added system property java.protocol.handler.pkgs=com.iplanet.services.comm
    any help is appreciated.

    Did you resolve this issue. I have just encountered it when I switched from non-SSL to an SSL port. The exception I get is the same as yours. The debug log indicates that the host name is incorrect:
    03/25/2005 03:23:57:841 PM EST: Thread[main,5,main]
    ERROR: updateNamingTable : Naming Service is not available^M
    03/25/2005 03:23:57:881 PM EST: Thread[main,5,main]
    ERROR: Naming service connection failed for https://dakota.abcd.com:4405/am
    server/namingservice
    com.iplanet.services.comm.client.SendRequestException: HTTPS hostname wrong: sh
    ould be <dakota.abcd.com>^M
    at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:131)^M
    at com.iplanet.services.comm.client.PLLClient.send(PLLClient.java:71)^M
    at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.jav
    a:335)^M
    at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java
    :308)^M
    at com.iplanet.services.naming.WebtopNaming.getServiceURL(WebtopNaming.java:12

  • Error when passing data through Business connector

    Dear all,
    we are getting below exception in BC trace while connecting to the remote url through SAP BC. Please guide us how to solve this problem.
    java.lang.RuntimeException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
         at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:516)
         at com.sap.conn.idoc.jco.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:72)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:141)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2621)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:1919)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:258)
         at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:320)
         at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:219)
         at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
         at com.wm.pkg.sap.rfc.ListenerThread.run(ListenerThread.java:70)
    Caused by: iaik.security.ssl.SSLCertificateException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
         at com.wm.app.b2b.client.Context.invoke(Context.java:1290)
         at com.wm.app.b2b.client.Context.invoke(Context.java:1106)
         at com.wm.app.b2b.client.Context.connect(Context.java:764)
         at com.wm.app.b2b.client.Context.connect(Context.java:706)
         at wm.server.remote.checkConnection(remote.java:888)
         at wm.server.remote.checkConnection(remote.java:861)
         at wm.server.remote.invoke(remote.java:397)
         at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:468)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:574)
            at com.wm.app.b2b.server.Service.doInvoke(Service.java:499)
         at pub.JSBC_remote.invoke(JSBC_remote.java:34)
         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:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:147)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:279)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:556)
         at com.wm.lang.flow.FlowState.step(FlowState.java:427)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:397)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:972)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:481)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:590)
         at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:454)
         ... 9 more
    Thanks and Regards,

    Dear sandeep,
    Thank you very much for your fast response.
    We have alredy downloaded certificate given by the other party and configured in BC.We are able to get the response from a from third party from url separtely from internet explorer.while executing by using service we are getting the above exception.
    Please give us some inputs on this issue.
    Thanks and  Regards,
    Edited by: chandra madapati on Dec 30, 2008 1:28 PM

  • SOAP over HTTPS Scenario.

    Experts,
    I am using PO 7.31 Single Stack.
    I am going to integrate with some Third-Party System ( B2B ) Scenario. As its B2B client want this to integrate this over SSL.
    We are using SOAP Communication channel at Source side.
    We have shared a PI WebService to third Party and told them to send data on this endpoint.
    I have changed following things in webservice( http to https and port no to ssl port no).
    Now Certficate part always confuses me So I have question over certificates/ PubliC/ Private Key :-
    1. Who will provide Certificate and to whom ??
    2. What kind of certificate will be shared accross parties ?? such as public private ?? PGP or X.509 ??
    I have gone through many blogs - but i am still confused.

    Hi Prabhat,
    1. Who will provide Certificate and to whom ??
    --->> Certificates are shared between both parties/systems. So PI needs to provide PI public key to receiver system and receiver system needs to provide there public key.
    2. What kind of certificate will be shared accross parties ?? such as public private ?? PGP or X.509 ??
    -->> The certificate can be X.509.
    Please refer the below blog and sap note 891877
    SSL (HTTPS) Configuration in SAP PI Systems as of release PI 7.10 – Step-by-step procedure
    regards,
    Harish

  • Nested Queries in SQL Utility/Prod versions

    Can you tell which XML product versions are in production....
    we are implementing a custom XML solution for a B2B client, and are using
    the 8i and the tools from oracle with quite a bit of custom code...
    I have a couple of questions.
    1. as suggested , i was able to get the oraclexmlsql.jar from the servlet zip and loading
    it solved the problem of the jdbc string being printed int he cursor
    syntax . it works from the xmlgen utility withing pl/sql. but when using OracleXML in a java prog the
    results still printout the jdbc string..
    any ideas...
    2. Is there anyway to supress the rownum attribute tag in the subquery (cursor) results...that is the setRowIdAttrName .... w/o using xslt
    3. We are implementing a solution using these tools.... we wanted to know which were the production versions.
    thanks.
    jayant

    | 1. as suggested , i was able to get the oraclexmlsql.jar
    | from the servlet zip and loading it solved the problem of
    | the jdbc string being printed int he cursor syntax . it
    | works from the xmlgen utility withing pl/sql. but when
    | using OracleXML in a java prog the results still printout
    | the jdbc string.. any ideas...
    Could only be a CLASSPATH problem difference in your two
    tests.
    | 2. Is there anyway to supress the rownum attribute tag in
    | the subquery (cursor) results...that is the
    | setRowIdAttrName .... w/o using xslt
    Not at this time. Rownum supression on the subquery should
    probably follow your settings on the main query. I'll
    suggest to the devs.
    | 3. We are implementing a solution using these tools.... we
    | wanted to know which were the production versions.
    XDK Components for XML and XSLT are production.
    XML SQL Utility and XSQL Servlet are still Technical
    Previews and as such are not yet production.
    null

  • JCo Client Trace in B2B Application (CRM 4)

    hi,
    does anyone know how to activate the Jco Trace in the b2b application of CRM 4?
    In our B2B Shop with CRM 7 there is an option in xcm to turn on "JCo.client.trace". This option is not available in the crm4 shop.
    Can i activate the trace somewhere else?
    best regards
    Tobias

    Hi Tobias,
    The ways to activate the JCo traces are all explained in note 628962.
    I hope it helps.
    Thanks,
    Anderson

  • CRM b2b IC web client gives communication error

    Hi Guys,
    I am getting error while invoking CRM_IC client on CRM 2007 system
    the error is as below
    Error when processing your request
    What has happened?
    The URL http://socw3s1er65.solnet.com:8000/sap/bc/bsp/sap/ic_base/main.htm was not called due to an error.
    Note
    The following error text was processed in the system CR5 : Exception condition "COMMUNICATION_ERROR" raised.
    The error occurred on the application server SOCW3S1ER65_CR5_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CREATE_SESSION of program CL_SAM_BSP_SESSION_LAUNCHER===CP
    Method: START_WORKER_SESSION of program CL_ICWC_SESSION_REGISTRY======CP
    Method: ONCREATE of program CLO23UTXK1DHIM8WX0QZD2TBW2KZ9CP
    Method: %_ONCREATE of program CL_O23UTXK1DHIM8WX0QZD2TBW2KZ9CP
    Method: DO_INIT of program CL_BSP_PAGE===================CP
    Method: GET_PAGE_CONTEXT_CURRENT of program CL_BSP_CONTEXT================CP
    Method: ON_REQUEST_ENTER of program CL_BSP_RUNTIME================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    I have applied the basic note which talks about fully qualified hostname.
    Please help.
    Thanks
    Prasanna

    hi ,
    ST22 also shows the same error .and dev_w0 shows error
    ABAP Program CL_SAM_BSP_SESSION_LAUNCHER===CP        .
    Source CL_SAM_BSP_SESSION_LAUNCHER===CM002      Line 23.
    Error Code RAISE_EXCEPTION.
    Module  $Id: //bas/700_REL/src/krn/runt/abfunc.c#16 $ SAP.
    Function ab_jfune Line 2561.
    This is working fine in other system, will kernel update be of any help.
    Thanks
    Prasanna

  • Processo B2B aguardando processamento em background - NFE 3.10

    Boa noite,
    após implementarmos a versão 3.10 da NFe todos os nossos e-mails de XML para nossos parceiros no GRC ficam aguardando que alguém clique no botão "Continuar processo B2B", só então eles são enviados.
    Verificando o status do B2B constatei que ele apresenta o status "Esperando por processamento em background".
    Alguém saberia por favor me dizer qual configuração esta faltando para que o envio fique automático?
    Agradeço antecipadamente.
    Helio Camargo

    Helio,
    Você pode agendá-lo de 1 em 1 minuto ou 5 em 5 minutos, vai de acordo com a disponibilidade de recursos (Background Working Process) que seu servidor possui.
    http://help.sap.com/saphelp_nw70/helpdata/EN/4a/2d513897110872e10000009b38f889/content.htm
    Em vários clientes onde passei, 5 minutos de intervalo entre as execuções já era suficiente.
    Ele vai processar apenas os processos que estão com status inicial.
    []'s   

  • Licença de SAP Netweaver Portal para Processo de B2B

    Pessoal, boa tarde!
    Alguém sabe me dizer se para utilizar o SAP Netweaver Portal para os processos de B2B é necessário comprar licença SAP ou está incluso no pacote onde a empresa compra o GRC e o PI?
    Essa licença do PI que a empresa tem direito nessa compra, é somente para o processo de NF-e ou ela pode utilizar para integração com outros processos e sistemas?
    No aguardo, obrigado.
    Danilo

    Danilo,
    a licenca do NFE inclui:
    - Netweaver runtime: licença Web AS (ABAP e Java) para rodar os componentes SLL-NFE e SLL-NFE-JWS.
    - PI runtime: exclusivamente para utilizacao das interfaces do XI Content de NFE (SWCV SAP SLL-NFE 1.0).
    Se vc precisa do PI para outras interfaces e/ou precisa do Portal para disponibilizacao de telas para clientes/fornecedores, essas licencas realmente estao fora da licenca do SAP NFE 1.0.
    Att,
    Henrique.

  • Erro no envio de e-mail em múltiplas faturas para um mesmo cliente

    Bom dia.
    Estou com um problema em um cliente onde ao longo do dia algumas notas faturadas para o mesmo cliente não tem o e-mail enviado para o mesmo. Ou seja, as notas são faturadas, porém o e-mail vai para o e-mail default de erro (setado no java). Alguém já passou por uma situação parecida?
    Agradeço a ajuda desde já.
    Abraços,
    Gabriel H. Monteiro

    Olá Gabriel,
    o consultor de PI/Java teria que analisar em que ponto o B2B está falhando.
    Pode ser no mapping (verificável na SXMB_MONI), no adapter (Audit Log no comm channel monitoring) etc.
    Algumas perguntas relevantes:
    - Isso só ocorre pra um cliente?
    - Vcs tem o B2B dinamico (com RFC Z pra ler email)?
    - Se sim para as 2 acima, a chamada da RFC via SE37 passando o CNPJ desse cliente funciona (i.e. retorna o email)?
    Abs,
    Henrique.

  • Erro "B2B: erro de sistema PI"

    Olá a todos. Aplicamos a versão 2.0 do GRC, Support Package 15 e após isso, quando uma Nota Fiscal é cancelada, o cliente não recebe o XML desse cancelamento, apresentando um erro no GRC como: B2B: erro de sistema PI. Nessa nova versão esse envio é obrigatório. Alguém já passou por esse erro? Tem alguma idéia do que pode ser?
    Obrigado a todos que puderem ajudar
    Marcos Cristiano Ickert
    Basis

    Marcos,
    Alem de configurar o Cenário para o novo namespace 006, no Design para o Produto/SWCV usado o B2B você precisa alterar o Interface Mapping(7.0)/Operation Mapping(7.1) de Envio(NTB2B_procNFe_TO_procNFe)/Cancelamento(CTB2B_procCancNFe_TO_procCancNFe) para o namespace 006, assim como já deve estar para a versão 005a.
    (isso apenas para os objetos do seu produto/swcv)
    OBS.: caso vocês utilizem a solução igual ou parecida com o que Henrique postou no forum.
    E caso você precise reiniciar esse erro de B2B no GRC, como você está SPK 15 será necessário aplicar a nota 1512936 para tirar o dump que gera.
    Espero que ajude.
    Abraço,
    Bruno Lima

  • Dúvidas sobre B2B

    Bom dia ALL,
    Tenho algumas dúvidas  a levantar em relação ao B2B - XML Email.
    Primeiro ponto)
    Caso o fornecedor envie uma nota fiscal que esta em duplicidade, usando ou não a solução GRC, vou receber duas vezes na caixa de e-mail ? Se isso acontecer, vou possuir dois registros iguais no monitor de B2B ?
    Segundo ponto)
    Caso o cliente reenvie os e-mails, o PI vai reler os arquivos  xml´s na caixa de email, e isso vai me gerar duplidicade no monitor de B2B ? Ou vai cobrir o registro antigo ? Pois a chave de acesso vai ser a mesma , apenas os horários diferentes.
    Terceiro ponto)
    Caso o cliente me envie um e-mail com 5 xml´s em anexo, o PI verifica apenas um arquivo XML ou verifica todos e os registras no monitor de B2B ?
    Se o cliente enviar 5 arquivos em anexo, é possível abrir cada arquivo ? Se for, precisa fazer alguma configuração de module ? Qual ?
    Obrigado atenção.
    Atenciosamente,

    O problema maior é que sao tantos "IFs" que acaba sendo praticamente impossivel tratar isso de maneira simples em um unico canal de comunicacao, usando apenas os modules/adapter standard.
    Pra ter um tratamento geral, que consiga processar independente de como veio (1 ou + XMLs, zipado, etc.), vc vai precisar desenvolver um module que vai fazendo essa sequencia de IFs (inclusive, pode ateh incluir uma validacao pra ver se o XML é um XML valido de NFe).
    Abs,
    Henrique.

  • B2B, multiple customers, and 'similar apps' limitations?

    Hey Folks,
      I have an app that is currently distributed via the B2B store. We have another customer coming online and we also want to distribute to them via the B2B store. There are a couple of concerns though. First, the two seperate companies will have different connection settings and different branding. Second, the iOS app has server dependencies, so a client can not upgrade until their company's server is upgraded. And both customers have different testing cycles and lead times. So having a single B2B app isn't going to fit our needs well.
    In the past we have worked around the issue for testing by working with our first customer directly. They have an IT staff and enrolled in the Enterprise program, so we can send them the code base and they can build and distribute it to their testing team. Our next company (and likely many of the others to follow) don't have nearly as robust IT staffs and won't be able to manage building and distributing the app internally.
    Our thought then, was to create 2 seperate B2B apps for each customer. So we could publish a test version (tied to the server/version of their testing environment) and a production version. This gives us complete control over when each customer takes a new version of the iOS application into testing or production. It gives us the ability to ensure that their servers are on the correct version and that the environments are good to go. Along with managing the branding and other customer-specific aspects of the application.
    The concern though, is that with even just a pair of customers, we will have 4 copies of our application that are almost identical. Will this run afoul of the 'similar apps' rule? Is there another option? Are there better ways? Anyone else run into something like this before?
    Thanks,
    -Rick

    Hey Folks,
      I have an app that is currently distributed via the B2B store. We have another customer coming online and we also want to distribute to them via the B2B store. There are a couple of concerns though. First, the two seperate companies will have different connection settings and different branding. Second, the iOS app has server dependencies, so a client can not upgrade until their company's server is upgraded. And both customers have different testing cycles and lead times. So having a single B2B app isn't going to fit our needs well.
    In the past we have worked around the issue for testing by working with our first customer directly. They have an IT staff and enrolled in the Enterprise program, so we can send them the code base and they can build and distribute it to their testing team. Our next company (and likely many of the others to follow) don't have nearly as robust IT staffs and won't be able to manage building and distributing the app internally.
    Our thought then, was to create 2 seperate B2B apps for each customer. So we could publish a test version (tied to the server/version of their testing environment) and a production version. This gives us complete control over when each customer takes a new version of the iOS application into testing or production. It gives us the ability to ensure that their servers are on the correct version and that the environments are good to go. Along with managing the branding and other customer-specific aspects of the application.
    The concern though, is that with even just a pair of customers, we will have 4 copies of our application that are almost identical. Will this run afoul of the 'similar apps' rule? Is there another option? Are there better ways? Anyone else run into something like this before?
    Thanks,
    -Rick

  • ISA B2B logon  Error: No valid private connection for internet user

    Hello ,
    i used isauseradm to create a user zzweb with all authorizations for B2B..
    now when i try to log to
    http://host:port/b2b/b2b/init.do  with the user zzweb
    i have a runtime error with the logs :
    EXCEPTION]
    #1#com.sap.isa.businessobject.BORuntimeException: Error getting private connection for internet user:com.sap.isa.core.eai.BackendException: Error: No valid private connection for internet userzzweb
         at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)
         at com.sap.isa.user.businessobject.UserBase.login(UserBase.java:313)
         at com.sap.isa.businessobject.User.login(User.java:143)
         at com.sap.isa.user.action.UserActions.performLogin(UserActions.java:295)
         at com.sap.isa.user.action.UserActions.performLogin(UserActions.java:368)
         at com.sap.isa.user.action.UserBaseAction.performLogin(UserBaseAction.java:126)
         at com.sap.isa.user.action.LoginBaseAction.ecomPerform(LoginBaseAction.java:77)
         at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)
         at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.sap.isa.core.RequestProcessor.processActionPerform(RequestProcessor.java:674)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.sap.isa.core.RequestProcessor.process(RequestProcessor.java:391)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at com.sap.isa.core.ActionServlet.process(ActionServlet.java:243)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.tealeaf.capture.LiteFilter.doFilter(Unknown Source)
         at com.sap.isa.isacore.TealeafFilter.doFilter(TealeafFilter.java:61)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:373)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    what does this error means..?
    i also realised that zzweb  was not created in CRM backen? should it be created ?
    many thnx for help ..
    Message was edited by: Blackman

    Its a late response... but if someone gets the same issue here is the solution.
    When you register try uppercase password . That should take care of that issue.
    The problem is with function module CRM_ISA_IUSER_SWITCH , Note 946536.
    Although the note says 5.0 the problem exists with ISA 4.0 too

Maybe you are looking for

  • Help required in a Stored Procedure

    I have a stored procedure as follows: create or replace PROCEDURE ACCOUNT_HISTORY_PROC_TEST (v_accountid IN VARCHAR2 DEFAULT NULL,                                         v_enddate IN Date DEFAULT NULL,                                         cv_1 IN

  • Oracle 10g ExpressnEdition

    i hv installed oracle 10g on windows xp i have done local intranet settings - i.e. 127.0.0.1 but Home page is displayed sometimes and sometimes it gives DNS error -page can not be displayed sometimes it gives resource not found also oracle port is no

  • Accessing Enteprise Manager via Cluster Scan VIP

    Hello all... We have a few clusters set up, and we've been accessing Enterprise Manager for these via the cluster scan IP address. For some unknown reason we now cannot access two of the three OEM installations via the scan IP, only by the IP address

  • Unable to calculate the Sub totals

    Hi, Currently we are in BI7. I had created a query based on aging buckets. it has all the calculations in the columns section. I have to calculate the sub totoals based on a particular info object Customer. For that I made the Result rows of the ream

  • XMII Browser Applet not giving data

    Hi all, I am using a browser applet in a Web Page. It is working fine in development server. It even worked in Test environment. But when we shifted code to Production environment, It is not giving data. Please let me know what might be the reason. A