Pass-Through SOAP example please

Not applicable

Nobody tell that read the document. The document explain something but it doesnt show any using. I did what the document explain but i dont know how i will call the webservice.

Please anybody who knows help me. I want to call webservice from c#.net

Solved Solved
1 8 1,825
1 ACCEPTED SOLUTION

Not applicable

Hi @Soner Canoğlu. You can also try a tool like Postman to generate the API request in C# (RestSharp). For example, the http request to https://httpbin.org/ip resource is represented as:

var client = new RestClient("https://httpbin.org/ip");
var request = new RestRequest(Method.GET);
request.AddHeader("postman-token", "2754e14f-74c3-bbc6-f333-a59253a4f605");
request.AddHeader("cache-control", "no-cache");
IRestResponse response = client.Execute(request);

1996-c-postman.png

View solution in original post

8 REPLIES 8

Not applicable
@Soner Canoğlu

Have you used our new wizard to create a new api in Apigee?

Once you hit on a "+ API" button on Apigee's enterprise UI, you will be presented with a screen like below -

screen-shot-2016-02-16-at-31405-pm.png

After that hit next and you can create a example SOAP passthrough using one of the example url's.

screen-shot-2016-02-16-at-31637-pm.png

Just proceed and deploy this proxy and you should have a SOAP example on about 1 minute.

-Vinit

Are you kidding with me . I did them but how can i call the service in c#? I asked it.

Everybody says only create api proxy and paste wsdl url .etc.... But then what will i do

Common nobody knows that?

@Soner Canoğlu , Here is the StackOverflow article that explains how to call rest API using C#.

Is there anyone who can send me an application example which consumes

Pass-Through SOAP webservice

Please find the Article & Video tutorial which explains SOAP to REST

@docs , I can able to see issues while implementing pass through soap service by following docs. Can you please verify same is it still valid with updated Proxy wizard screens ? A simple weather wsdl example end to end will be great help.

Not applicable

Hi @Soner Canoğlu. You can also try a tool like Postman to generate the API request in C# (RestSharp). For example, the http request to https://httpbin.org/ip resource is represented as:

var client = new RestClient("https://httpbin.org/ip");
var request = new RestRequest(Method.GET);
request.AddHeader("postman-token", "2754e14f-74c3-bbc6-f333-a59253a4f605");
request.AddHeader("cache-control", "no-cache");
IRestResponse response = client.Execute(request);

1996-c-postman.png

msebai
New Member

@Soner Canoğlu This question is a duplicate of one you recently asked https://community.apigee.com/questions/18315/can-i-use-c-with-apigee.html!!!