You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Phu Quyen Le (JIRA)" <ji...@apache.org> on 2007/03/08 09:18:22 UTC
[jira] Closed: (SM-867) Cannot add soap header in JSR181 component
[ https://issues.apache.org/activemq/browse/SM-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phu Quyen Le closed SM-867.
---------------------------
Resolution: Fixed
bug fixed in 3.1.1 and 3.2
> Cannot add soap header in JSR181 component
> ------------------------------------------
>
> Key: SM-867
> URL: https://issues.apache.org/activemq/browse/SM-867
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-jsr181
> Environment: ServiceMix 3.2 under Windows XP
> Reporter: Phu Quyen Le
> Assigned To: Guillaume Nodet
> Fix For: 3.1.1, 3.2
>
>
> I would like to add some properties in the soap header of the message in a jsr181 component. But I can't do because of the following problem:
> Started from the example wsdl-first of ServiceMix, I've modified the file PersonImpl.java as follow:
> ...
> InOut exchange = (InOut) JBIContext.getMessageExchange();
> Normalizedmessage outMsg = exchange.createMessage();
> outMsg.setProperty(JbiConstants.SOAP_HEADERS, headers);
> exchange.setOutMessage(outMsg);
> GetPersonResponse response = new GetPersonResponse();
> return response;
> ...
> I received then the follwing exception message:
> java.lang.Exception: javax.jbi.messaging.MessagingException: Out message is already set.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.