Its undocumented feature :) I'm sharing here most secret knowledge ;) What sample you need ? You must create MethodBean object and fill it with data about your method. Then you must set this object ( as a part of collection) on "methods" property on ServiceBean you are currently using.
On 5/8/07, velidandas <[EMAIL PROTECTED]> wrote:
I have googled for a sample, but could not find one to set methods property of servicebean. Could you please provide me a sample, or let me know if I need to get it in some other forum. thanks for all the help Srinivas. Tomek Sztelak wrote: > > Sorry, i'm happy owner of dyslexia, so sometimes i write strange things ;) > I mean ServiceBean. > > On 5/8/07, velidandas <[EMAIL PROTECTED]> wrote: >> >> Is it SpreanBean or SpringBean? >> >> Assuming it as SpringBean, could not find a sample. >> >> Can you please provide a sample. >> >> >> Tomek Sztelak wrote: >> > >> > ok, so forget about AegisServiceConfiguration :) >> > You can define method properties inside your spring config. SpreanBean >> > has "methods" property which accept list of method description ( >> > MethodBean ). >> > >> > >> > On 5/8/07, velidandas <[EMAIL PROTECTED]> wrote: >> >> >> >> Here is my configuration file contents applicationContext_services.xml >> >> >> >> ==========================Start >> >> <?xml version="1.0" encoding="UTF-8"?> >> >> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" >> >> "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> >> >> >> >> <beans> >> >> <!-- Import standard xfire configuration --> >> >> <import resource="classpath:org/codehaus/xfire/spring/xfire.xml"/> >> >> <!-- Spring Implementation of Platform Manager web service --> >> >> <bean name="platformManagerService" >> >> class="org.codehaus.xfire.spring.ServiceBean"> >> >> <property name="serviceBean" ref="platformManager"/> >> >> <property name="serviceClass" >> >> value="com.singularity.spp.services.PlatformManagerService"/> >> >> <property name="inHandlers"> >> >> <list><ref bean="addressingHandler"/></list> >> >> </property> >> >> <property name="namespace"> >> >> <value>http://singularity.co.uk/webservices/spp</value> >> >> </property> >> >> <!-- Must override activites, otherwise inheritence won't work >> --> >> >> <property name="properties"> >> >> <map> >> >> <entry key="writeXsiType"><value >> >> type="java.lang.Boolean">true</value></entry> >> >> <entry key="overrideTypesList"> >> >> <list> >> >> <value>com.singularity.spp.to.VariableTO</value> >> >> <value>com.singularity.spp.to.ComplexVariableTO</value> >> >> </list> >> >> </entry> >> >> </map> >> >> </property> >> >> </bean> >> >> </beans> >> >> ==========================End >> >> >> >> Tomek Sztelak wrote: >> >> > >> >> > Can you show me how your config looks like ? >> >> > >> >> > On 5/8/07, velidandas <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> We are not using services.xml, all the services deployed using >> spring >> >> >> configuration applicationContext_services.xml. >> >> >> >> >> >> I am not sure where to add AegisServiceConfiguration to the >> factory. >> >> >> >> >> >> I am working in an environment where EJBs are exposed as web >> services >> >> on >> >> >> JBoss using XFire/Spring configuration. >> >> >> everything seems to be running with configuration setup, I haven't >> >> find >> >> >> creation of factory in the code anywhere. >> >> >> >> >> >> >> >> >> >> >> >> Tomek Sztelak wrote: >> >> >> > >> >> >> > You need to add AegisServiceConfiguration to your factory : >> >> >> > factory.getServiceConfigurations().add(0, conf); >> >> >> > Of course you can also do it in your services.xml file :) >> >> >> > >> >> >> > >> >> >> > On 5/8/07, velidandas <[EMAIL PROTECTED]> >> wrote: >> >> >> >> >> >> >> >> >> >> >> >> I got the sources downloaded and created aegis xml file, but not >> >> >> getting >> >> >> >> the >> >> >> >> soapAction set in >> >> >> >> the wsdl. >> >> >> >> >> >> >> >> I have created aegis xml with below content >> >> >> >> >> >> >> >> <mappings> >> >> >> >> <mapping name="np:PlatformManagerService"> >> >> >> >> <method name="logon" mappedName="logon" >> >> >> action="logon"> >> >> >> >> <parameter index="0" >> mappedName="parameter_1" >> >> >> >> header="true"/> >> >> >> >> <parameter index="1" >> mappedName="parameter_2" >> >> /> >> >> >> >> </mapping> >> >> >> >> </mappings> >> >> >> >> >> >> >> >> >> >> >> >> I am not sure about the parameters, Is it compulsory to set >> >> parameters >> >> >> as >> >> >> >> in >> >> >> >> the above aegis xml? >> >> >> >> >> >> >> >> Please let me know how to resolve this issue. >> >> >> >> >> >> >> >> >> >> >> >> Tomek Sztelak wrote: >> >> >> >> > >> >> >> >> > Download XFire 1.2.6 sources and check >> >> >> >> > xfire-aegis\src\test\org\codehaus\xfire\configuration folder. >> >> There >> >> >> >> > is sample how to do it. >> >> >> >> > >> >> >> >> > On 5/7/07, velidandas <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> >> >> >> >> >> >> Can you please direct me to the sample aegis xml to set the >> >> same. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Tomek Sztelak wrote: >> >> >> >> >> > >> >> >> >> >> > You can set soap action using jsr181 annotations ( or since >> >> 1.2.6 >> >> >> >> with >> >> >> >> >> > aegis mapping file ) >> >> >> >> >> > >> >> >> >> >> > On 5/7/07, velidandas >> <[EMAIL PROTECTED]> >> >> >> wrote: >> >> >> >> >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> >> >> >> >> How can I set soapAction value in the wsdl being >> generated. >> >> >> >> >> >> >> >> >> >> >> >> Please let me know the configuration file to be >> >> edited/created >> >> >> to >> >> >> >> set >> >> >> >> >> the >> >> >> >> >> >> soapAction values >> >> >> >> >> >> as currently generated wsdl contains soapAction empty as >> >> below >> >> >> >> >> >> >> >> >> >> >> >> <wsdl:operation name="logon"> >> >> >> >> >> >> <wsdlsoap:operation soapAction="" /> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I have spring/xfire configured webservices deployed on >> JBoss >> >> and >> >> >> I >> >> >> >> am >> >> >> >> >> >> trying >> >> >> >> >> >> to inovke the web service from >> >> >> >> >> >> XSUL Dynamic Client with complex types. >> >> >> >> >> >> >> >> >> >> >> >> I am getting SOAP-FAULT saying >> >> >> >> >> >> Action '' was not found for service, as I found >> <wsa:Action> >> >> is >> >> >> >> being >> >> >> >> >> >> sent >> >> >> >> >> >> with empty value as >> >> >> >> >> >> soapAction in the WSDL generated from XFire is empty. >> >> >> >> >> >> >> >> >> >> >> >> Please let me know how to fix this problem. >> >> >> >> >> >> >> >> >> >> >> >> Thanks in advance, >> >> >> >> >> >> Srinivas. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/SoapAction-tf3703322.html#a10356138 >> >> >> >> >> >> Sent from the XFire - User mailing list archive at >> >> Nabble.com. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> >> >> To unsubscribe from this list please visit: >> >> >> >> >> >> >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > -- >> >> >> >> >> > ----- >> >> >> >> >> > When one of our products stops working, we'll blame another >> >> >> vendor >> >> >> >> >> > within 24 hours. >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> >> > To unsubscribe from this list please visit: >> >> >> >> >> > >> >> >> >> >> > http://xircles.codehaus.org/manage_email >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> >> View this message in context: >> >> >> >> >> http://www.nabble.com/SoapAction-tf3703322.html#a10356324 >> >> >> >> >> Sent from the XFire - User mailing list archive at >> Nabble.com. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> >> To unsubscribe from this list please visit: >> >> >> >> >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> > >> >> >> >> > -- >> >> >> >> > ----- >> >> >> >> > When one of our products stops working, we'll blame another >> >> vendor >> >> >> >> > within 24 hours. >> >> >> >> > >> >> >> >> > >> >> >> >> --------------------------------------------------------------------- >> >> >> >> > To unsubscribe from this list please visit: >> >> >> >> > >> >> >> >> > http://xircles.codehaus.org/manage_email >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> >> >> >> >> -- >> >> >> >> View this message in context: >> >> >> >> http://www.nabble.com/SoapAction-tf3703322.html#a10373258 >> >> >> >> Sent from the XFire - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> To unsubscribe from this list please visit: >> >> >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > ----- >> >> >> > When one of our products stops working, we'll blame another >> vendor >> >> >> > within 24 hours. >> >> >> > >> >> >> > >> >> --------------------------------------------------------------------- >> >> >> > To unsubscribe from this list please visit: >> >> >> > >> >> >> > http://xircles.codehaus.org/manage_email >> >> >> > >> >> >> > >> >> >> > >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> http://www.nabble.com/SoapAction-tf3703322.html#a10373721 >> >> >> Sent from the XFire - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe from this list please visit: >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> > >> >> > >> >> > -- >> >> > ----- >> >> > When one of our products stops working, we'll blame another vendor >> >> > within 24 hours. >> >> > >> >> > >> --------------------------------------------------------------------- >> >> > To unsubscribe from this list please visit: >> >> > >> >> > http://xircles.codehaus.org/manage_email >> >> > >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/SoapAction-tf3703322.html#a10373861 >> >> Sent from the XFire - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe from this list please visit: >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> > >> > >> > -- >> > ----- >> > When one of our products stops working, we'll blame another vendor >> > within 24 hours. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe from this list please visit: >> > >> > http://xircles.codehaus.org/manage_email >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/SoapAction-tf3703322.html#a10374831 >> Sent from the XFire - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > > -- > ----- > When one of our products stops working, we'll blame another vendor > within 24 hours. > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > -- View this message in context: http://www.nabble.com/SoapAction-tf3703322.html#a10374935 Sent from the XFire - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-- ----- When one of our products stops working, we'll blame another vendor within 24 hours. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
