0

I'm trying to create a client for a 3th party webservice from scratch. I have a working solution in soapUI which uses a certificate with signatures like in the image below.

enter image description here

I'm very new to SOA & SOAP and my main question is how do I start with this and where by using .NET 3.5 & ASP.Net. The service is linked to my project by using "Add service reference" but what now?

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Tom Kerkhove
  • 2,151
  • 5
  • 26
  • 42

2 Answers2

1

I solved my problem but encountered 10 problems since I'm new to it.

For example "Timestamp must be signed error in response", you can read the solution here.

Community
  • 1
  • 1
Tom Kerkhove
  • 2,151
  • 5
  • 26
  • 42
0

Generally, a disposal web service consumer class will be created for you in the namespace you provided when configuring the service reference. The default namespace for such consumers will be under ServiceReference1, and the client will be named with the convention WebServiceNameClient. That consumer will have member methods representing all requests that can be invoked on the web service, for instance:

C#

My.Project.Root.ServiceReference1.WebServiceNameClient client = new My.Project.Root.ServiceReference1.WebServiceNameClient();
string action = "GET";
int id = 1;
var result = client.DoWebServiceWork(action, id);

VB.NET

Dim client As New My.Project.Root.ServiceReference1.WebServiceNameClient()
Dim action As String = "GET"
Dim id As Integer = 1
Dim result = client.DoWebServiceWork(action, id)
lsuarez
  • 4,952
  • 1
  • 29
  • 51