Announcement Announcement Module
Collapse
No announcement yet.
java.net.MalformedURLException when read xml through message-driven-channel-adapter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Hi!

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

    Take care,
    Artem

    Comment

    Working...
    X