|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  OutputLocalEnvironment | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | kotagiriaashish | 
		  
		    
			  
				 Posted: Thu Oct 02, 2014 1:22 am    Post subject: OutputLocalEnvironment | 
				     | 
			   
			 
		   | 
		 
		
		    Disciple
 
 Joined: 06 Aug 2011 Posts: 165
  
  | 
		  
		    
			  
				I have been working with webservices since a year... and this problem... i cant understand....
 
 
Im setting the request URL before SOAP Request node like
 
 
 
   
	| Code: | 
   
  
	| SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.RequestURI = Environment.Variables.Backend_URL; | 
   
 
 
 
but the SOAP request node still picks up the url which is set in its properties instead of overriding it with the one in Localenvironment...
 
 
I did this several times before... i cant understand whats going wrong! | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Esa | 
		  
		    
			  
				 Posted: Thu Oct 02, 2014 2:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 22 May 2008 Posts: 1387 Location: Finland 
  | 
		  
		    
			  
				| What is the 'compute mode' setting of your compute node? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kotagiriaashish | 
		  
		    
			  
				 Posted: Thu Oct 02, 2014 3:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Disciple
 
 Joined: 06 Aug 2011 Posts: 165
  
  | 
		  
		    
			  
				
   
	| Esa wrote: | 
   
  
	| What is the 'compute mode' setting of your compute node? | 
   
 
 
 
Its set to ALL ... thats not the issue the issue is in debug it shows that its requesting to backend URL in Localenvironment but when the request fails this is the exceptionlist 
 
 
   
	| Quote: | 
   
  
	ExceptionList
 
	RecoverableException
 
			File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbDataFlowNode.cpp
 
			Line:INTEGER:1152
 
			Function:CHARACTER:ImbDataFlowNode::createExceptionList
 
			Type:CHARACTER:ComIbmSOAPInputNode
 
			Name:CHARACTER:DeviceManagement_Main#FCMComposite_1_1
 
			Label:CHARACTER:DeviceManagement_Main.SOAP Input
 
			Catalog:CHARACTER:BIPmsgs
 
			Severity:INTEGER:3
 
			Number:INTEGER:2230
 
			Text:CHARACTER:Node throwing exception
 
			RecoverableException
 
					File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbComputeNode.cpp
 
					Line:INTEGER:497
 
					Function:CHARACTER:ImbComputeNode::evaluate
 
					Type:CHARACTER:ComIbmComputeNode
 
					Name:CHARACTER:DeviceManagement_Main#FCMComposite_1_3
 
					Label:CHARACTER:DeviceManagement_Main.Validate_User
 
					Catalog:CHARACTER:BIPmsgs
 
					Severity:INTEGER:3
 
					Number:INTEGER:2230
 
					Text:CHARACTER:Caught exception and rethrowing
 
					RecoverableException
 
							File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp
 
							Line:INTEGER:666
 
							Function:CHARACTER:SqlStatementGroup::execute
 
							Type:CHARACTER:ImbESQLManager
 
							Name:CHARACTER:ImbESQLManager
 
							Label:CHARACTER:ImbESQLManager
 
							Catalog:CHARACTER:BIPmsgs
 
							Severity:INTEGER:3
 
							Number:INTEGER:2488
 
							Text:CHARACTER:Error detected, rethrowing
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:.IDM_Main_Validate_User.Main
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:105.3
 
							Insert
 
									Type:INTEGER:5
 
									Text:CHARACTER:PROPAGATE TO LABEL Operation_Name FINALIZE DEFAULT DELETE DEFAULT;
 
							RecoverableException
 
									File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\TemplateNodes\ImbRequestTemplateNode.cpp
 
									Line:INTEGER:532
 
									Function:CHARACTER:ImbRequestTemplateNode::processMessageAssemblyToFailure
 
									Type:CHARACTER:ImbRequestTemplateNode
 
									Name:CHARACTER:DeviceManagement_Main#FCMComposite_1_6.Create_Device_Segment#FCMComposite_1_4
 
									Label:CHARACTER:DeviceManagement_Main.Create_Device_Segment.SOAP Request
 
									Catalog:CHARACTER:BIPmsgs
 
									Severity:INTEGER:3
 
									Number:INTEGER:2230
 
									Text:CHARACTER:Caught exception and rethrowing
 
									RecoverableException
 
											File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
 
											Line:INTEGER:819
 
											Function:CHARACTER:ImbSOAPRequestNode::requestData
 
											Type:CHARACTER:ImbRequestTemplateNode
 
											Name:CHARACTER:DeviceManagement_Main#FCMComposite_1_6.Create_Device_Segment#FCMComposite_1_4
 
											Label:CHARACTER:DeviceManagement_Main.Create_Device_Segment.SOAP Request
 
											Catalog:CHARACTER:BIPmsgs
 
											Severity:INTEGER:3
 
											Number:INTEGER:3754
 
											Text:CHARACTER:Error occurred in ImbSOAPRequestHelper::makeSOAPRequest()
 
											RecoverableException
 
													File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
 
													Line:INTEGER:3518
 
													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:436f6e74656e742d4c656e6774683a20313133370d0a436f6e74656e742d547970653a20746578742f786d6c3b20636861727365743d7574662d380d0a4163636570742d456e636f64696e673a20677a69702c6465666c6174650d0a557365722d4167656e743a204170616368652d48747470436c69656e742f342e312e3120286a61766120312e35290d0a486f73743a20616e790d0a534f4150416374696f6e3a202275726e3a6372656174654465766963655365676d656e74220d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a0d0a
 
													Insert
 
															Type:INTEGER:12
 
															Text:CHARACTER:3c4e53313a......message blob data.........e
 
													Insert
 
															Type:INTEGER:5
 
															Text:CHARACTER:
 
													Insert
 
															Type:INTEGER:5
 
															Text:CHARACTER:
 
													Insert
 
															Type:INTEGER:5
 
															Text:CHARACTER:POST http://XX.XXX.XXX.XX:18181/ABC/services/SomeService HTTP/1.1
 
 
													RecoverableException
 
															File:CHARACTER:F:\build\slot1\S800_P\src\WebServices\WSLibrary\ImbWSRequest.cpp
 
															Line:INTEGER:256
 
															Function:CHARACTER:ImbWSRequest::makeWSRequest
 
															Type:CHARACTER:
 
															Name:CHARACTER:
 
															Label:CHARACTER:
 
															Catalog:CHARACTER:BIPmsgs
 
															Severity:INTEGER:3
 
															Number:INTEGER:3152
 
															Text:CHARACTER:A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.
 
															Insert
 
																	Type:INTEGER:5
 
																	Text:CHARACTER:any
 
															Insert
 
																	Type:INTEGER:2
 
																	Text:CHARACTER:80
 
															Insert
 
																	Type:INTEGER:5
 
																	Text:CHARACTER:/
 
															SocketException
 
																	File:CHARACTER:F:\build\slot1\S800_P\src\CommonServices\ImbBasicSocket.cpp
 
																	Line:INTEGER:269
 
																	Function:CHARACTER:ImbBasicSocket::ImbBasicSocket
 
																	Type:CHARACTER:
 
																	Name:CHARACTER:
 
																	Label:CHARACTER:
 
																	Catalog:CHARACTER:BIPmsgs
 
																	Severity:INTEGER:3
 
																	Number:INTEGER:3150
 
																	Text:CHARACTER:An error occurred whilst performing a socket operation
 
																	Insert
 
																			Type:INTEGER:5
 
																			Text:CHARACTER:::gethostbyname()
 
																	Insert
 
																			Type:INTEGER:2
 
																			Text:CHARACTER:0
 
																	Insert
 
																			Type:INTEGER:5
 
																			Text:CHARACTER:The operation completed successfully.
 
 | 
   
 
 
 
if we convert the first large hex string it converts to 
 
 
   
	| Quote: | 
   
  
	Content-Length: 1137
 
Content-Type: text/xml; charset=utf-8
 
Accept-Encoding: gzip,deflate
 
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
 
Host: any
 
SOAPAction: "urn:createDeviceSegment"
 
Connection: Keep-Alive
 
 | 
   
 
 
 
Here any is the url i configured on SOAP Request node as "http://any" just to indicate that the URL will be set at runtime... 
 
 
 
Even after setting the URL at runtime its still requesting to the "Http://any configured on SOAP Request"
 
 
one more thing if you observe you can notice the URL that I Set in Exception list... bit it dont match with the one in HEX....
 
 
 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mgk | 
		  
		    
			  
				 Posted: Thu Oct 02, 2014 3:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Padawan
 
 Joined: 31 Jul 2003 Posts: 1647
  
  | 
		  
		    
			  
				If you look in the docs here:
 
 
http://www.ibm.com/support/knowledgecenter/SSMKHH_9.0.0/com.ibm.etools.mft.doc/ac56192_.htm
 
 
You will see that setting RequestURL overrides:
 
 
"Overrides the RequestURI, which is the path after the URL and port. For example:" 
   
	| Code: | 
   
  
	| SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.RequestURI = '/abc/def?x=y&g=h'; | 
   
 
 
 
 
 
What I think you are trying to override is the WebServiceURL:
 
 
"Overrides the Web service URL property on the node. For example:" 
   
	| Code: | 
   
  
	| SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL = 'http://ibm.com/abc/'; | 
   
 
 
 
Kind regards, _________________ MGK
 
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kotagiriaashish | 
		  
		    
			  
				 Posted: Fri Oct 03, 2014 4:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Disciple
 
 Joined: 06 Aug 2011 Posts: 165
  
  | 
		  
		    
			  
				| That should be it.. I copied it in haste and was unable to realize that its my mistake.... Thanks a lot mjk! | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |