WebServices: SoapExecutionExceptions In Exception Transitions

Hello everybody,
I'd like to know if there's a way of submitting my 'SOAPFaultException' descendant exception, thrown by my WebService, to a specific 'Exception handling flow'. I'll exemplify to make it clearer:
Imagine a WebService that returns this fault:
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>teste</faultstring>
<faultactor>raiseException</faultactor>
<detail>
<java:TestException xmlns:java="br.inf.message" />
</detail>
</env:Fault>
During a process' execution, this exception will be mapped to 'fuego.soaptype.SoapExecutionException' and, obviously, no matter if there's an 'Exception handling flow' that treats 'TestExceptions', it won't enter that flow.
What I'd like to know if there a way to make ALBPM recognize this exception i threw as a 'TestException' with no PBL code involved.
Thanks in advance,
Pedro

Hi,
I am doubtful if after add ing all the security realted settings you could be able to test it via RWB monitoring.
Its better to test this kind of scenario with either real time application where all security certificates and settings will on right place.
Thanks
Swarup

Similar Messages

  • Webservice through an exception -- SAP XI  namespace is missing in XML

    Hello Experts,
    we have a HTTP(synchron) --> XI --> SOAP (synchron) ---> XI --> HTTP Scenario.
    A webapplicaton sends a number to XI. XI sends the number (integrationprocess) to a  webservice an gets same information back. This information will be send back to the
    webapplication.
    In same cases the webservices through an exception (it's okay, depend on date).
    But XI can't read this XML because one namespace is missing.
    The webservice sends the XML correctly. We have tested it.
    It seems inside XI one namespace of the XML will lost.
    We can't see the reason for it.
    An Application Fault Exception is thrown in XI
    In the RWB we see this: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    The soap communication channel has an error.
    We try to arise the severity of the tracelevel to see more information, but without success.
    So we don't find any information for this error.
    Do you know this problem?
    Thanks in advance!
    Jürgen

    Hi
    for namespaing mssing see the below blogs
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    http://www.troobloo.com/tech/xslt.toc.shtml
    http://www.w3schools.com/xsl/
    http://www.w3.org/TR/xslt
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic%20xslt%20mapping%20in%20sap%20xi%2c%20part%20i.pdf
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Required XSLT Mapping tips!
    Thnaks
    sudhir sharma

  • Manual Webservice -  TechnicalException: IO Exception while parsing wsdl

    Hi Gurus,
    I have been following the tutorial [Generating Webservice Manually for a Rule project (XSD)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c082390a-035f-2b10-dc9d-befec4aff998?quicklink=index&overridelayout=true]. Steps has been followed as described, but  WSNavigator shows the following error when the service is selected.
    com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: IO Exception occurred while parsing file:http://host:5xx00/demo.comp%7Eloaneligibility/GenericService?wsdl&mode=ws_policy
    I guess the bug is in GenericWebService.java or in the wsdl. How can I figure out what is went wrong ?
    I am in NW CE 7.2 & NWDS 7.2 SP01 PAT0001
    Also wants to know whether provision of generating webservice for Rule project is available in NWDS 7.2 apart from webservice generation tool.
    Thanks in anticipation.
    Nikhil

    Hello Nikhil,
    Were you able to generate the web service using the feature to expose rules(using XSDs) as web serive?
    To resolve this exception you recieved while manually trying to create web service, we suggest the following steps -
    1. Add the design time dependency of tc/brms/facade to the web module created
    2. Add the deploy time and run time dependencies of tc/brms/facade to the EAR DC created.
    3. Build and Deploy these DCs
    Do let us know if the issue was resolved. Else, I suggest you raising an IT ticket for help from NW BRM team.
    Regards,
    Arti

  • Webservice returned with exception in method 'isConnectionLoopbackAlive'

    Hello,
    during monitoring of last 24 hours logs i found message:
    <b>Webservice returned with exception in method 'isConnectionLoopbackAlive'
    category: /Applications/CAF/KM
    Application:  sap.com/irj
    Location:com.sap.portal.prt.cafkm.com.sap.caf.km.service.ConnectionTestService.isConnectionLookupAlive(String)
    </b>
    can anybody help me? what does it mean?
    Denis
    ip
    Edited by: Denis Yugay on Mar 18, 2008 5:10 AM

    Hello, Vincent.
    Situation is same after rebooting server.
    Denis
    Edited by: Denis Yugay on Mar 20, 2008 5:17 AM

  • Exception transitions move away when click on model

    Hi everyone,
    I'm a bit annoyed about this. I have my project saved, and everytime I open the process so that Aqualogic displays the process' model, the exception transitions I have located at the bottom-right of my model, suddenly change place to the upper-left spot of the model.
    It works perfectly, It's just a display problem, does anyone know why Aqualogic does this to me? ^_^ any ideas?
    Thanks in advance

    Hi everyone,
    I'm a bit annoyed about this. I have my project saved, and everytime I open the process so that Aqualogic displays the process' model, the exception transitions I have located at the bottom-right of my model, suddenly change place to the upper-left spot of the model.
    It works perfectly, It's just a display problem, does anyone know why Aqualogic does this to me? ^_^ any ideas?
    Thanks in advance

  • Webservices and custom exception handling

    hi all,
    I have one ejb method which promote as webservices.
    @WebMethod
    @Oneway
    public void test(String arg) throws STARS21BOException{
    my Custom Exception class STARS21BOException extends from EjbException and it has no-arg constructor.
    but when i deploy on server i get following exception.
    if i remove throws clause from method, it is working fine.
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:271)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:351)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:201)
         Truncated. see log file for complete stacktrace
    Caused By: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.lang.StackTraceElement does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.lang.StackTraceElement
              at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
              at java.lang.Throwable
              at java.lang.Exception
              at public java.lang.Exception sg.com.stee.stars21.showcase.business.jaxws.STARS21BOExceptionBean.causedByException
              at sg.com.stee.stars21.showcase.business.jaxws.STARS21BOExceptionBean
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:148)
         at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
         at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:271)
         at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:351)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    java.lang.StackTraceElement does not have a no-arg default constructor.
         this problem is related to the following location:
              at java.lang.StackTraceElement
              at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
              at java.lang.Throwable
              at java.lang.Exception
              at public java.lang.Exception sg.com.stee.stars21.showcase.business.jaxws.STARS21BOExceptionBean.causedByException
              at sg.com.stee.stars21.showcase.business.jaxws.STARS21BOExceptionBean
         at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
         at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
         Truncated. see log file for complete stacktrace
    >
    <Apr 23, 2010 10:51:33 AM SGT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1271991082383' for task '2'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(ejb-showcaseEJB.jar)

    newt.mm wrote:
    @WebMethod
    @Oneway
    public void test(String arg) throws STARS21BOException{
    }As per method signature it is asynchronous web service however you are trying to throw soap fault. Isn't the soap fault is also a kind of response?
    Do you really want your web method to be asynchronous?

  • Passing Parameters to Webservice model context--Exception in execution

    Hi
    I have a problem while passing the values to the webservice model context.I have 9 input fields in my view 5 of them binded to directly to the model context after mapping. 4 input fields i have binded to seperate node of cardinality 1:1.
    My structure is like this
          Req_Identity_In(model root node)
            Req_Ide_SYNC (Input node of model)
                  Identity( node )
                 UserAccount(node)
                  PersonalAddress(node)
                     PersonName(Node)
                             |
                          givenname,middlename,familyname etc (Attributes)
    This structure is similar to bapi user create ECC Function module after exposing as a webservice.
    I am using the following code for bindings
    ==================
           String givenName = wdContext.currentPersonNamesDataElement().getGivenName();
           String middleName = wdContext.currentPersonNamesDataElement().getMiddleName();
           String familyName = wdContext.currentPersonNamesDataElement().getFamilyName();
           String additionalFamName = wdContext.currentPersonNamesDataElement().getAdditionalFamilyName();
           //getting the data from user for personNames
           //passing the data
           UserAccountCreateModel userAccountCreateModel = new UserAccountCreateModel();
          Request_IdentityUserAccountCreateRequestConfirmation_In request_IdentityUserAccountCreateRequestConfirmation_In = new Request_IdentityUserAccountCreateRequestConfirmation_In(userAccountCreateModel);
           IdentityUserAccountCreateRequestMessage_Sync identityUserAccountCreateRequest_Sync = new IdentityUserAccountCreateRequestMessage_Sync(userAccountCreateModel);
          request_IdentityUserAccountCreateRequestConfirmation_In.setIdentityUserAccountCreateRequest_Sync(identityUserAccountCreateRequest_Sync);
          IdtUsrAcctCrteReq_SyncIdt identity = new IdtUsrAcctCrteReq_SyncIdt(userAccountCreateModel);
          identityUserAccountCreateRequest_Sync.setIdentity(identity);
              IdtUsrAcctCrteReq_SyncUsrAcct userAccount = new IdtUsrAcctCrteReq_SyncUsrAcct(userAccountCreateModel);
              identity.setUserAccount(userAccount);
              IdtUsrAcctCrteReq_SyncDfltSettings defaultSettings = new IdtUsrAcctCrteReq_SyncDfltSettings(userAccountCreateModel);
              userAccount.setDefaultSettings(defaultSettings);
              java.util.List<NOSC_PersonalAddress> personalAddress = new ArrayList<NOSC_PersonalAddress>();
              userAccount.setPersonalAddress(personalAddress);
              NOSC_PersonName personName = new NOSC_PersonName(userAccountCreateModel);
              //kalyan
              //create the personalAddress model
              NOSC_PersonalAddress personalAddrModel = new NOSC_PersonalAddress(userAccountCreateModel);
              //create a element for PersonalAddress Node and node element.
              IPersonalAddressNode paNodeRef = wdContext.nodePersonalAddress();
              IPersonalAddressElement paNodeEle = wdContext.createPersonalAddressElement(personalAddrModel);
              //creating an element in Personname subnode and pass the data
              IPersonNameNode personNameNodeRef = paNodeRef.nodePersonName();
              IPersonNameElement personNameEle = personNameNodeRef.createPersonNameElement(personName);
              personNameEle.setGivenName(givenName);
              personNameEle.setMiddleName(middleName);
              personNameEle.setMiddleName(familyName);
              personNameEle.setAdditionalFamilyName(additionalFamName);
              //personNameNodeRef.addElement(personNameEle);
              //add the PA element to the PA node
              paNodeRef.addElement(paNodeEle);
              //add to the list
              personalAddrModel.setPersonName(personName);
              personalAddress.add(0, personalAddrModel);
              //kalyan
              NOSC_BasicBusinessDocumentMessageHeader messageHeader = new NOSC_BasicBusinessDocumentMessageHeader(userAccountCreateModel);
              identityUserAccountCreateRequest_Sync.setMessageHeader(messageHeader);
              Response_IdentityUserAccountCreateRequestConfirmation_In response = new Response_IdentityUserAccountCreateRequestConfirmation_In(userAccountCreateModel);
              request_IdentityUserAccountCreateRequestConfirmation_In.setResponse(response);
              IdentityUserAccountCreateConfirmationMessage_Sync identityUserAccountCreateConfirmation_Sync = new IdentityUserAccountCreateConfirmationMessage_Sync(userAccountCreateModel);
              response.setIdentityUserAccountCreateConfirmation_Sync(identityUserAccountCreateConfirmation_Sync);
              NOSC_Log log = new NOSC_Log(userAccountCreateModel);
                  identityUserAccountCreateConfirmation_Sync.setLog(log);
                  java.util.List<NOSC_LogItem> item = new ArrayList<NOSC_LogItem>();
                  log.setItem(item);
                  wdContext.nodeRequest_IdentityUserAccountCreateRequestConfirmation_In().bind(request_IdentityUserAccountCreateRequestConfirmation_In);
           //passing the data
           wdThis.wdGetUserCreateCompController().executeIdentityUserAccountCreateRequestConfirmation_In();
           //success
           //wdComponentAPI.getMessageManager().reportSuccess("The user created successfully");
    ================================================
    After executing i am getting the error like this
    Exception on execution of web service with WSDL URL 'http://<host>:<port>/sap/bc/srt/wsdl/bndg_DDB660678B8DB6F1934200142220669B/wsdl11/allinone/ws_policy/document?sap-client=XXX&sap-user=XXXXX&sap-password=XXXX' with operation 'IdentityUserAccountCreateRequestConfirmation_In' in interface 'IdentityUserAccountCreateRequestConfirmation_In'
    Is there any wrong in the code while passing the values to the model.
    What are the possible causes for this exception.
    Regards
    Kalyan

    I am no more working on this.

  • WebService Socket Timeout Exception before reaching timeout duration

    Hi
    My Server is Websphere Application Server 6.0.2.17
    i got some times socket timeout exception before reach timeout duration. and also i have only default websphere settings for web service .
    The exception is occurred in 19 seconds after hitting the service . i am not able to get the exact problem . because default timeout time is 300 seconds (i think like that)
    Error Log
    2/12/09 11:01:28:323 CET 00000f6a SystemOut O WebService Started --> Begin webservice method invocation (Method Name : getCustomerInfo(String cusID))
    2/12/09 11:01:47:840 CET 00000f6d SystemOut Exception Occurred : java.net.SocketTimeoutException: Socket operation timed out before it could be completed
    WebService Method Invocation Started time 11:01:28
    WebService Timeout exception raised time 11:01:47
    TimeoutDuration 00:00:19

    Hi Mark,
    with synchronous messages it is important to consider timeouts from each connection to be established. So soapUI-PI, then PI-BackendSystem plus anything that might be in between. If your timeout soapUI-PI is smaller than the following ones, you'll get that phenomenon. soapUI will cut the connection, but PI will hold it and maybe receive an answer from the backend. This answer will end up in the void, since the original requester (your soapUI) has already disconnected. But for PI, this will be OK and status "successful". PI does not control and monitor the client's connection.
    In other words, the cancel of the connection is only performed for that same connection, it is not propagated to any subsequent connections.
    Hope that I was clear enough,
    Jörg

  • Trying to use Message Signing with Webservices and getting exception!

    Here is the exception I'm getting....
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    Detail:
    null; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: [Security:090377]Identity Assertion Failed, weblogic.security.spi.IdentityAssertionException: [Security:090245]No mapping for Identity User Name
    I followed step by step the example given on the Weblogic "edocs" pages, but I am at a loss as to what to put on the Identity Asserter Detail screen under "Default User Name Mapper Attribute Type" and "Default User Name Mapper Attribute Delimiter".
    I'm using the example code you can find at the following URL - http://e-docs.bea.com/wls/docs81/webserv/security.html#1061856
    I'm creating my client key pair as specified with a keyname of client_key and password of client_key_password.
    I'm also creating a user in the Admin Console called auth_user with a password of auth_user_password.
    HELP!!!!!

    The error message means you haven't configured the identity mapping between your client cert and a WLS user.
    Here is the WLST script I used in my dev2dev sample(https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=S18)
    rlm = cmo.getSecurityConfiguration().getDefaultRealm()
    ia = rlm.lookupAuthenticationProvider("DefaultIdentityAsserter")
    activeTypesValue = array(["X.509"],java.lang.String)
    ia.setActiveTypes(activeTypesValue)
    ia.setDefaultUserNameMapperAttributeType('CN');
    ia.setUseDefaultUserNameMapper(Boolean('true'));
    So I add the X.509 to the ActiveTypes of IdentityAsserter, then I choose the "CN" as the DefaultUserNameMapperAttributeType, finally enable UseDefaultUserNameMapper.

  • Help me pls to resolve the problem: WebService client SOAP exception: SAXException: Could not instantiate bean ...

    Hi all,
    I use Weblogic 6.1 SOAP
    If any body know what does this mean and how this may be resolved please
    help me
    I try to send JavaBean class "A" which includes an array of JavaBean class
    "B" which includes an array of string objects
    from server side to the client.
    class A {
    B[] aBeans
    setABeans(B[] aBeans) {}
    getABeans() {}
    class B {
    String[] props;
    setProps(String[] props) {}
    getProps() {}
    And only half of the method invocation is ok - data is transmitted by soap
    and is displayed
    at the client side in "verbose=true" mode and i see that data is received
    completely but the client side JavaBean class "A"
    was not initialized because the exception was thrown when soap trying to
    instantiate JavaBean class "B":
    SAXException: Could not instantiate bean: B
    I looked at jdk API and the InstantiationException is thrown only if class
    is an interface or an abstract class,
    but class "B" is not abstract or interface, it is simple JavaBean class.
    What is the trouble?
    Help me pls

    Hi, Pieter!
    Thanks in advance, this solve a problem.
    "Pieter Degraeuwe" <[email protected]> wrote in message
    news:3be00299$[email protected]..
    >
    Hi!
    I think I know the problem.
    Does your JavaBean has a default constructor (a parameterlessconstructor).
    >
    Try it!
    greetings
    Pieter
    "Michael T" <[email protected]> wrote:
    Hi all,
    I use Weblogic 6.1 SOAP
    If any body know what does this mean and how this may be resolved please
    help me
    I try to send JavaBean class "A" which includes an array of JavaBean
    class
    "B" which includes an array of string objects
    from server side to the client.
    class A {
    B[] aBeans
    setABeans(B[] aBeans) {}
    getABeans() {}
    class B {
    String[] props;
    setProps(String[] props) {}
    getProps() {}
    And only half of the method invocation is ok - data is transmitted by
    soap
    and is displayed
    at the client side in "verbose=true" mode and i see that data is received
    completely but the client side JavaBean class "A"
    was not initialized because the exception was thrown when soap trying
    to
    instantiate JavaBean class "B":
    SAXException: Could not instantiate bean: B
    I looked at jdk API and the InstantiationException is thrown only if
    class
    is an interface or an abstract class,
    but class "B" is not abstract or interface, it is simple JavaBean class.
    What is the trouble?
    Help me pls

  • Problem deploying a webservice (Null Pointer Exception while actovating)

    Hi ,
    There is a weird problem while deploying a web service in a clustered weblogic domain.
    Thew service gets deployed after recycling the clusters but I want to know whats the root cause of the problem ? code ? weblogic patch ?
    Here is the stacktrace:
    Exception activating module: EJBModule(MyServicePortTypeImpl.jar) Unable to deploy EJB: MyServicePortTypeImpl from MyServicePortTypeImpl.jar: Unable to deploy EJB: MyServicePortTypeImpl.jar from MyServicePortTypeImpl.jar: [HTTP:101216]Servlet: "WSEE_SERVLET" failed to preload on startup in Web application: "/VMO/EnvMgmt//MyServicePortTypeImpl_v1_0". java.lang.NullPointerException at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:81) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.SearvletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.wsee.deploy.WseeWebappModule.activate(WseeWebappModule.java:146) at weblogic.wsee.deploy.WSEEEjbModule.activate(WSEEEjbModule.java:371) at weblogic.wsee.deploy.WsEJBDeployListener.activate(WsEJBDeployListener.java:52) at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1329) at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:476) at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107) at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Thanks!

    Hi,
    Are you deploying onto the cluster or just any part of cluster???
    Is the applcation in exploded format or archived format ???
    Keep posting ..

  • Com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException

    Hello Team,
    We have a scenario where we have a PI web service and we are importing the WSDL into our WD Java application.
    While running the test scenario we are getting the below 2 exceptions in the stack trace.
    20111222:Exception trace: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service on destination 'WS_CUST_**' for operation 'GetCustomer*' in interface 'GetCustomer**'
    Caused by: java.rmi.RemoteException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.; nested exception is:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    By running through few posts on SDN a probable solution for this was proposed as: blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application
    Any help on this would be great.
    Regards,
    Shailesh

    Dear Shailesh,
    Did you try to check the blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application? please try to check and test.
    Also try to import fresh in new DC and check whether it is working or not.
    Best Regards
    Arun Jaiswal

  • Com.sapportals.wcm.repository.ResourceException: Webservice exception

    Hi,
    When we try to upload any document to KM we get the following error,
    com.sapportals.wcm.repository.ResourceException: Webservice returned with exception in method 'getBOInstance'"",""n/a"",""com.sapportals.wcm.control.navigation.ResourceTreeControlInternal"",""sap.com/irj"",""B46853"",""ustca190"",""Server 0 0_69062"",
    or..
    Date,Time,Message,Category,Location,Application,User,Host,Node,
    "Aug 21, 2006,""22:04:43:704"",""Call failed"",""/System/Server"",""com.sap.portal.portal"",""sap.com/irj"",""B46853"",""ustca190"",""Server 0 0_69062"","
    ","""",""[EXCEPTION]"","""","""","""","""","""","""","
    ","""",""com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message. Check the nested Exception."","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:226)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:160)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:322)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:152)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.proxies.BOProxy.getBOInstance(BOProxy.java:615)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.util.BOProxyWrapper.getBOInstance(BOProxyWrapper.java:317)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.util.BOProxyWrapper.getBOInstance(BOProxyWrapper.java:296)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.util.BOProxyWrapper.checkRightsForCAF(BOProxyWrapper.java:887)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.util.SecurityManagerImpl.checkCAFResource(SecurityManagerImpl.java:297)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.util.SecurityManagerImpl.isAllowed(SecurityManagerImpl.java:178)"","""","""","""","""","""","""","
    ","""",""at com.sap.caf.km.repositorymanager.CAFSecurityManager.isAllowed(CAFSecurityManager.java:131)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.manager.generic.security.CollaborationSecurityManager.isAllowed(CollaborationSecurityManager.java:208)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.manager.SecurityChecker.check(SecurityChecker.java:237)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.manager.SecurityChecker.checkListChildren(SecurityChecker.java:138)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.getChildren(CmNamespaceAndContentManager.java:2218)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager.getChildren(CmNamespaceAndContentManager.java:424)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.CollectionImpl.internalGetChildrenManager(CollectionImpl.java:1533)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.CollectionImpl.internalGetChildren(CollectionImpl.java:1550)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.CollectionImpl.doGetChildren(CollectionImpl.java:144)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:124)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.repository.CollectionLinkImpl.getChildren(CollectionLinkImpl.java:79)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.getChildren(InternalTree.java:1675)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.getFirstCallOpenResources(InternalTree.java:970)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.getFirstCallOpenResources(InternalTree.java:993)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.buildNewTree(InternalTree.java:599)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.renderTree(InternalTree.java:718)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.render(InternalTree.java:467)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.rendering.collection.cm.InternalTree.buildContent(InternalTree.java:2034)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.control.util.components.base.BaseCompositeComponent.buildComposition(BaseCompositeComponent.java:195)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:34)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:34)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.Container.preRender(Container.java:120)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:130)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)"","""","""","""","""","""","""","
    ","""",""at java.security.AccessController.doPrivileged(Native Method)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)"","""","""","""","""","""","""","
    ","""",""at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)"","""","""","""","""","""","""","
    ","""",""at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)"","""","""","""","""","""","""","
    ","""",""at java.lang.Thread.run(Thread.java:534)"","""","""","""","""","""","""","
    ","""",""Caused by: java.net.UnknownHostException: _ustwa057.kcc.com"","""","""","""","""","""","""","
    ","""",""at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)"","""","""","""","""","""","""","
    ","""",""at java.net.Socket.connect(Socket.java:452)"","""","""","""","""","""","""","
    ","""",""at java.net.Socket.connect(Socket.java:402)"","""","""","""","""","""","""","
    ","""",""at java.net.Socket.<init>(Socket.java:309)"","""","""","""","""","""","""","
    ","""",""at java.net.Socket.<init>(Socket.java:124)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:647)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:469)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:426)"","""","""","""","""","""","""","
    ","""",""at com.sap.engine.services.webservices.jaxm.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:182)"","""","""","""","""","""","""","
    ","""",""... 58 more"","""","""","""","""","""","""","
    "Aug 21, 2006,""22:04:43:704"",""Webservice returned with exception in method 'getBOInstance'"",""n/a"",""com.sap.caf.km.repositorymanager.util.BOProxyWrapper"",""sap.com/irj"",""B46853"",""ustca190"",""Server 0 0_69062"","
    "Aug 21, 2006,""22:04:43:704"",""Webservice returned with exception in method 'getBOInstance'
    Looks like some kind of authorisation problem.
    Another noted feature is, when the user has all rights in portal - System Admin the upload is faster.
    but when we use the everyone group with read permission this error occurs and upload of a document takes between 15-30 minutes.
    Kind Regards
    Asif

    Check with the weblog for External libraries.
    Weblog External libraries:https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2361. [original link is broken] [original link is broken] [original link is broken]
    If u want more informations about the jar files check with this link
    JAR class finder:
    http://www.alphaworks.ibm.com/tech/jarclassfinder
    http://sourceforge.net/projects/classlocator
    Regards,

  • Exception while executing BPM WebService

    Hi Experts,
    I issue is with bpm webservice execution. I am using CE 7.2. I am calling CE application through Portal using Application integrator Iview.
    When I execute the webservice I get the below exception. Through WSNavigator I am able to successfully trigger the webservice.
    com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'http://host_name:port_num/bpm/companycom/devc/changebpm/ChangeGenericTwoStep?wsdl' with operation 'GenericTwoStepOperation' in interface 'ChangeGenericTwoStep'
    When I got to NWA->Problem Management->Default trace files, I can see the below error description.
    com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'http://host_name:port_num/bpm/companycom/devc/changebpm/ChangeGenericTwoStep?wsdl' with operation 'GenericTwoStepOperation' in interface 'ChangeGenericTwoStep'
    Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Client protocol has thrown an exception. Protocol name is [SecurityProtocol]. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.invokeHandlerRequest(SOAPTransportBinding.java:1123)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1282)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:960)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:915)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
    ... 69 more
    Caused by: com.sap.engine.interfaces.webservices.runtime.ProtocolExceptionExt: No logged in user found.
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleRequest(ConsumerSecurityProtocol.java:176)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.invokeHandlerRequest(SOAPTransportBinding.java:1093)
    ... 74 more
    Caused by: java.lang.IllegalStateException: No logged in user found.
    at com.sap.security.core.server.jaas.SAPLogonTicketHelper.createAssertionTicket(SAPLogonTicketHelper.java:484)
    at com.sap.security.core.server.jaas.AssertionTicketFactoryImpl.createAssertionTicket(AssertionTicketFactoryImpl.java:67)
    at com.sap.engine.services.wssec.srt.protocols.GetAssertionTicketPrivAction.run(GetAssertionTicketPrivAction.java:36)
    at com.sap.engine.services.wssec.srt.protocols.GetAssertionTicketPrivAction.run(GetAssertionTicketPrivAction.java:20)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.wssec.srt.protocols.AssertionTicketRetriever.getAssertionTicket(AssertionTicketRetriever.java:34)
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleTransportSecurity(ConsumerSecurityProtocol.java:1119)
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleRequest(ConsumerSecurityProtocol.java:144)
    We have used Provider system. The configurations of provider system seems fine as the same provider system is working for other different bpm webservice.
    Can anyone guess what the issue could be.
    Thanks,
    Shilpa

    Hi,
    The SAP_DEFAULT_PROFILE was not assigned to the BPM Project. Once I assigned this, I was able to successfully execute the BPM Webservice.
    Thanks,
    Shilpa
    Edited by: ShilpaKG on Nov 3, 2011 3:13 PM

  • Providing ABAP Webservices with Exception

    Hi Experts!
    I have designed an Remote Function Module with a custom exception. And exposed same as a webservice; I am quite surprised that the exception is not visible at WSDL level or when we tested it using SoapUI.
    Please guide me to design a standard webservice with custom exceptions.
    Thanks,
    Nikhil

    this might help you
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7074e7d4-f1b1-2910-02a3-81afc36bba3b
    http://help.sap.com/saphelp_nw04/helpdata/EN/38/3afc3f8fc2c542e10000000a1550b0/content.htm
    http://sapinno.blogspot.com/2007/06/exception-handling-for-sap-web-services.html
    regards
    nag

Maybe you are looking for