2 Replies Latest reply: Jan 21, 2013 10:08 AM by Bruno Neves Alves RSS

    GetTPAConfigService B2B Webservice API not Working

    Bruno Neves Alves
      Hi there.

      I'm getting the following exception when calling GetTPAConfigService webservice from B2B API:


      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Client</faultcode><faultstring>An attribute cannot appear more than once in the same start tag.</faultstring><faultactor>http://the_host:8001/b2b/services/GetTPAConfigService</faultactor><detail><tns:error xmlns:tns="http://xmlns.oracle.com/integration/b2b">oracle.xml.parser.schema.XSDException: An attribute cannot appear more than once in the same start tag.
           at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:363)
           at oracle.tip.b2b.ws.provider.B2BProvider.getSchema(B2BProvider.java:1296)
           at oracle.tip.b2b.ws.provider.B2BProvider.validate(B2BProvider.java:1217)
           at oracle.tip.b2b.ws.provider.B2BProvider.processMessage(B2BProvider.java:451)
           at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
           at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
           at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
           at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
           at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
           at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
           at oracle.tip.b2b.ws.provider.B2BProviderServlet.doPost(B2BProviderServlet.java:69)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
           at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
           at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
           at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
           at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
           at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
           at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
           at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      </tns:error></detail></env:Fault></env:Body></env:Envelope>

      When I try to go to http://the_host:8001/b2b/services/GetTPAConfigService?WSDL I get as description:


      This page contains the following errors:

      error on line 17 at column 21: Attribute xmlns:tns redefined

      Below is a rendering of the page up to the first error. “


      I'm having the same B2B configuration in another host and its working perfectly.

      Any idea on what can be happening ?

      Thanks