yamaco 0 Posted April 3, 2019 Greetings, let me ask a tiny question about using Extra headers in HTTPSCli component of Overbyte suite. Our business partner needs to add following line into request header: name=soapaction, value=http://nsess.public.cz/erms/v_02_00/DokumentZalozeni I added this line into Extraheaders property but partner still says that such request is bad because does not contain this mandatory line. Here is a piece of request from partner's server (my added line is not displayed, really): Request headers: 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] ContentType=text/xml 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] CharacterEncoding=null 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] Method=POST 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] header: name=accept, value=text/xml 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] header: name=content-type, value=text/xml 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] header: name=user-agent, value=Mozilla/4.0 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACEcz.vera.wns.web.WSWebAction] header: name=host, value=servers.vera.cz:8445 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] header: name=content-length, value=1516 2019-04-01 14:28:38,640[https-jsse-nio-8445-exec-9][TRACE cz.vera.wns.web.WSWebAction] End of Request headers Don't you know what am I wrong in? Does ExtraHeaders property work properly? Thanks! Share this post Link to post
Angus Robertson 574 Posted April 3, 2019 1 hour ago, yamaco said: Our business partner needs to add following line into request header: name=soapaction, value=http://nsess.public.cz/erms/v_02_00/DokumentZalozeni I added this line into Extraheaders property Exactly what did you add? It should have been: soapaction: http://nsess.public.cz/erms/v_02_00/DokumentZalozeni Angus Share this post Link to post