You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by L_L <ll...@hotmail.com> on 2008/04/11 17:18:26 UTC

What is the best approach for Fixed-Length Text to XML Transformation?

I have a Legacy Endpoint that expects Fixed-Length Text Messages. I would
like to provide a Web Service Adapter that defines a XSD for these messages
and have my Service Assembly transform the XML messages to / from the
expected Text-based messages. 

I found some earlier posts on how to transform text files into a Normalized
Message through a Marshaler, such as the SimpleFlatFileMarshaler, but I
haven't come across anything that describes mapping between a source Text
Message and a target XML message. I know that this isn't a unique
requirement, would someone mind sharing how they were able to solve a
similar problem?

-- 
View this message in context: http://www.nabble.com/What-is-the-best-approach-for-Fixed-Length-Text-to-XML-Transformation--tp16627869p16627869.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: What is the best approach for Fixed-Length Text to XML Transformation?

Posted by Guillaume Nodet <gn...@gmail.com>.
The requirement is not unique, but I think the way the transformation is
done is.
How you define your XSD and how you do the transformation is specific to you
and ServiceMix does not really help here.  I guess you need to either write
the marshaler yourself or use products like
http://www.iona.ie/products/artix/data_services/welcome.htm that integrate
with Camel (http://activemq.apache.org/camel/artix-data-services.html)

On Fri, Apr 11, 2008 at 5:18 PM, L_L <ll...@hotmail.com> wrote:

>
> I have a Legacy Endpoint that expects Fixed-Length Text Messages. I would
> like to provide a Web Service Adapter that defines a XSD for these
> messages
> and have my Service Assembly transform the XML messages to / from the
> expected Text-based messages.
>
> I found some earlier posts on how to transform text files into a
> Normalized
> Message through a Marshaler, such as the SimpleFlatFileMarshaler, but I
> haven't come across anything that describes mapping between a source Text
> Message and a target XML message. I know that this isn't a unique
> requirement, would someone mind sharing how they were able to solve a
> similar problem?
>
> --
> View this message in context:
> http://www.nabble.com/What-is-the-best-approach-for-Fixed-Length-Text-to-XML-Transformation--tp16627869p16627869.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/