6 Replies Latest reply on Apr 24, 2014 10:57 PM by Saranya Gotrala

    Saranya

    Saranya Gotrala Newbie

      Hi everyone,

      I am trying to integrate salesforce with EBS through JbossESB.i am new to jbossESB.please help me out

       

      ========================================================

       

      Scenerio:

       

      we have to publish a webservice in jbossESB and i have to provide endpoint URL to salesforce to get the payload and after getting the payload i should be inserted into database.

       

      Problem:

      I am stuck in publishing the webservice.it means i have to generate a end point url.please help me out how to generate it.

        • 1. Re: Saranya
          Tom Cunningham Master

          Have you taken a look through the quickstarts yet?    The publish_as_webservice quickstart would be a good starting place.

          • 2. Re: Saranya
            Saranya Gotrala Newbie

            Thanks tom,

            yes i have implemented it but i am not getting response when i am working with soap UI.i am getting the following error

             

            08:03:09,334 ERROR [[LoanProcessRequests_LoanApprovalService]] Servlet.service() for servlet LoanProcessRequests_LoanApprovalService threw exception

            java.lang.NoClassDefFoundError: Could not initialize class javax.xml.soap.FactoryLoader

              at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:64)

              at org.jboss.ws.core.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:121)

              at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:136)

              at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)

              at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:294)

              at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:193)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:455)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)

              at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)

              at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:724)

            • 3. Re: Saranya
              Tom Cunningham Master

              What version of JBoss ESB / JBoss AS are you using respectively?

              • 4. Re: Saranya
                Saranya Gotrala Newbie

                i am using jboss as 5.1 and esb 4.12  and java 1.6.

                • 5. Re: Saranya
                  Tom Cunningham Master

                  I'd revisit looking at the quickstart and compare it to what you have to see if you can catch an error you are making.     I just tried the publish_as_webservice example with that configuration and it works fine.

                  • 6. Re: Saranya
                    Saranya Gotrala Newbie

                    thanks for your response tom.can i know getting response from your soap ui.Can  i send my project so that u can deploy it & check whether it works or not??