Modify the user-agent in the upload in a Soap Jax-rpc request

Asked

Viewed 32 times

1

I have a problem, I have a project in java that sends Soap requests by Jax-rpc format. Since now I have to modify the user-agent that is sent in the request. I already googled and here(stackoverflow) and still could not change the user-agent of the request Soap. Anyone knows how to do ?

  • How requests are made????

  • StreamingSenderState _state = _start(_handlerChain);
 InternalSOAPMessage _request = _state.getRequest();
 _request.setOperationCode(consultarConfiguracao_OPCODE);

  • Nice, young man. But it’s the code?

  • Sorry: What happens is that I generated the stub from the netbeans plugin : follow the link from the method : https://pastebin.com/a2NNEpUL

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.