Sorry, but they told me to post it here and the previous post has erases disabled. I'm newbie, it's the my first post.
Info service
Posts
-
c# WSDL without Header but requested -
c# WSDL without Header but requestedAbstract: first time I'm dealing with web service, soap, appurtenances, so forgive me ignorance absolute. (Also for the bad english) I have a wsdl on a web server institutional written in java that does NOT contain the client and the various calls no header, but it always requires, for each call. Problem: I create the client quietly with the endpoint, I connect to the web server responds to me and I read all the parameters (which I do not need anything) of the server. (So I created the tunnel) Just try to make a call using any of the wsdl, type wsdl.result res = wsdl.getvalore (parameters), I always get errors due to the lack of the header in the message, for example: Private key is not in the X.509 certificate. (But NOT required private key to feel the support of the web service) or No Security Header. Following the example of the soap message in XML. For the part BODY no problem, but how do I add the header? Thanks to everyone who can help me out. Regards. 2014-09-09T08:23:50.725Z 2014-09-09T08:28:50.725Z qtgOKG92iPHI/XLXGxFmg6Vnqmdg=
-
WSDL without Header but requestedOk, sorry. :(
-
WSDL without Header but requestedAbstract: first time I'm dealing with web service, soap, appurtenances, so forgive me ignorance absolute. (Also for the bad english) I have a wsdl on a web server institutional written in java that does NOT contain the client and the various calls no header, but it always requires, for each call. Problem: I create the client quietly with the endpoint, I connect to the web server responds to me and I read all the parameters (which I do not need anything) of the server. (So I created the tunnel) Just try to make a call using any of the wsdl, type wsdl.result res = wsdl.getvalore (parameters), I always get errors due to the lack of the header in the message, for example: Private key is not in the X.509 certificate. (But NOT required private key to feel the support of the web service) or No Security Header. Following the example of the soap message in XML. For the part BODY no problem, but how do I add the header? Thanks to everyone who can help me out. Regards. 2014-09-09T08:23:50.725Z 2014-09-09T08:28:50.725Z qtgOKG92iPHI/XLXGxFmg6Vnqmdg=
-
c# Soap Web service headerHello folks, I have a problem (as well as with the English language ^ __ ^) with a web service that I have already created and works fine. Now I have to add a header that contains an ssl certificate (.cer) but do not know how to do. Can anyone help? Place below the important part of the code. Thank you all! BasicHttpBinding myBinding = new BasicHttpBinding(); myBinding.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.TransportWithMessageCredential; myBinding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.Certificate; Uri cUri = new Uri("https://Service?wsdl");//reserved data EndpointAddress ea = new EndpointAddress(cUri); CVPClient client = new CVPClient(myBinding, ea);