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/06 14:54:21 UTC
[jira] Created: (SM-867) Cannot add soap header in JSR181 component
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
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.
[jira] Commented: (SM-867) Cannot add soap header in JSR181
component
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38673 ]
Guillaume Nodet commented on SM-867:
------------------------------------
Author: gnodet
Date: Tue Mar 6 11:32:20 2007
New Revision: 515265
URL: http://svn.apache.org/viewvc?view=rev&rev=515265
Log:
SM-867: Cannot add soap headers in JSR181 component
Modified:
incubator/servicemix/trunk/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
Author: gnodet
Date: Tue Mar 6 11:34:34 2007
New Revision: 515266
URL: http://svn.apache.org/viewvc?view=rev&rev=515266
Log:
SM-867: Cannot add soap headers in JSR181 component
Modified:
incubator/servicemix/branches/servicemix-3.1/deployables/serviceengines/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
> 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
>
> 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.
[jira] Updated: (SM-867) Cannot add soap header in JSR181 component
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-867:
-------------------------------
Fix Version/s: 3.2
3.1.1
Assignee: Guillaume Nodet
> 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.
[jira] Closed: (SM-867) Cannot add soap header in JSR181 component
Posted by "Phu Quyen Le (JIRA)" <ji...@apache.org>.
[ 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.