Results 1 to 2 of 2

Thread: java.net.MalformedURLException when read xml through message-driven-channel-adapter

  1. #1

    Default java.net.MalformedURLException when read xml through message-driven-channel-adapter

    Hello Guys,

    These days i am working with an application which needs to read xmls from jms via spring integration message-driven-channel-adapter.

    here is my xml header

    Code:
    <InboundMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    	<comment />
    	<MessageHeader>
    		<MessageType>ADT</MessageType>
    		<TriggerEvent>A01</TriggerEvent>
    		<SendingApplication>ADM</SendingApplication>
    		<SendingFacility>ROA</SendingFacility>
    		<MessageTime>201208151448</MessageTime>
    		<MessageVersion>2.2</MessageVersion>
    		<MessageControlID />
    		<ProcessingID />
    	</MessageHeader>
    <InboundMessage>
    but i am getting an exception saying

    Code:
    Caused by: java.net.MalformedURLException: no protocol: <InboundMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><comment/><MessageHeader> .....
    Do you guys have any idea about this?

    Thanks
    Kelumt

  2. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Default

    Hi!

    Give more info, please. E.g. StackTrace.
    Now it doesn't show the place of problem.

    Take care,
    Artem

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •