|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  An error was found whilst parsing HTTP header data. | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | prasadzkv | 
		  
		    
			  
				 Posted: Mon May 22, 2017 6:05 am    Post subject: An error was found whilst parsing HTTP header data. | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 13 Jul 2016 Posts: 21 Location: Chennai 
  | 
		  
		    
			  
				Team,
 
 
I am building request in JCN1 passing to soapreq node and trying to achive the response in JCN2.
 
JCN1 -> SOAPReqNode -> JCN2 
 
 
But, Facing the following exception. Could you please help us to resolve the same. Searched in Forum too but not have any related answer to JCN.
 
 
<RecoverableException>
 
	<File>F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp</File>
 
	<Line>1265</Line>
 
	<Function>ImbJniNode::evaluate</Function>
 
	<Type>ComIbmJavaComputeNode</Type>
 
	<Name>com/farmers/fig/dsr/messageflow/one#FCMComposite_1_6.com/farmers/fig/dshub/subflow/oneHub#FCMComposite_1_14.com/farmers/fig/dshub/subflow/twoHome#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomeWebService#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomewsrcb#FCMComposite_1_2</Name>
 
	<Label>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecEx</Label>
 
	<Catalog>BIPmsgs</Catalog>
 
	<Severity>3</Severity>
 
	<Number>2230</Number>
 
	<Text>Caught exception and rethrowing</Text>
 
	<Insert>
 
		<Type>14</Type>
 
		<Text>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecEx</Text>
 
	</Insert>
 
	<RecoverableException>
 
		<File>F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\TemplateNodes\ImbRequestTemplateNode.cpp</File>
 
		<Line>540</Line>
 
		<Function>ImbRequestTemplateNode::processMessageAssemblyToFailure</Function>
 
		<Type>ComIbmSOAPRequestNode</Type>
 
		<Name>com/farmers/fig/dsr/messageflow/one#FCMComposite_1_6.com/farmers/fig/dshub/subflow/oneHub#FCMComposite_1_14.com/farmers/fig/dshub/subflow/twoHome#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomeWebService#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomewsrcb#FCMComposite_1_4</Name>
 
		<Label>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecReq</Label>
 
		<Catalog>BIPmsgs</Catalog>
 
		<Severity>3</Severity>
 
		<Number>2230</Number>
 
		<Text>Caught exception and rethrowing</Text>
 
		<Insert>
 
			<Type>14</Type>
 
			<Text>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecReq</Text>
 
		</Insert>
 
		<RecoverableException>
 
			<File>F:\build\S1000_slot1\S1000_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp</File>
 
			<Line>841</Line>
 
			<Function>ImbSOAPRequestNode::requestData</Function>
 
			<Type>ComIbmSOAPRequestNode</Type>
 
			<Name>com/farmers/fig/dsr/messageflow/one#FCMComposite_1_6.com/farmers/fig/dshub/subflow/oneHub#FCMComposite_1_14.com/farmers/fig/dshub/subflow/twoHome#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomeWebService#FCMComposite_1_8.com/farmers/fig/dshub/subflow/twoHomewsrcb#FCMComposite_1_4</Name>
 
			<Label>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecReq</Label>
 
			<Catalog>BIPmsgs</Catalog>
 
			<Severity>3</Severity>
 
			<Number>3754</Number>
 
			<Text>Error occurred in ImbSOAPRequestHelper::makeSOAPRequest()</Text>
 
			<Insert>
 
				<Type>14</Type>
 
				<Text>com.farmers.fig.dsr.messageflow.one.oneHub.twoHome.twoHomeWebService.twoHomewsrcb.twoHomerecReq</Text>
 
			</Insert>
 
			<RecoverableException>
 
				<File>F:\build\S1000_slot1\S1000_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp</File>
 
				<Line>3721</Line>
 
				<Function>ImbSOAPRequestHelper::logWebServiceInvocationException</Function>
 
				<Type/>
 
				<Name/>
 
				<Label/>
 
				<Catalog>BIPmsgs</Catalog>
 
				<Severity>3</Severity>
 
				<Number>3162</Number>
 
				<Text>WebService Request Exception</Text>
 
				<Insert>
 
					<Type>12</Type>
 
					<Text>436f6e74656e742d4c656e6774683a20383931390d0a436f6e74656e742d547970653a20746578742f786d6c3b20636861727365743d69626d2d3433370d0a486f73743a206</Text>
 
				</Insert>
 
				<Insert>
 
					<Type>12</Type>
 
					<Text>3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d2269626d2d343337223f3e3c736f6170656e763a456e76656c6f706520786d6c6e733a736f6170656</Text>
 
				</Insert>
 
				<Insert>
 
					<Type>5</Type>
 
					<Text/>
 
				</Insert>
 
				<Insert>
 
					<Type>5</Type>
 
					<Text/>
 
				</Insert>
 
				<Insert>
 
					<Type>5</Type>
 
					<Text>POST /billing/services HTTP/1.1
 
					</Text>
 
				</Insert>
 
				<RecoverableException>
 
					<File>F:\build\S1000_slot1\S1000_P\src\WebServices\WSLibrary\ImbWSRequest.cpp</File>
 
					<Line>485</Line>
 
					<Function>ImbWSRequest::makeWSRequest</Function>
 
					<Type/>
 
					<Name/>
 
					<Label/>
 
					<Catalog>BIPmsgs</Catalog>
 
					<Severity>3</Severity>
 
					<Number>3153</Number>
 
					<Text>A Web Service request has detected an error occurred whilst invoking a web service located at host &1, on port &2, on path &3.</Text>
 
					<Insert>
 
						<Type>5</Type>
 
						<Text>falbhcdd0001v.farmersinsurance.com</Text>
 
					</Insert>
 
					<Insert>
 
						<Type>2</Type>
 
						<Text>8080</Text>
 
					</Insert>
 
					<Insert>
 
						<Type>5</Type>
 
						<Text>/billing/services</Text>
 
					</Insert>
 
					<RecoverableException>
 
						<File>F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\MessageServices\ImbWSRFC822HeaderParser.cpp</File>
 
						<Line>698</Line>
 
						<Function>ImbRFC822HeaderParser::checkReservedHeaderNameUsage</Function>
 
						<Type/>
 
						<Name/>
 
						<Label/>
 
						<Catalog>BIPmsgs</Catalog>
 
						<Severity>3</Severity>
 
						<Number>3157</Number>
 
						<Text>An error was found whilst parsing HTTP header data. Multiple occurences of a HTTP Header were found (or folded !lc</Text>
 
						<Insert>
 
							<Type>14</Type>
 
							<Text>content-type</Text>
 
						</Insert>
 
						<Insert>
 
							<Type>14</Type>
 
							<Text>HTTP</Text>
 
						</Insert>
 
					</RecoverableException>
 
				</RecoverableException>
 
			</RecoverableException>
 
		</RecoverableException>
 
	</RecoverableException>
 
</RecoverableException>
 
 
and MQMD and MQRFH2 info is.
 
 
MQMD
 
	SourceQueue:CHARACTER:TESTING.PIC.TO.IIBONE.one
 
	Transactional:BOOLEAN:true
 
	Encoding:INTEGER:546
 
	CodedCharSetId:INTEGER:437
 
	Format:CHARACTER:MQHRF2  
 
	Version:INTEGER:2
 
	Report:INTEGER:0
 
	MsgType:INTEGER:8
 
	Expiry:INTEGER:-1
 
	Feedback:INTEGER:0
 
	Priority:INTEGER:0
 
	Persistence:INTEGER:0
 
	MsgId:BLOB:[B@fc261ffc
 
	CorrelId:BLOB:[B@23cecb7d
 
	BackoutCount:INTEGER:0
 
	ReplyToQ:CHARACTER:                                                
 
	ReplyToQMgr:CHARACTER:IBM                                             
 
	UserIdentifier:CHARACTER:test
 
	AccountingToken:BLOB:[B@82bbb633
 
	ApplIdentityData:CHARACTER:                                
 
	PutApplType:INTEGER:11
 
	PutApplName:CHARACTER:D:\ih03\rfhutil.exe         
 
	PutDate:DATE:java.util.GregorianCalendar[time=1495391400000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2017,MONTH=4,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=22,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
 
	PutTime:TIME:java.util.GregorianCalendar[time=-62167453562030,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=0,YEAR=2,MONTH=11,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=1,HOUR=0,HOUR_OF_DAY=12,MINUTE=23,SECOND=57,MILLISECOND=970,ZONE_OFFSET=?,DST_OFFSET=?]
 
	ApplOriginData:CHARACTER:    
 
	GroupId:BLOB:[B@997999d1
 
	MsgSeqNumber:INTEGER:1
 
	Offset:INTEGER:0
 
	MsgFlags:INTEGER:0
 
	OriginalLength:INTEGER:-1
 
 
	Properties
 
	MessageSet:CHARACTER:
 
	MessageType:CHARACTER:
 
	MessageFormat:CHARACTER:
 
	Encoding:INTEGER:546
 
	CodedCharSetId:INTEGER:437
 
	Transactional:BOOLEAN:true
 
	Persistence:BOOLEAN:false
 
	CreationTime:TIMESTAMP:java.util.GregorianCalendar[time=1495436037970,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2017,MONTH=4,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=22,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=1,HOUR=0,HOUR_OF_DAY=12,MINUTE=23,SECOND=57,MILLISECOND=970,ZONE_OFFSET=?,DST_OFFSET=?]
 
	ExpirationTime:INTEGER:-1
 
	Priority:INTEGER:0
 
	ReplyIdentifier:BLOB:[B@25383ca5
 
	ReplyProtocol:CHARACTER:MQ
 
	Topic:UNKNOWN:null
 
	ContentType:CHARACTER:
 
	IdentitySourceType:CHARACTER:
 
	IdentitySourceToken:CHARACTER:
 
	IdentitySourcePassword:CHARACTER:
 
	IdentitySourceIssuedBy:CHARACTER:
 
	IdentityMappedType:CHARACTER:
 
	IdentityMappedToken:CHARACTER:
 
	IdentityMappedPassword:CHARACTER:
 
	IdentityMappedIssuedBy:CHARACTER:
 
MQRFH2
 
	Version:INTEGER:2
 
	Format:CHARACTER:        
 
	Encoding:INTEGER:546
 
	CodedCharSetId:INTEGER:437
 
	Flags:INTEGER:0
 
	NameValueCCSID:INTEGER:1208
 
	usr
 
			TransactionTimestamp
 
					CHARACTER:2017-02-27 06:43:29.73
 
   _________________ -venkat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon May 22, 2017 7:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				So.
 
 
Your code is doing the wrong things.
 
 
It is building the wrong Message Tree that it is forwarding to the HTTPRequest node. _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | prasadzkv | 
		  
		    
			  
				 Posted: Mon May 22, 2017 10:27 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 13 Jul 2016 Posts: 21 Location: Chennai 
  | 
		  
		    
			  
				Thanks for the reply jeff,
 
 
Am not using the HttpReqNode, Using SOAPReq Node. using the SOAPUI am getting the success response what ever building the request(which is available under XMLNSC ). Hence how can i confirm am building the wrong Message under XMLNSC.
 
 
Please let me know if am wrong. _________________ -venkat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | joebuckeye | 
		  
		    
			  
				 Posted: Tue May 23, 2017 4:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Partisan
 
 Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH 
  | 
		  
		    
			  
				| SOAP (or HTTP) messages can't have MQMD or be in RFH2 format.  Need to remove those headers from the message before passing to the SOAP or HTTP Request node. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | prasadzkv | 
		  
		    
			  
				 Posted: Wed May 24, 2017 7:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 13 Jul 2016 Posts: 21 Location: Chennai 
  | 
		  
		    
			  
				Thanks for the reply joebuckeye,
 
 
Even we removed  headers from the message before passing to the SOAP. Still facing the same issue.
 
 
RecoverableException
 
											File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
 
											Line:INTEGER:3721
 
											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
 
													
 
											Insert
 
													Type:INTEGER:12
 
 
 
         _________________ -venkat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed May 24, 2017 7:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				Does the exception still contain this text:
 
 
"An error was found whilst parsing HTTP header data. Multiple occurrences of a HTTP Header were found " _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | prasadzkv | 
		  
		    
			  
				 Posted: Wed May 24, 2017 11:55 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 13 Jul 2016 Posts: 21 Location: Chennai 
  | 
		  
		    
			  
				Thanks Vitor,
 
 
yes, Still we are getting the same exception. _________________ -venkat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu May 25, 2017 4:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| prasadzkv wrote: | 
   
  
	| yes, Still we are getting the same exception. | 
   
 
 
 
Then by one means or another the message tree you're presenting has multiple HTTP headers. Which is likely because (as my most worthy associate has pointed out) there's a bug in your code in the JCN.
 
 
Put a Trace node between the JCN and the SOAPRequest to see exactly what you're sending. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | prasadzkv | 
		  
		    
			  
				 Posted: Thu May 25, 2017 10:43 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 13 Jul 2016 Posts: 21 Location: Chennai 
  | 
		  
		    
			  
				Thanks Vitor,
 
 
Here what i am sending the request provider received the request and replied the response. But it is failed in IIB in the following error.(its going to Failure terminal ) _________________ -venkat | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri May 26, 2017 4:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				Then put the Trace node on the Failure terminal    _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | wmqstankela | 
		  
		    
			  
				 Posted: Tue Sep 04, 2018 6:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Voyager
 
 Joined: 29 Feb 2016 Posts: 94
  
  | 
		  
		    
			  
				Hi,
 
 
Did you solve this problem? I've got same error, when calling external service    | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |