Author |
Message
|
Raoa |
Posted: Fri Mar 18, 2016 3:58 am Post subject: Passing a request to HTTPRequest Node in IIB 10 |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
I have a simple flow that is like SOAPINPUT -->COMPUTE -->HTTPREQUEST -->COMPUTE -- SOAP REPLY ....
If I replace the HTTP REQUEST with SOAPREQUEST and the following works.
SET OutputRoot.SOAP.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:address1 = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:address1;
SET OutputRoot.SOAP.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:fName = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:fName;
SET OutputRoot.SOAP.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:lName = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:lName;
I could not pass the similar input to a HTTPREQUEST NODE
I am doing something like this
SET OutputRoot.XMLNSC.Envelope.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:address1 = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:address1;
SET OutputRoot.XMLNSC.Envelope.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:fName = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:fName;
SET OutputRoot.XMLNSC.Envelope.Body.serviceNS:GetGreeting.serviceNS:user.serviceNS:lName = InputRoot.XMLNSC.flowNS:GetGreeting.flowNS:user.flowNS:lName;
What do I need to do in the compute before and after for a HTTP REQUEST to pass the data to the webservice
Thanks |
|
Back to top |
|
 |
timber |
Posted: Fri Mar 18, 2016 4:19 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
I could not pass the similar input to a HTTPREQUEST NODE |
Why not? What happened when you tried to? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 18, 2016 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you set the eg to use the embeded HTTP Listener, or is it trying to use the broker wide HTTP Listener?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Raoa |
Posted: Fri Mar 18, 2016 5:41 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
The Set example is using the embedded Listener
I was looking for some logical sequence of what do we do for a HTTP REQUEST in terms of passing the data
Is there an example of sort what need to be done in the before Compute and after compute.
If we are coming in from SOAPINPUT and calling HTTPREQUEST and then a SOAPREPLY What need to be done ?
If we are coming in from MQINPUT and calling HTTPREQUEST and then a MQREPLY what need to be done....
I am looking at a very high level pointers ...Thanks for your hrlp |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 18, 2016 5:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
the listener doesn't matter for a request, even if the request is going back to IIB.
The structure of the message tree, particularly the namespaces of the elements, does matter.
The esql posted produces different trees. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Raoa |
Posted: Fri Mar 18, 2016 6:01 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
I am only using the OutputRoot.XMLNSC.Envelope.Body.* setup for HTTPREQUEST .....and looking for the proper outputroot structure to be populated |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 18, 2016 6:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Raoa wrote: |
I am only using the OutputRoot.XMLNSC.Envelope.Body.* setup for HTTPREQUEST .....and looking for the proper outputroot structure to be populated |
Yes.
That ESQL statement does not use namespaces. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Raoa |
Posted: Fri Mar 18, 2016 6:14 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
Here is the Exception log on the trace:
Code: |
------------------------------ Exception Caught - 2016-03-18 10:10:52.353861 --------------------- SOAPRoot.Properties MessageSet = '{GetGreeting_lib}' MessageType = '' MessageFormat = '' Encoding = 546 CodedCharSetId = 1208 Transactional = FALSE Persistence = FALSE CreationTime = GMTTIMESTAMP '2016-03-18 14:10:52.346001' ExpirationTime = -1 Priority = 0 ReplyIdentifier = X'000000000000000000000000000000000000000000000000' ReplyProtocol = 'SOAP-AXIS2' Topic = NULL ContentType = 'text/xml;charset=UTF-8' IdentitySourceType = '' IdentitySourceToken = '' IdentitySourceIssuedBy = '' IdentityMappedType = '' IdentityMappedToken = '' IdentityMappedPassword = Not currently being displayed IdentityMappedIssuedBy = '' ( ['WSINPHDR' : 0x24447680]
(0x03000000:NameValue):X-Original-HTTP-Command = 'POST http://localhost:7800/tempui/EntService/Greeting/GetGreeting HTTP/1.1' (CHARACTER)
(0x03000000:NameValue):Accept-Encoding = 'gzip,deflate' (CHARACTER)
(0x03000000:NameValue):Content-Type = 'text/xml;charset=UTF-8' (CHARACTER)
(0x03000000:NameValue):SOAPAction = '"http://www.tempui.com/GetGreeting"' (CHARACTER)
(0x03000000:NameValue):Content-Length = '529' (CHARACTER)
(0x03000000:NameValue):Host = 'localhost:7800' (CHARACTER)
(0x03000000:NameValue):Connection = 'Keep-Alive' (CHARACTER)
(0x03000000:NameValue):User-Agent = 'Apache-HttpClient/4.1.1 (java 1.5)' (CHARACTER)
(0x03000000:NameValue):X-Remote-Addr = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Remote-Host = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Server-Name = 'localhost' (CHARACTER)
(0x03000000:NameValue):X-Server-Port = '7800' (CHARACTER)
) ( ['xmlnsc' : 0x21942560]
(0x01000000:Folder)http://www.tempui.com/GetGreeting/:GetGreeting = ( ['xmlnsc' : 0x219421f0]
(0x01000000:Folder)http://www.tempui.com/GetGreeting/:user = (
(0x03000000:PCDataField)http://www.tempui.com/GetGreeting/:address1 = 'john' (CHARACTER)
(0x03000000:PCDataField)http://www.tempui.com/GetGreeting/:fName = 'john' (CHARACTER)
(0x03000000:PCDataField)http://www.tempui.com/GetGreeting/:lName = 'Test' (CHARACTER)
)
)
(0x01000000:Folder):Envelope = (
(0x01000000:Folder):Body = (
(0x01000000:Folder)http://www.tempui.com/GreetingService/:GetGreeting = (
(0x01000000:Folder)http://www.tempui.com/GreetingService/:user = (
(0x03000000:PCDataField)http://www.tempui.com/GreetingService/:address1 = 'john' (CHARACTER)
(0x03000000:PCDataField)http://www.tempui.com/GreetingService/:fName = 'john' (CHARACTER)
(0x03000000:PCDataField)http://www.tempui.com/GreetingService/:lName = 'Test' (CHARACTER)
)
)
)
)
) ( ['MQROOT' : 0x1ba97600]
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1239 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmWSRequestNode' (CHARACTER)
(0x03000000:NameValue):Name = 'Soap_ServiceCall#FCMComposite_1_12' (CHARACTER)
(0x03000000:NameValue):Label = 'Soap_ServiceCall.HTTP Request' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 14 (INTEGER)
(0x03000000:NameValue):Text = 'Soap_ServiceCall.HTTP Request' (CHARACTER)
)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1123 (INTEGER)
(0x03000000:NameValue):Function = 'ImbWSRequestNode::evaluate' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3162 (INTEGER)
(0x03000000:NameValue):Text = 'WebService Request Exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):ParserException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCParser.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 924 (INTEGER)
(0x03000000:NameValue):Function = 'ImbXMLNSCParser::refreshBitStreamFromElementsCommon' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmSOAPInputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'Soap_ServiceCall#FCMComposite_1_10' (CHARACTER)
(0x03000000:NameValue):Label = 'Soap_ServiceCall.SOAP Input' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 5010 (INTEGER)
(0x03000000:NameValue):Text = 'XML Writing Errors have occurred' (CHARACTER)
(0x01000000:Name ):ParserException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCWriter.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 982 (INTEGER)
(0x03000000:NameValue):Function = 'ImbXMLNSCWriter::writeMisc' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 5016 (INTEGER)
(0x03000000:NameValue):Text = 'Unexpected XML type at this point in document.' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'Envelope' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'folderType' (CHARACTER)
)
)
)
)
)
) |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 18, 2016 6:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqjeff wrote: |
Raoa wrote: |
I am only using the OutputRoot.XMLNSC.Envelope.Body.* setup for HTTPREQUEST .....and looking for the proper outputroot structure to be populated |
Yes.
That ESQL statement does not use namespaces. |
as confirmed by your trace
You need something like
Code: |
OutputRoot.XMLNSC.soapenv:Envelope.soapenv:Body |
The XMLNSC parser does not behave like the SOAP parser!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Raoa |
Posted: Fri Mar 18, 2016 6:52 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
Am I Setting up the namespace for soapenv ?
Could you please elaborate ... |
|
Back to top |
|
 |
timber |
Posted: Fri Mar 18, 2016 6:55 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
Here is the Exception log on the trace |
Better late than never. What made you think that we would be able to diagnose the problem without seeing the errors that you are getting?
I don't think the problem will be solved entirely by correcting the namespace on the SOAP body. The error suggests that the tree structure is wrong.
I think we need to see the entire message tree. Please can you add a Trace node immediately before the HTTPRequest node, and set the Pattern to ${Root}. Post the results here ( with anything confidential removed, of course ). |
|
Back to top |
|
 |
Raoa |
Posted: Fri Mar 18, 2016 7:29 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2016 Posts: 9
|
Please see the Root dump
Trace 1 is before Compute
Trace 2 is After Compute and before HTTPREQUEST.
Last is the Exception Trace after HTTPREQUEST
Code: |
------------------------------ Trace 1 - 2016-03-18 11:25:10.826660 --------------------- ( ['xmlnsc' : 0x1fc82480]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:GetGreeting = ( ['xmlnsc' : 0x1fc82110]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:lName = 'Test' (CHARACTER)
)
)
)
------------------------------ Trace 2 - 2016-03-18 11:25:10.828266 --------------------- ( ['SOAPRoot' : 0x130ec8c0]
(0x01000000:Name ):Properties = ( ['SOAPPROPERTYPARSER' : 0x17c63440]
(0x03000000:NameValue):MessageSet = '{GetGreeting_lib}' (CHARACTER)
(0x03000000:NameValue):MessageType = '' (CHARACTER)
(0x03000000:NameValue):MessageFormat = '' (CHARACTER)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1208 (INTEGER)
(0x03000000:NameValue):Transactional = FALSE (BOOLEAN)
(0x03000000:NameValue):Persistence = FALSE (BOOLEAN)
(0x03000000:NameValue):CreationTime = GMTTIMESTAMP '2016-03-18 15:25:10.822001' (GMTTIMESTAMP)
(0x03000000:NameValue):ExpirationTime = -1 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):ReplyProtocol = 'SOAP-AXIS2' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = 'text/xml;charset=UTF-8' (CHARACTER)
(0x03000000:NameValue):IdentitySourceType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceToken = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourcePassword = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedType = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedToken = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedPassword = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000000:Name ):HTTPInputHeader = ( ['WSINPHDR' : 0x178b5330]
(0x03000000:NameValue):X-Original-HTTP-Command = 'POST http://localhost:7800/tempuri/EntService/Greeting/GetGreeting HTTP/1.1' (CHARACTER)
(0x03000000:NameValue):Accept-Encoding = 'gzip,deflate' (CHARACTER)
(0x03000000:NameValue):Content-Type = 'text/xml;charset=UTF-8' (CHARACTER)
(0x03000000:NameValue):SOAPAction = '"http://www.tempuri.com/GetGreeting"' (CHARACTER)
(0x03000000:NameValue):Content-Length = '529' (CHARACTER)
(0x03000000:NameValue):Host = 'localhost:7800' (CHARACTER)
(0x03000000:NameValue):Connection = 'Keep-Alive' (CHARACTER)
(0x03000000:NameValue):User-Agent = 'Apache-HttpClient/4.1.1 (java 1.5)' (CHARACTER)
(0x03000000:NameValue):X-Remote-Addr = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Remote-Host = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Server-Name = 'localhost' (CHARACTER)
(0x03000000:NameValue):X-Server-Port = '7800' (CHARACTER)
)
(0x01000000:Folder):XMLNSC = ( ['xmlnsc' : 0x1fc827f0]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:GetGreeting = ( ['xmlnsc' : 0x1fc82b60]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:lName = 'Test' (CHARACTER)
)
)
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Envelope = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Body = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:GetGreeting = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:lName = 'Test' (CHARACTER)
)
)
)
)
)
)
------------------------------ Exception Caught - 2016-03-18 11:25:10.829314 --------------------- SOAPRoot.Properties MessageSet = '{GetGreeting_lib}' MessageType = '' MessageFormat = '' Encoding = 546 CodedCharSetId = 1208 Transactional = FALSE Persistence = FALSE CreationTime = GMTTIMESTAMP '2016-03-18 15:25:10.822001' ExpirationTime = -1 Priority = 0 ReplyIdentifier = X'000000000000000000000000000000000000000000000000' ReplyProtocol = 'SOAP-AXIS2' Topic = NULL ContentType = 'text/xml;charset=UTF-8' IdentitySourceType = '' IdentitySourceToken = '' IdentitySourceIssuedBy = '' IdentityMappedType = '' IdentityMappedToken = '' IdentityMappedPassword = Not currently being displayed IdentityMappedIssuedBy = '' ( ['WSINPHDR' : 0x1a494ab0]
(0x03000000:NameValue):X-Original-HTTP-Command = 'POST http://localhost:7800/tempuri/EntService/Greeting/GetGreeting HTTP/1.1' (CHARACTER)
(0x03000000:NameValue):Accept-Encoding = 'gzip,deflate' (CHARACTER)
(0x03000000:NameValue):Content-Type = 'text/xml;charset=UTF-8' (CHARACTER)
(0x03000000:NameValue):SOAPAction = '"http://www.tempuri.com/GetGreeting"' (CHARACTER)
(0x03000000:NameValue):Content-Length = '529' (CHARACTER)
(0x03000000:NameValue):Host = 'localhost:7800' (CHARACTER)
(0x03000000:NameValue):Connection = 'Keep-Alive' (CHARACTER)
(0x03000000:NameValue):User-Agent = 'Apache-HttpClient/4.1.1 (java 1.5)' (CHARACTER)
(0x03000000:NameValue):X-Remote-Addr = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Remote-Host = '127.0.0.1' (CHARACTER)
(0x03000000:NameValue):X-Server-Name = 'localhost' (CHARACTER)
(0x03000000:NameValue):X-Server-Port = '7800' (CHARACTER)
) ( ['xmlnsc' : 0x1fc835b0]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:GetGreeting = ( ['xmlnsc' : 0x1fc83920]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:lName = 'Test' (CHARACTER)
)
)
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Envelope = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Body = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:GetGreeting = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:lName = 'Test' (CHARACTER)
)
)
)
)
) ( ['MQROOT' : 0x178b5990]
(0x01000000:Name):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1239 (INTEGER)
(0x03000000:NameValue):Function = 'ImbDataFlowNode::createExceptionList' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmWSRequestNode' (CHARACTER)
(0x03000000:NameValue):Name = 'Soap_ServiceCall#FCMComposite_1_12' (CHARACTER)
(0x03000000:NameValue):Label = 'Soap_ServiceCall.HTTP Request' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Node throwing exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 14 (INTEGER)
(0x03000000:NameValue):Text = 'Soap_ServiceCall.HTTP Request' (CHARACTER)
)
(0x01000000:Name ):RecoverableException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\WebServices\WSLibrary\ImbWSRequestNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 1123 (INTEGER)
(0x03000000:NameValue):Function = 'ImbWSRequestNode::evaluate' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 3162 (INTEGER)
(0x03000000:NameValue):Text = 'WebService Request Exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):ParserException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCParser.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 924 (INTEGER)
(0x03000000:NameValue):Function = 'ImbXMLNSCParser::refreshBitStreamFromElementsCommon' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmSOAPInputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'Soap_ServiceCall#FCMComposite_1_10' (CHARACTER)
(0x03000000:NameValue):Label = 'Soap_ServiceCall.SOAP Input' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 5010 (INTEGER)
(0x03000000:NameValue):Text = 'XML Writing Errors have occurred' (CHARACTER)
(0x01000000:Name ):ParserException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCWriter.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 982 (INTEGER)
(0x03000000:NameValue):Function = 'ImbXMLNSCWriter::writeMisc' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 5016 (INTEGER)
(0x03000000:NameValue):Text = 'Unexpected XML type at this point in document.' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'Envelope' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'folderType' (CHARACTER)
)
)
)
)
)
)
|
|
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Mar 18, 2016 7:58 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Code: |
(0x01000000:Folder):XMLNSC = ( ['xmlnsc' : 0x1fc827f0]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:GetGreeting = ( ['xmlnsc' : 0x1fc82b60]
(0x01000000:Folder)http://www.tempuri.com/GetGreeting/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GetGreeting/:lName = 'Test' (CHARACTER)
)
)
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Envelope = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:Body = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:GetGreeting = (
(0x01000000:Folder)http://www.tempuri.com/GreetingService/:user = (
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:address1 = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:fName = 'John' (CHARACTER)
(0x03000000:PCDataField)http://www.tempuri.com/GreetingService/:lName = 'Test' (CHARACTER)
)
|
Perhaps the cause of the error is in this bit? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Fri Mar 18, 2016 8:48 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
You want the ${Root} of your outgoing request to look something like this:
Code: |
( ['SOAPRoot' : 0x17362140]
(0x01000000:Name ):Properties = ( ['MQPROPERTYPARSER' : 0x5b59810]
...
)
(0x01000000:Folder):XMLNSC = ( ['xmlnsc' : 0x171cb6f0]
(0x01000000:Folder)http://schemas.xmlsoap.org/soap/envelope/:Envelope = (
(0x03000102:NamespaceDecl)xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' (CHARACTER)
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:ses = 'http://schemas.organization.com/sessionservice/2010/01/session' (CHARACTER)
(0x03000102:NamespaceDecl)http://www.w3.org/2000/xmlns/:com = 'http://schemas.organization.com/sessionservice/2010/01/session/common' (CHARACTER)
(0x01000000:Folder )http://schemas.xmlsoap.org/soap/envelope/:Header =
(0x01000000:Folder )http://schemas.xmlsoap.org/soap/envelope/:Body = (
(0x01000000:Folder)http://schemas.organization.com/sessionservice/2010/01/session:Login = (
(0x01000000:Folder)http://schemas.organization.com/sessionservice/2010/01/session:request = (
(0x03000000:PCDataField)http://schemas.organization.com/sessionservice/2010/01/session/common:LoginPassword = 'mypassword' (CHARACTER)
(0x03000000:PCDataField)http://schemas.organization.com/sessionservice/2010/01/session/common:LoginUser = 'myuser' (CHARACTER)
)
)
)
)
)
) |
_________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
|