web services - SoapUi RawXml to c# -


i developing c# library witch have send xml data through web service. consumed web service "add service reference" option in vs. same web service: "https://test.puesc.gov.pl/seap_wschannel/documenthandlingport?wsdl". not able send xml data through it's client. know it's working, because checked through soapui application, don't know how achieve in c#. in soapui xml looks this:

post https://test.puesc.gov.pl/seap_wschannel_direct/documenthandlingport http/1.1 accept-encoding: gzip,deflate content-type: text/xml;charset=utf-8 soapaction: "acceptdocument" http://www.w3.org/2005/08/addressing: ns1 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd: c http://schemas.xmlsoap.org/soap/envelope: content-length: 4611 host: test.puesc.gov.pl connection: keep-alive user-agent: apache-httpclient/4.5.2 (java/1.8.0_131)<soapenv:envelope xmlns:_v2="http://www.mf.gov.pl/uslugibiznesowe/wspull/usluga/2014/01_v2_0" xmlns:_v21="http://www.mf.gov.pl/schematy/sisc/wschannel/2014/01_v2_0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:header xmlns:wsa="http://www.w3.org/2005/08/addressing">     <wsse:security soapenv:mustunderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">         <wsse:usernametoken wsu:id="usernametoken-7764f052ec3abe6e7815053426761284">             <wsse:username>grzegorz.ostrowski@xle.pl</wsse:username>             <wsse:password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#passworddigest">oahazq1zdelqghexljstrwgxfbc=</wsse:password>             <wsse:nonce encodingtype="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#base64binary">ststw2ko+2vligo2jghbuq==</wsse:nonce>             <wsu:created>2017-09-13t22:44:36.128z</wsu:created>         </wsse:usernametoken>     </wsse:security>     <wsa:action soapenv:mustunderstand="1">acceptdocument</wsa:action>     <wsa:replyto soapenv:mustunderstand="1">         <wsa:address>http://www.w3.org/2005/08/addressing/anonymous</wsa:address>     </wsa:replyto>     <wsa:messageid soapenv:mustunderstand="1">uuid:4daa8120-45f5-424a-ae33-d46c580b30bf</wsa:messageid>     <wsa:to soapenv:mustunderstand="1">https://test.puesc.gov.pl/seap_wschannel_direct/documenthandlingport</wsa:to> </soapenv:header> <soapenv:body>     <_v2:acceptdocumentrequest>         <_v21:document>             <_v21:content filename="sent56.xml" mime="application/xml">pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0ivvrgltgipz4ncjxxmtptru5uxzewmcb4bwxucz0iahr0cdovl3d3dy5tzi5nb3yucgwvu0vovc8ymde3lzaxlze4l1nuexblcy54c2qiihhtbg5zonexpsjodhrwoi8vd3d3lm1mlmdvdi5wbc9tru5ulziwmtcvmdevmtgvu0vovf8xmdauehnkij4ncgk8cte6r29vzhntzw5kzxi+dqojctxucmfkzxjjbmzvpg0kcqkjpfryywrlck5hbwu+r3j6zwdvcnogt3n0cm93c2tppc9ucmfkzxjoyw1lpg0kcqkjpfryywrlcklkzw50axr5vhlwzt5osva8l1ryywrlcklkzw50axr5vhlwzt4ncgkjctxucmfkzxjjzgvudgl0eu51bwjlcj41odyymjq5otqxpc9ucmfkzxjjzgvudgl0eu51bwjlcj4ncgkjpc9ucmfkzxjjbmzvpg0kcqk8vhjhzgvyqwrkcmvzcz4ncgkjctxtdhjlzxq+u3p0dxjtyw7ds3c8l1n0cmvldd4ncgkjctxib3vzzu51bwjlcj4zmdwvsg91c2vodw1izxi+dqojcqk8q2l0et5hzhluawe8l0npdhk+dqojcqk8q291bnryet5qtdwvq291bnryet4ncgkjctxqb3n0ywxdb2rlpjgxltuymtwvug9zdgfsq29kzt4ncgkjpc9ucmfkzxjbzgryzxnzpg0kctwvcte6r29vzhntzw5kzxi+dqojphexokdvb2rzumvjaxbpzw50pg0kcqk8vhjhzgvysw5mbz4ncgkjctxucmfkzxjoyw1lpln0zwzhbibpymnhczwvvhjhzgvytmftzt4ncgkjctxucmfkzxjjzgvudgl0evr5cgu+tklqpc9ucmfkzxjjzgvudgl0evr5cgu+dqojcqk8vhjhzgvyswrlbnrpdhlodw1izxi+nti2mty2ntizodwvvhjhzgvyswrlbnrpdhlodw1izxi+dqojctwvvhjhzgvysw5mbz4ncgkjpfryywrlckfkzhjlc3m+dqojcqk8u3ryzwv0pkn5chj5c293ytwvu3ryzwv0pg0kcqkjpehvdxnltnvtymvypjmxpc9ib3vzzu51bwjlcj4ncgkjctxdaxr5pkdkew5pytwvq2l0et4ncgkjctxdb3vudhj5plbmpc9db3vudhj5pg0kcqkjpfbvc3rhbenvzgu+odetntixpc9qb3n0ywxdb2rlpg0kcqk8l1ryywrlckfkzhjlc3m+dqojpc9xmtphb29kc1jly2lwawvudd4ncgk8cte6vhjhbnnwb3j0pg0kcqk8ugxhy2vpzkxvywrpbmc+dqojcqk8u3ryzwv0pln6dhvybwfuw7n3pc9tdhjlzxq+dqojcqk8sg91c2vodw1izxi+mza8l0hvdxnltnvtymvypg0kcqkjpenpdhk+r2r5bmlhpc9daxr5pg0kcqkjpenvdw50cnk+uew8l0nvdw50cnk+dqojcqk8ug9zdgfsq29kzt44ms01mje8l1bvc3rhbenvzgu+dqojctwvugxhy2vpzkxvywrpbmc+dqojctxqbgfubmvku3rhcnrdyxjyawfnzurhdgu+mjaxny0wos0xndwvugxhbm5lzfn0yxj0q2fycmlhz2veyxrlpg0kctwvcte6vhjhbnnwb3j0pg0kctxxmtphb29kc0luzm9ybwf0aw9upg0kcqk8q29kzunuq2xhc3npzmljyxrpb24+mtuwnzwvq29kzunuq2xhc3npzmljyxrpb24+dqojctxhb29kc05hbwu+t2xlaibzb2pvd3k8l0dvb2rztmftzt4ncgkjpeftb3vude9mr29vzhm+mzawmdwvqw1vdw50t2zhb29kcz4ncgkjpfvuaxrpzk1lyxn1cmu+bdwvvw5pde9mtwvhc3vyzt4ncgk8l3exokdvb2rzsw5mb3jtyxrpb24+dqojphexoknvbw1lbnrzpnrlc3qsihrlc3q8l3exoknvbw1lbnrzpg0kctxxmtpeb2n1bwvudelkpjeymzq1njc8l3exokrvy3vtzw50swq+dqojphexoljlc3bvbnnlqwrkcmvzcz4ncgkjpevtywlsq2hhbm5lbd4ncgkjctxfbwfpbefkzhjlc3mxpnrlc3raz21hawwuy29tpc9fbwfpbefkzhjlc3mxpg0kcqk8l0vtywlsq2hhbm5lbd4ncgk8l3exoljlc3bvbnnlqwrkcmvzcz4ncgk8cte6u3rhdgvtzw50cz4ncgkjpfn0yxrlbwvudde+dhj1ztwvu3rhdgvtzw50mt4ncgkjpezpcnn0tmftzt5xuy1twvnuru08l0zpcnn0tmftzt4ncgkjpexhc3royw1lplhmrtwvtgfzde5hbwu+dqojpc9xmtptdgf0zw1lbnrzpg0kpc9xmtptru5uxzewmd4=</_v21:content>             <_v21:targetsystems>                 <_v21:system>sent</_v21:system>             </_v21:targetsystems>         </_v21:document>     </_v2:acceptdocumentrequest> </soapenv:body> 

i don't know how in c# create code give me content between "soapenv:header" tags. i’ve read lot articles on msdn , on stack overflow ws-adressing, pasword digest, soap, wasn’t able implement solutions articles. can me this?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -