How do we give the service and endpoint. You gave service="test:zazaService" and endpoint="endpointProvider" for provider. What does zazaService mean? thanks, srika.
jlbarrera wrote: > > OK already i get solved the problem! > > The http error 404 must be by configuration problem in xbean.xml > > This is the xbean.xml that worked fine: > > <?xml version="1.0"?> > > <beans xmlns:sm="http://servicemix.apache.org/config/1.0" > xmlns:http="http://servicemix.apache.org/http/1.0" > xmlns:test="http://DefaultNamespace"> <!-- wsdl definitions > targetNamespace--> > > > <!-- CONSUMER --> > > <!-- El service consumer = service del provider --> > > <http:endpoint service="test:zazaService" > endpoint="endpointConsumer" > targetService="test:zazaService" > soapVersion="1.1" > soap="true" > role="consumer" > > locationURI="http://0.0.0.0:8787/test/AttachmentWS" > > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" > /> > > <!-- PROVIDER --> > > <!-- El service consumer = wsdl service name --> > <!-- El targetService = wsdl service name --> > > <http:endpoint service="test:zazaService" > > targetService="test:zazaService" > endpoint="endpointProvider" > interfaceName="test:zaza" > soapVersion="1.1" > soap="true" > role="provider" > > locationURI="http://localhost:8080/zaza/services/zaza" > > > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" > > wsdlResource="http://localhost:8080/zaza/services/zaza?wsdl" > /> > > </beans> > > > The component servicemix-http must be installed, and i am using Servicemix > 3.1 > > > Grégoire "A." wrote: >> >> >> Please this all the log (DEBUG) into servicemix.log >> you could have more detail. >> try delete all temp data, rm -rf data/* and restart >> smx. >> try calling directly your external ws to check if it >> works fine. >> >> But it should work fine. >> >> In last case you can debug smx with SERVICEMIX_DEBUG=Y >> >> enviromment variable. >> >> Cordialement, >> Grégoire A. >> --- jlbarrera <[EMAIL PROTECTED]> a écrit : >> >>> >>> I try make this, I create a SA: >>> >>> Structure: >>> >>> rsswsJar.zip >>> -------------> META-INF >>> >>> --------------> jbi.xml >>> -------------> rsswshttp-su.zip >>> >>> ---------------> xbean.xml >>> >>> The deployment of the SA is OK: >>> >>> INFO - AutoDeploymentService - Directory: >>> deploy: Archive changed: >>> processing rsswsJar.zip ... >>> INFO - ServiceAssemblyLifeCycle - Starting >>> service assembly: rssws >>> INFO - ServiceUnitLifeCycle - >>> Initializing service unit: >>> rsswshttp-su >>> INFO - ServiceUnitLifeCycle - Starting >>> service unit: rsswshttp-su >>> INFO - AutoDeploymentService - Directory: >>> deploy: Finished >>> installation of archive: rsswsJar.zip >>> >>> The xbean.xml is: >>> >>> <?xml version="1.0"?> >>> <beans >>> xmlns:sm="http://servicemix.apache.org/config/1.0" >>> xmlns:http="http://servicemix.apache.org/http/1.0" >>> xmlns:test="http://DefaultNamespace" >>> > >>> <http:endpoint service="test:TestInOnlyService" >>> >>> endpoint="TestInOnlyServiceProxy" >>> >>> targetService="test:AttachmentService" >>> soapVersion="1.1" >>> soap="true" >>> role="consumer" >>> >>> >>> locationURI="http://0.0.0.0:8787/test/AttachmentWS" >>> >>> >>> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >>> /> >>> >>> >>> <http:endpoint service="test:AttachmentService" >>> >>> >>> endpoint="AttachmentServiceProvider" >>> >>> >>> interfaceName="test:AttachmentServiceImpl" >>> soapVersion="1.1" >>> soap="true" >>> role="provider" >>> >>> >>> >> locationURI="http://localhost:8080/zaza/services/zaza" >>> >>> >>> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >>> /> >>> >>> </beans> >>> >>> And the port 8787 its UP, but when accessin to >>> http://localhost:8787/test/AttachmentWS: >>> >>> ERROR 404 >>> Unable to find requested resource >>> >>> RequestURI=/test/AttachmentWS/ >>> >>> Powered by Jetty:// >>> >>> What happened? Thaks! >>> >>> >>> Grégoire "A." wrote: >>> > >>> > >>> > Hello >>> > >>> > into an http component, this config should work >>> fine >>> > ;-) >>> > >>> > you have to modify for your need >>> > >>> > >>> >> ***************************************************** >>> > <!-- BC : Input endpoint --> >>> > <http:endpoint >>> service="test:TestInOnlyService" >>> > >>> > endpoint="TestInOnlyServiceProxy" >>> > >>> > >>> targetService="test:AttachmentService" >>> > soapVersion="1.1" >>> > >>> > soap="true" >>> > >>> > role="consumer" >>> > >>> > >>> > >>> locationURI="http://0.0.0.0:8080/test/AttachmentWS" >>> > >>> > >>> > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >>> >>> > /> >>> > >>> > <!-- end BC --> >>> > >>> > >>> > <!-- BC Output endpoint --> >>> > >>> > <http:endpoint >>> service="test:AttachmentService" >>> > >>> > >>> > endpoint="AttachmentServiceProvider" >>> > >>> > >>> > interfaceName="test:AttachmentServiceImpl" >>> > >>> > soapVersion="1.1" >>> > >>> > soap="true" >>> > >>> > role="provider" >>> > >>> > >>> >> locationURI="http://<remoteWS>:8080/test/AttachmentWS" >>> > >>> > >>> > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >>> /> >>> > >>> > <!-- FIN BC --> >>> > >>> >> ****************************************************** >>> > >>> > Cordiallement, >>> > Grégoire A. >>> > >>> > --- jlbarrera <[EMAIL PROTECTED]> a écrit : >>> > >>> >> >>> >> Yes! >>> >> >>> >> This is i want make! but how? >>> >> >>> >> >>> >> Grégoire "A." wrote: >>> >> > >>> >> > >>> >> > Do you need use smx like ws bridge? >>> >> > like this >>> >> > >>> >> > |--------------- SMX 3.1 >>> ----------------| >>> >> > ws-in <-> http(consumer) <---> http(provider) >>> >> <->wsout >>> >> > >>> >> > >>> >> > -- request flow --> >>> >> > <-- reply flow -- >>> >> > >>> >> > Cordialement, >>> >> > Grégoire >>> >> > >>> >> > --- jlbarrera <[EMAIL PROTECTED]> a écrit : >>> >> > >>> >> >> >>> >> >> Somebody can write a servicemix.xml that >>> exposes >>> >> an >>> >> >> external webservices in >>> >> >> SERVICEMIX accessible by webservice too?? >>> >> >> >>> >> >> anybody? >>> >> >> -- >>> >> >> View this message in context: >>> >> >> >>> >> > >>> >> >>> > >>> >> http://www.nabble.com/Simple-Web-Service-Sample-tf3179937s12049.html#a8823853 >>> >> >> Sent from the ServiceMix - User mailing list >>> >> archive >>> >> >> at Nabble.com. >>> >> >> >>> >> >> >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> >>> > >>> >> ___________________________________________________________________________ >>> >> >>> >> > Découvrez une nouvelle façon d'obtenir des >>> >> réponses à toutes vos questions >>> >> > ! >>> >> > Profitez des connaissances, des opinions et des >>> >> expériences des >>> >> > internautes sur Yahoo! Questions/Réponses >>> >> > http://fr.answers.yahoo.com >>> >> > >>> >> > >>> >> >>> >> -- >>> >> View this message in context: >>> >> >>> > >>> >> http://www.nabble.com/Simple-Web-Service-Sample-tf3179937s12049.html#a8824243 >>> >> Sent from the ServiceMix - User mailing list >>> archive >>> >> at Nabble.com. >>> >> >>> >> >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> >> ___________________________________________________________________________ >>> >>> > Découvrez une nouvelle façon d'obtenir des >>> réponses à toutes vos questions >>> > ! >>> > Profitez des connaissances, des opinions et des >>> expériences des >>> > internautes sur Yahoo! Questions/Réponses >>> > http://fr.answers.yahoo.com >>> > >>> > >>> >>> -- >>> View this message in context: >>> >> http://www.nabble.com/Simple-Web-Service-Sample-tf3179937s12049.html#a8825012 >>> Sent from the ServiceMix - User mailing list archive >>> at Nabble.com. >>> >>> >> >> >> >> >> >> >> >> ___________________________________________________________________________ >> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos >> questions ! >> Profitez des connaissances, des opinions et des expériences des >> internautes sur Yahoo! Questions/Réponses >> http://fr.answers.yahoo.com >> >> > > -- View this message in context: http://www.nabble.com/Simple-Web-Service-Sample-tf3179937s12049.html#a9198362 Sent from the ServiceMix - User mailing list archive at Nabble.com.
