You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by gauravsonline <sa...@techmahindra.com> on 2007/05/11 11:06:31 UTC

Re: "Creating a protocol bridge" tutorial's configs are differentfromBridge example's



Gert Vanthienen wrote:
> 
> L.S.,
> Thank you so much. Would like to suggest one more small change, though not
> important but it would make the things more concrete.
> 
> Actually in the XSLT SU, the xsl:stylesheet version is "1.0", which should
> be "2.0". If not the case then servicemix gives a warning that "saxon
> engine is 2.0 but the stylesheet version is 1.0".
> 
> Hope this makes sense. As of know I just have these many changes only.
> 
> Also thanks for ur reply on the second use case. I will now work on that.
> 
> Regards....
> Gaurav
> 
> First of all, I have changed 
> http://cwiki.apache.org/confluence/display/SM/Creating+a+protocol+bridge.  
> Could you check if all necessary changes have been done?  This page will 
> get replicated to the main site after a while...
> 
> For your second use case: if you do not need any transformations on the 
> message content, you can create a service assembly with two service units:
> - one SU based on servicemix-jms, defining the JMS consumer endpoint to 
> read messages from a JMS queue (cfr. 
> http://incubator.apache.org/servicemix/servicemix-jms.html for 
> configuration options)
> - the other SU based on servicemix-http, defining the HTTP provider 
> endpoint which points to your webservice (cfr. 
> http://incubator.apache.org/servicemix/servicemix-http.html for 
> configuration options)
> 
> Beware that the service/endpoint name of you HTTP provider endpoint 
> should match the names defined in your webservice's WSDL.  You can 
> either use the same service/endpoint name on your JMS endpoint or use 
> the targetService/targetEndpoint attributes to do the routing.
> 
> 
> Regards,
> 
> Gert
> 
> gauravsonline wrote:
>> HI,
>> Thanks for your help. Actualy just now I resolved the problem.
>> The problem was in the xslt-su. The archtyope by default generates the
>> servicemix.xml file and in the example code its xbean.xml file. So just
>> renaming the file from servicemix.xml to xbean.xml. The saxon dependency
>> was
>> ok.
>>
>> Now the next step is to read the messages from the queue and call a web
>> service. Could you please help??
>>
>> Also I would like to request the moderator if they could update this
>> thing
>> at :
>> http://incubator.apache.org/servicemix/creating-a-protocol-bridge.html
>> http://incubator.apache.org/servicemix/creating-a-protocol-bridge.html 
>>
>> in the "XSLT SU" section, as this has costed me two days to resolve.
>>
>> Thanks all for your help!
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%22Creating-a-protocol-bridge%22-tutorial%27s-configs-are-different-from-Bridge-example%27s-tf3162370s12049.html#a10428367
Sent from the ServiceMix - User mailing list archive at Nabble.com.