Petals BC REST

Consumer mode does not support MEP 'RobustInOnly'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.4.0-BC
  • Fix Version/s: 2.3.0-BC
  • Component/s: Consumer mode
  • Security Level: Public
  • Description:
    Hide

    The consumer mode does not support MEP 'RobustInOnly'. The following error occurs on the service provider when trying to set the fault in the message exchange:

    Caused by: javax.jbi.messaging.MessagingException: The MessageExchange state does not allow this operation: create FAULT on: Status: Active, Role: PROVIDER, Pattern: IN_ONLY, hasInMsg
    	at org.ow2.petals.jbi.messaging.exchange.impl.MessageExchangeImpl.checkCallerIsAllowedToCreateFault(MessageExchangeImpl.java:120)
    	at org.ow2.petals.jbi.messaging.exchange.impl.MessageExchangeImpl.createFault(MessageExchangeImpl.java:105)
    	...

    This error occurs because the MEP is InOnly instead of RobustInOnly as defined in the the service provider WSDL with operation interface elements: 'input' and 'fault'.

    Show
    The consumer mode does not support MEP 'RobustInOnly'. The following error occurs on the service provider when trying to set the fault in the message exchange:
    Caused by: javax.jbi.messaging.MessagingException: The MessageExchange state does not allow this operation: create FAULT on: Status: Active, Role: PROVIDER, Pattern: IN_ONLY, hasInMsg
    	at org.ow2.petals.jbi.messaging.exchange.impl.MessageExchangeImpl.checkCallerIsAllowedToCreateFault(MessageExchangeImpl.java:120)
    	at org.ow2.petals.jbi.messaging.exchange.impl.MessageExchangeImpl.createFault(MessageExchangeImpl.java:105)
    	...
    This error occurs because the MEP is InOnly instead of RobustInOnly as defined in the the service provider WSDL with operation interface elements: 'input' and 'fault'.
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Fri, 27 Mar 2020 - 12:27:28 +0100 - edited

As WSDL 1.1 does not support pattern 'RobustInOnly', EasyWSDL can return only 'InOnly'. So we must hack it in the BC REST.

Show
Christophe DENEUX added a comment - Fri, 27 Mar 2020 - 12:27:28 +0100 - edited As WSDL 1.1 does not support pattern 'RobustInOnly', EasyWSDL can return only 'InOnly'. So we must hack it in the BC REST.
Christophe DENEUX made changes - Fri, 27 Mar 2020 - 12:27:28 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ]
Christophe DENEUX made changes - Fri, 27 Mar 2020 - 12:27:49 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 27 Mar 2020 - 13:01:27 +0100
Link This issue blocks PETALSBCREST-83 [ PETALSBCREST-83 ]
Hide
Christophe DENEUX added a comment - Fri, 27 Mar 2020 - 13:45:39 +0100

Fixed, support of RobustInOnly added in trunk

Show
Christophe DENEUX added a comment - Fri, 27 Mar 2020 - 13:45:39 +0100 Fixed, support of RobustInOnly added in trunk
Christophe DENEUX made changes - Fri, 27 Mar 2020 - 13:45:39 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.5.0-BC [ 10903 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Fri, 19 Nov 2021 - 10:13:10 +0100

Backported in branch 1.3.x with svn#43778

Show
Christophe DENEUX added a comment - Fri, 19 Nov 2021 - 10:13:10 +0100 Backported in branch 1.3.x with svn#43778
Christophe DENEUX made changes - Fri, 19 Nov 2021 - 10:13:11 +0100
Fix Version/s 2.3.0-BC [ 11003 ]
Fix Version/s 2.4.0-BC [ 10903 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1m 15s
1
Christophe DENEUX
Fri, 27 Mar 2020 - 12:27:28 +0100
Open Open In Progress In Progress
21s
1
Christophe DENEUX
Fri, 27 Mar 2020 - 12:27:49 +0100
In Progress In Progress Resolved Resolved
1h 17m
1
Christophe DENEUX
Fri, 27 Mar 2020 - 13:45:39 +0100



People

Dates

  • Created:
    Fri, 27 Mar 2020 - 12:26:13 +0100
    Updated:
    Fri, 19 Nov 2021 - 10:13:11 +0100
    Resolved:
    Fri, 27 Mar 2020 - 13:45:39 +0100