[prev in list] [next in list] [prev in thread] [next in thread] 

List:       muse-dev
Subject:    [jira] Commented: (MUSE-145) Suppressing default SOAP body
From:       "Mohammad Fakhar (JIRA)" <jira () apache ! org>
Date:       2006-12-13 1:17:22
Message-ID: 29983947.1165972642298.JavaMail.jira () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/MUSE-145?page=comments#action_12457982 ] 
            
Mohammad Fakhar commented on MUSE-145:
--------------------------------------

Could not verify this with nightly build. The bug is in AbstractMessageHandler on \
line 89:  if (_requestQName != null)
            _responseQName = createResponseName();

The RelectionMessageHandler, which is the default handler when none is present, \
checks this in its toXML() method:

        if (returnType == Void.TYPE && responseBodyName == null)
            return null;

We should not be creating a response qname just because there is a request qname.



> Suppressing default SOAP body responses when response is empty and no message \
>                 handlers exist for the operation
> --------------------------------------------------------------------------------------------------------------
>  
> Key: MUSE-145
> URL: http://issues.apache.org/jira/browse/MUSE-145
> Project: Muse
> Issue Type: New Feature
> Components: Core Engine - Routing and Serialization
> Affects Versions: 2.0.0
> Environment: any
> Reporter: Mohammad Fakhar
> Assigned To: Dan Jemiolo
> Priority: Minor
> Fix For: 2.1.0
> 
> Attachments: muse145wsdl.zip
> 
> 
> For operations that have empty SOAP bodies, both on the request and response, it \
> usually does not make sense to write a message handler; as there is nothing to \
> handle on incoming or outgoing message. For such operations, Muse adds a default \
> element in the SOAP body on the response, in the format: <muse-op:"the wsa \
> action"Response ............../> There should be some way of suppressing this \
> behavior as some web services actually require empty soap bodies on the response. \
> The alternative for users is to create message handlers that do nothing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic