MQ and XML Problem
Posted: Sun Dec 16, 2007 2:13 pm
Hi
I am creating an XML using XML out put stage, then I trying to put the message into MQ.
I am getting following error.
MQ_PutOrders: [IIS-CONN-WSMQ-000003] Argument uszDataElementName has invalid value XML (CC_WSMQUtil::buildWSMQDataElement(), file CC_WSMQUtil.cpp, line 1,289)
Extract of XML is something like this...
<tXML xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Header><Source>ecomm</Source><Source>ecomm</Source><Action_Type>CREATE</Action_Type><Sequence_Number></Sequence_Number><Batch_ID></Batch_ID><Reference_ID></Reference_ID><User_ID></User_ID><Password></Password><Message_Type>DOMOrder</Message_Type><Company_ID>1000</Company_ID><Msg_Locale>English (United States)</Msg_Locale><Version>2007</Version></Header>
But I am able to open the same XML in the Internet explorer.
Question: Why the xml created is in this format?
Question: Is this the reason I am not able to put the message to the Queue?
Kamal
I am creating an XML using XML out put stage, then I trying to put the message into MQ.
I am getting following error.
MQ_PutOrders: [IIS-CONN-WSMQ-000003] Argument uszDataElementName has invalid value XML (CC_WSMQUtil::buildWSMQDataElement(), file CC_WSMQUtil.cpp, line 1,289)
Extract of XML is something like this...
<tXML xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Header><Source>ecomm</Source><Source>ecomm</Source><Action_Type>CREATE</Action_Type><Sequence_Number></Sequence_Number><Batch_ID></Batch_ID><Reference_ID></Reference_ID><User_ID></User_ID><Password></Password><Message_Type>DOMOrder</Message_Type><Company_ID>1000</Company_ID><Msg_Locale>English (United States)</Msg_Locale><Version>2007</Version></Header>
But I am able to open the same XML in the Internet explorer.
Question: Why the xml created is in this format?
Question: Is this the reason I am not able to put the message to the Queue?
Kamal