问题
I am trying to invoke Kelly Blue Book Web Service using Tibco BW. I observed that KBB accepts HTTP requests only from Apache-HttpClient/4.1.1 (java 1.5) but Tibco always uses Jakarta Http client internally.
is their a way that we can use Apache-HttpClient/4.1.1 (java 1.5) in Tibco BW.
回答1:
You can spoof the User-Agent by setting a "User-Agent" dynamic header in input of the Send HTTP Request activity.
来源:https://stackoverflow.com/questions/20361555/using-user-agent-apache-httpclient-4-1-1-java-1-5-in-tibco-bw