Hi Folks, Got an interesting case here - can some one help please?
I'm using a MessageStore in a proxy flow. I have a message which I send to a SOAP endpoint. When I use a JMS store it works fine - the correct message gets sent to the endpoint. However, when I swap that out for an in-memory store the ns is lost and the message fails to get processed at the EP. I have copied three versions of the message below: [1] is the message as I sent it before I used a messagestore. [2] is the message that works when I send it through a JMS message store [3] is the failing message as is sent when it comes out of the JMSStore. I'm assuming that the message is serialised in and out of the message store and this is probably where the problem is ? [1] ORIGINAL MESSAGE <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cof="http://coffee.suppliers.com/"> <soapenv:Header/> <soapenv:Body> <cof:orderSupplies> <shopName>mylovelyshop</shopName> <supplyType>morecoffee !!</supplyType> <quantity>3</quantity> </cof:orderSupplies> </soapenv:Body> </soapenv:Envelope> [2] WORKING JMS_MESSAGE_STORE MESSAGE <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <cof:orderSupplies xmlns:cof="http://coffee.suppliers.com/"> <shopName>mylovelyshop</shopName> <supplyType>morecoffee !!</supplyType> <quantity>3</quantity> </cof:orderSupplies> </soapenv:Body> </soapenv:Envelope> [3] FAILING IN-MEMORY MESSAGE <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <orderSupplies> <shopName>mylovelyshop</shopName> <supplyType>morecoffee !!</supplyType> <quantity>3</quantity> </orderSupplies> </soapenv:Body> </soapenv:Envelope> Is this a bug in the in-memory message store serialisation or a feature of my configuration ? many thanks ! John. John Hawkins Director: Solutions Architecture
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
