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.
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
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

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