Author |
Message
|
amit1verma |
Posted: Thu Jun 09, 2016 2:45 am Post subject: Creating HttpInputHeader |
|
|
Novice
Joined: 11 Aug 2014 Posts: 17
|
Hello All,
I have a doubt in below requirement. I'm getting request in a file and using records of the file I've to call a webservice. my issue is I'm not getting HttpInputHeader and because of the I'm getting BIP3162 error code.
Please help me how to create HttpInputHeader to call webservice.
thanks in advance. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 09, 2016 4:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
An HTTPInputHeader describes the data received by an HTTPInput node.
It should have nothing to do with the data passed to a SOAPRequest node.
What errors do you get - please be as complete and technical as you can be - if you call the SOAPRequest node without an HTTPInputHeader.
If you are going to post any long pieces of data, please use the [ c o d e ] tags to format it for readability. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
amit1verma |
Posted: Thu Jun 09, 2016 4:52 am Post subject: |
|
|
Novice
Joined: 11 Aug 2014 Posts: 17
|
Thanks mqjeff for the reply.
Below is the exception I received.
I tried to simulate same issue with other messageflow which is also calling a webservice by adding HTTP Header and deleting HTTPINput header. Got same exception now as well.
Code: |
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
Line:INTEGER:846
Function:CHARACTER:ImbSOAPRequestNode::requestData
Type:CHARACTER:ComIbmSOAPRequestNode
Name:CHARACTER:com/xyz/abc/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/abc/batchprocessing/SF_abcEntryYardi#FCMComposite_1_5
Label:CHARACTER:com.xyz.abc.batchprocessing.MF_abcEntryYardi.com/xyz/abc/batchprocessing/SF_abcEntryYardi.SOAP Request
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3754
Text:CHARACTER:Error occurred in ImbSOAPRequestHelper::makeSOAPRequest()
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
Line:INTEGER:3610
Function:CHARACTER:ImbSOAPRequestHelper::logWebServiceInvocationException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3162
Text:CHARACTER:WebService Request Exception
Insert
Type:INTEGER:12
Text:CHARACTER:436f6e74656e742d4c656e6774683a20343533340d0a436f6e74656e742d547970653a206170706c69636174696f6e2f736f61702b78
6d6c3b20636861727365743d69626d2d3433370d0a4163636570742d456e636f64696e673a20677a69702c6465666c6174650d0a557365722d4167656e
743a204170616368652d48747470436c69656e742f342e312e3120286a61766120312e35290d0a486f73743a207777772e7961726469617370332e636f
6d0d0a534f4150416374696f6e3a20225953492e45544c322e44697265637457532f496d706f72745f45544c4469726563745753220d0a436f6e6e656374
696f6e3a204b6565702d416c6976650d0a0d0a
Insert
Type:INTEGER:12
Text:CHARACTER:3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d2269626d2d343337223f3e3c736f6170656e763a456e76656c
6f706520786d6c6e733a736f6170656e763d22687474703a2f2f7777772e77332e6f72672f323030332f30352f736f61702d656e76656c6f7065223e3c736f
6170656e763a426f64793e3c6f75743a496d706f72745f45544c446972656374575320786d6c6e733a6f75743d225953492e45544c322e44697265637457
53223e3c6f75743a5753557365726e616d653e6173635f77733c2f6f75743a5753557365726e616d653e3c6f75743a575350617373776f72643e506173732
3353536363c2f6f75743a575350617373776f72643e3c6f75743a4462557365724e616d653e636f6e647563746f72323c2f6f75743a4462557365724e616d
653e3c6f75743a446250617373776f72643e5177657274793132333c2f6f75743a446250617373776f72643e3c6f75743a44624e616d653e6a736d6479626
d705f74657374323c2f6f75743a44624e616d653e3c6f75743a5365727665723e484353514c31544553545f324b3852323c2f6f75743a5365727665723e3c
6f75743a506c6174666f726d3e53514c3c2f6f75743a506c6174666f726d3e3c6f75743a6d61696e586d6c646f633e3c596172646945544c3e3c46696e4a6f
75726e616c733e3c4a6f75726e616c3e3c5452414e4e554d3e31363437373738303c2f5452414e4e554d3e3c444154453e31322f33302f323031353c2f444
154453e3c50524f50455254593e7330393030323c2f50524f50455254593e3c4143434f554e543e3731303430313c2f4143434f554e543e3c504f53544d4f
4e54483e31322f312f323031353c2f504f53544d4f4e54483e3c424f4f4b4e554d3e313c2f424f4f4b4e554d3e3c414d4f554e543e32312e343c2f414d4f554e
543e3c52454d41524b3e3c2f52454d41524b3e3c5245463e3132202d2032303135207c204163637275616c3c2f5245463e3c524556455253454e4558544
d4f4e54483e2d313c2f524556455253454e4558544d4f4e54483e3c55534552444546494e45444649454c44313e504f20313030303030373c2f555345524
44546494e45444649454c44313e3c55534552444546494e45444649454c44323e3c2f55534552444546494e454446...
|
Last edited by amit1verma on Thu Jun 09, 2016 7:13 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 09, 2016 4:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Please adjust that to either put parts on more than one line, or inside a code block.
It causes at least my browser to try and make the page wide enough for the whole long line... (not the window, just the page inside)
I almost think that there's more to that exception - or another exception following - that gives more information.
But I think you should use a trace node to dump out the message (using {$Root} ) to show what the message looks like. You either still have an extra header in there, or you haven't set things up so the SOAPRequest node can create the right headers for you. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
amit1verma |
Posted: Thu Jun 09, 2016 7:17 am Post subject: |
|
|
Novice
Joined: 11 Aug 2014 Posts: 17
|
I tried the way you suggested,
now I can see in trace as GENERICROOT for FileInput flow and SOAPRoot for SOAPInput flow.
Complete exception is:
ExceptionList
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1155
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmFileInputNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_1
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.File Input
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.File Input
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJavaComputeNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_2
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.SetPropertiesAndTransKey
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.SetPropertiesAndTransKey
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJavaComputeNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_3
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.LookupSetDestination
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.LookupSetDestination
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJavaComputeNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/irems/batchprocessing/SF_abcEntryYardi#FCMComposite_1_1.com/ibm/esb/framework/access/lookup/SF_ENDPOINT_LOOKUP#FCMComposite_1_1
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/ibm/esb/framework/access/lookup/SF_ENDPOINT_LOOKUP.EndPointLookup
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/ibm/esb/framework/access/lookup/SF_ENDPOINT_LOOKUP.EndPointLookup
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJavaComputeNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/irems/batchprocessing/SF_abcEntryYardi#FCMComposite_1_12
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.MapYardiReq
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.MapYardiReq
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
Line:INTEGER:1304
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmMSLMappingNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/irems/batchprocessing/SF_abcEntryYardi#FCMComposite_1_2
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.IDD126_StrataSales_Yardi_abcEntryReq
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.IDD126_StrataSales_Yardi_abcEntryReq
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\TemplateNodes\ImbRequestTemplateNode.cpp
Line:INTEGER:532
Function:CHARACTER:ImbRequestTemplateNode::processMessageAssemblyToFailure
Type:CHARACTER:ComIbmSOAPRequestNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/irems/batchprocessing/SF_abcEntryYardi#FCMComposite_1_5
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.SOAP Request
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
Insert
Type:INTEGER:14
Text:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.SOAP Request
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
Line:INTEGER:846
Function:CHARACTER:ImbSOAPRequestNode::requestData
Type:CHARACTER:ComIbmSOAPRequestNode
Name:CHARACTER:com/xyz/irems/batchprocessing/MF_abcEntryYardi#FCMComposite_1_7.com/xyz/irems/batchprocessing/SF_abcEntryYardi#FCMComposite_1_5
Label:CHARACTER:com.xyz.irems.batchprocessing.MF_abcEntryYardi.com/xyz/irems/batchprocessing/SF_abcEntryYardi.SOAP Request
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3754
Text:CHARACTER:Error occurred in ImbSOAPRequestHelper::makeSOAPRequest()
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
Line:INTEGER:3610
Function:CHARACTER:ImbSOAPRequestHelper::logWebServiceInvocationException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3162
Text:CHARACTER:WebService Request Exception
Insert
Type:INTEGER:12
Text:CHARACTER:436f6e74656e742d4c656e6774683a20343533340d0a436f6e74656e742d547970653a206170706c69636174696f6e2f736f61702b78
6d6c3b20636861727365743d69626d2d3433370d0a4163636570742d456e636f64696e673a20677a69702c6465666c6174650d0a557365722d4167656e
743a204170616368652d48747470436c69656e742f342e312e3120286a61766120312e35290d0a486f73743a207777772e7961726469617370332e636f
6d0d0a534f4150416374696f6e3a20225953492e45544c322e44697265637457532f496d706f72745f45544c4469726563745753220d0a436f6e6e656374
696f6e3a204b6565702d416c6976650d0a0d0a
Insert
Type:INTEGER:12
Text:CHARACTER:3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d2269626d2d343337223f3e3c736f6170656e763a456e76656c
6f706520786d6c6e733a736f6170656e763d22687474703a2f2f7777772e77332e6f72672f323030332f30352f736f61702d656e76656c6f7065223e3c736f
6170656e763a426f64793e3c6f75743a496d706f72745f45544c446972656374575320786d6c6e733a6f75743d225953492e45544c322e44697265637457
53223e3c6f75743a5753557365726e616d653e6173635f77733c2f6f75743a5753557365726e616d653e3c6f75743a575350617373776f72643e506173732
3353536363c2f6f75743a575350617373776f72643e3c6f75743a4462557365724e616d653e636f6e647563746f72323c2f6f75743a4462557365724e616d
653e3c6f75743a446250617373776f72643e5177657274793132333c2f6f75743a446250617373776f72643e3c6f75743a44624e616d653e6a736d6479626
d705f74657374323c2f6f75743a44624e616d653e3c6f75743a5365727665723e484353514c31544553545f324b3852323c2f6f75743a5365727665723e3c
6f75743a506c6174666f726d3e53514c3c2f6f75743a506c6174666f726d3e3c6f75743a6d61696e586d6c646f633e3c596172646945544c3e3c46696e4a6f
75726e616c733e3c4a6f75726e616c3e3c5452414e4e554d3e31363437373738303c2f5452414e4e554d3e3c444154453e31322f33302f323031353c2f444
154453e3c50524f50455254593e7330393030323c2f50524f50455254593e3c4143434f554e543e3731303430313c2f4143434f554e543e3c504f53544d4f
4e54483e31322f312f323031353c2f504f53544d4f4e54483e3c424f4f4b4e554d3e313c2f424f4f4b4e554d3e3c414d4f554e543e32312e343c2f414d4f554e
543e3c52454d41524b3e3c2f52454d41524b3e3c5245463e3132202d20323
03135207c204163637275616c3c2f5245463e3c524556455253454e4558544
d4f4e54483e2d313c2f524556455253454e4558544d4f4e54483e3c5553455
2444546494e45444649454c44313e504f20313030303030373c2f55534552444546494e45444649454c44313e3c55534552444546494e45444649454c44
323e3c2f55534552444546494e454446... |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 09, 2016 7:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Ok. So the inmost exception is BIP 3162...
The documentation on BIP 3162 says "See the following messages for information pertaining to this error.".
So you'll have to look at the event log/syslog to see what the following messages are. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|