Re: [jboss-dev-forums] [JBoss Microcontainer Development] - Weld - pull from MC
by Pete Muir
Pete Muir [http://community.jboss.org/people/petemuir] replied to the discussion
"Weld - pull from MC"
To view the discussion, visit: http://community.jboss.org/message/552176#552176
--------------------------------------------------------------
> -If using a separate @McInject annotation instead of @Inject to do injection the annotated field does not appear in invocation context's injection points meaning all the fields etc. need to be parsed from invocation context's target's class (I am not sure if the target will always be non-null?)
It will always be non-null, otherwise we will be trying to inject into a null instance...
> -It does not get triggered when calling constructors
Correct, but it is probably reasonable to extend it support this for Weld 1.1
> -If using the @Inject annotation with an additional @Mc annotation (to look up the particular injection point in the MC) falls over when calling proceed(), also again a problem is that you need to iterate over all fields etc. to look for the members. This also fails in the validation pha
It is possible to overcome this, but I think it just points at underlying problems of this approach.
At the moment I'm pretty unconvinced about adding these extra SPIs because I remain unconvinced of the validity of this approach - essentially you are opening the door for introducing other resolution algorithms which aren't spec'd, which I don't see the value of for users.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552176#552176]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 5 months
[JBoss Portal Development WSRP] - Integration d'application
by Benoit LARDY
Benoit LARDY [http://community.jboss.org/people/e6395] created the discussion
"Integration d'application"
To view the discussion, visit: http://community.jboss.org/message/552138#552138
--------------------------------------------------------------
Bonjour à tous,
Il s'agit d'intégrer des applications développer en WebObjects (framework Apple) et Progress (4GL) au sein d'un web portal.
Je souhaiterai connaitre les différentes possibilités qui existent pour intégrer des applications dans un web portal de manière progressive.
Est-ce que vous pourriez m'indiquer ce qu'il est possible de faire?
Qu'en est-il de la compatibilité avec Ajax?
Je souhaitais faire cela en plusieurs phases:
1. Genre proxy ou "revamping" sans modifications de l'application web du genre lien avec une URL encapsuler dans une portlet
2. Modification de l'application pour intégration dans une portlet --> quel est l'impact ?
--> mailto:lardybenoit@yahoo.fr lardybenoit(a)yahoo.fr
Notes: des référence à des présentations sont les bienvenues pour des novices en terme de portail d'intégration d'application
Merci pour vos réponses
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552138#552138]
Start a new discussion in JBoss Portal Development WSRP at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 5 months
[JBoss ESB Development] - Use a XML to construct SOAP Request
by Guireg CAPITAINE
Guireg CAPITAINE [http://community.jboss.org/people/Guireg] created the discussion
"Use a XML to construct SOAP Request"
To view the discussion, visit: http://community.jboss.org/message/551934#551934
--------------------------------------------------------------
Hi everybody,
I'm currently testing JBoss ESB in my company but I encountered some problems with SOAP Client. I've seen all the samples attached with JBoss ESB but no one answered my question.
I want to take a XML File in a FTP Server => Use this XML File to construct a SOAP Request to a webService => Send the SOAP Answer to my E-mail adress
I successfully take and read the XML and send the e-mail but I don't know how to construct a SOAP Request with my XML File, I only saw Java Classes to construct it.
Here is my jboss-esb.xml
<?xml version = "1.0" encoding = "UTF-8"?>
<jbossesb
xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
parameterReloadSecs="5">
<providers>
<ftp-provider name="FTPprovider" hostname="127.0.0.1" >
<ftp-bus busid="helloFTPChannel" >
<ftp-message-filter
username="guireg"
password="guireg"
passive="false"
directory="/"
input-suffix=".xml"
work-suffix=".esbWorking"
post-delete="false"
post-rename="true"
post-suffix=".COMPLETE"
error-delete="false"
error-suffix=".HAS_ERROR"
/>
</ftp-bus>
</ftp-provider>
<schedule-provider name="cronExample">
<cron-schedule scheduleid="cron-schedule" cronExpression="* * * * * ?"/>
</schedule-provider>
</providers>
<services>
<service category="MyServiceCategory" name="WebserviceConsumer2"
description="Order Processor Webservice Consumer" invmScope="GLOBAL">
<listeners>
<ftp-listener name="FtpGateway"
busidref="helloFTPChannel"
is-gateway="true"
scheduleidref="cron-schedule"/>
</listeners>
<actions mep="OneWay">
<!-- <action name="println1">
<property name="message" value="Message before action XXX" />
</action-->
<action name="soapui-client-action">
<property name="wsdl" value="http://JbossServer:8080/webservice?wsdl"/>
<property name="SOAPAction" value="crud"/>
<property name="responseAsOgnlMap" value="true" />
</action>
<action name="response-mapper">
<property name="unwrap" value="true" />
<property name="host" value="mailServer" />
<property name="port" value="25" />
<property name="username" value="guireg" />
<property name="password" value="guireg" />
<property name="from" value="sv3(a)blabla.fr (mailto:sv3@blabla.fr)" />
<property name="sendTo" value="sv3(a)blabla.fr (mailto:sv3@blabla.fr)" />
<property name="subject" value="XML" />
</action>
</actions>
</service>
</services>
</jbossesb>
My Eclipse Console say that :
> 15:04:03,093 WARN [ActionProcessingPipeline] No fault address defined for fault message! To: InVMEpr [ PortReference < <wsa:Address invm://4d795365727669636543617465676f727924242424242424242424242457656273657276696365436f6e73756d657232/false?false#10000/>, <wsa:ReferenceProperties jbossesb:passByValue : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/invm/> > ] MessageID: 6d0a6609-e21b-434d-ad4f-3b9a8053da88
But I can SystemoutPrintLn my XML without problem. It gives me this error when it read the SOAP Client part of my JBossEsb.xml file
Do you have any idea ?
Thanks a lot !
Guireg
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/551934#551934]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 5 months