|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Json request along with proxy is failing |
« View previous topic :: View next topic » |
Author |
Message
|
manojreddy524 |
Posted: Tue Apr 19, 2016 3:28 am Post subject: Json request along with proxy is failing |
|
|
Novice
Joined: 19 Apr 2016 Posts: 12
|
Hi friends please help , i am new to broker ,
I am trying to hit a service using HttpRequest Node , using JSON request along with proxy , i am getting success response without pxoxy , but incase of using proxy it's giving HTTP Status :400
The trace for failing request is as follows (before HttpRequest Node):
Timestamps are formatted in local time, 330 minutes past GMT.
Trace written by version 9002; formatter version 9002 (build S900-FP02 on amd64_linux_2)
2016-04-19 16:11:12.497886 31118 UserTrace BIP4060I: Data ''( ['GENERICROOT' : 0x7f30a1dc7200]
(0x01000000:Name ):Properties = ( ['MQPROPERTYPARSER' : 0x7f30a1dc7500]
(0x03000000:NameValue):MessageSet = NULL
(0x03000000:NameValue):MessageType = NULL
(0x03000000:NameValue):MessageFormat = NULL
(0x03000000:NameValue):Encoding = NULL
(0x03000000:NameValue):CodedCharSetId = NULL
(0x03000000:NameValue):Transactional = NULL
(0x03000000:NameValue):Persistence = NULL
(0x03000000:NameValue):CreationTime = NULL
(0x03000000:NameValue):ExpirationTime = NULL
(0x03000000:NameValue):Priority = NULL
(0x03000000:NameValue):ReplyIdentifier = NULL
(0x03000000:NameValue):ReplyProtocol = 'ADAPTOR' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = NULL
(0x03000000:NameValue):IdentitySourceType = NULL
(0x03000000:NameValue):IdentitySourceToken = NULL
(0x03000000:NameValue):IdentitySourcePassword = NULL
(0x03000000:NameValue):IdentitySourceIssuedBy = NULL
(0x03000000:NameValue):IdentityMappedType = NULL
(0x03000000:NameValue):IdentityMappedToken = NULL
(0x03000000:NameValue):IdentityMappedPassword = NULL
(0x03000000:NameValue):IdentityMappedIssuedBy = NULL
)
(0x01000000:Object):JSON = ( ['json' : 0x7f30a1dcf090]
(0x01000000:Object):Data = (
(0x03000000:NameValue):customerAccountCode = 'ESYPAY0AHMDR015897' (CHARACTER)
(0x03000000:NameValue):amount = '50000.00' (CHARACTER)
(0x03000000:NameValue):requestId = '2353634634' (CHARACTER)
)
)
(0x01000000:Name ):HTTPRequestHeader = (
(0x03000000:NameValue):Proxy-Authorization = 'Basic RkNSOkZDUg==' (CHARACTER)
(0x03000000:NameValue):Proxy-Connection = 'Keep-Alive' (CHARACTER)
)
)
( ['MQROOT' : 0x7f3134109c70]
(0x01000000:Name):Variables = (
(0x01000000:Name )Validation = (
(0x03000000:NameValue):customerCode = 'ESYPAY' (CHARACTER)
(0x03000000:NameValue):remitterCode = '0AHMDR015897' (CHARACTER)
(0x03000000:NameValue):creditAccountOnValidationPass = '42084000000050' (CHARACTER)
)
(0x03000000:NameValue)ValidationRequest = '{"customerAccountCode":"ESYPAY0AHMDR015897","amount":"50000.00","requestId":"2353634634"}' (CHARACTER)
)
)
( ['MQROOT' : 0x7f30a1d7d740]
(0x01000000:Name):Database = (
(0x01000000:Name):Input = (
(0x01000000:Name):Event = (
(0x03000000:NameValue):FailureCount = 0 (INTEGER)
(0x03000000:NameValue):Key = 52702 (DECIMAL)
(0x01000000:Name ):Usr = (
(0x03000000:NameValue):ECOL_TRANSACTION_ID = 49063 (DECIMAL)
(0x03000000:NameValue):ID = 52702 (DECIMAL)
(0x03000000:NameValue):STEP = 'VALIDATE' (CHARACTER)
)
)
)
)
(0x01000000:Name):Destination = (
(0x01000000:Name):SOAP = (
(0x01000000:Name):Request = (
(0x01000000:Name):Transport = (
(0x01000000:Name):HTTP = (
(0x03000000:NameValue):ProxyURL = '10.211.55.2:8080' (CHARACTER)
(0x03000000:NameValue):ProxyConnectHeaders = 'Proxy-Authorization: Basic RkNSOkZDUg==
Proxy-Connection: Keep-Alive
' (CHARACTER)
)
)
)
)
)
)
'' from trace node 'easypay.validation.validation_common.RequestTrace'.
The trace node 'easypay.validation.validation_common.RequestTrace' has output the specified trace data.
This is an information message provided by the message flow designer. The user response will be determined by the local environment. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 19, 2016 3:51 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Your HTTP header is in the wrong place.
You appear to have two MQROOT trees.
Mods, please move this to broker forum, or lock as duplicate. _________________ chmod -R ugo-wx / |
|
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
|
|
|
|