How to consume APIGEE services with Visual Studio.

ajytwi
New Member

Hi Team,

I have exposed one service via APIGEE but our client is not able to consume this service.

They are using microsoft visual studio to consume services and not able to create class from service reference.

Please help me to resolve this issue.

Thanks

Solved Solved
0 6 1,163
1 ACCEPTED SOLUTION

Hi @Ajay Tiwari , please mention all the details, to get specific answers. After seeing your details in this question here I was able to understand your previous question 🙂 Check the solution in the previous question.

Well, this URL(https://ajytwi-eval-test.apigee.net/calculator) is giving a WSDL file. For the purpose of testing use a SOAP UI to import this wsdl & test it. All the calls will be received by Apigee proxy.

Similarly, your client should be using this URL(wsdl) to create services in visual studio.

View solution in original post

6 REPLIES 6

Hi @Ajay Tiwari, could you please let us know what kind of service did you expose and how is your client trying to consume it through Visual Studio?

In most cases, the service which is exposed via Apigee is a Restful Service(not in case of Soap-PassThrough service), which is simply an HTTP/HTTPS call.

So in the visual studio, it could be something like, Calling a Web API From a .NET Client (C#)

Hi @Siddharth Barahalikar Sorry to mentioned this in question.

Its SOAP passthrough proxy I am attaching similar service.

https://ajytwi-eval-test.apigee.net/calculator


Hi @Ajay Tiwari , please mention all the details, to get specific answers. After seeing your details in this question here I was able to understand your previous question 🙂 Check the solution in the previous question.

Well, this URL(https://ajytwi-eval-test.apigee.net/calculator) is giving a WSDL file. For the purpose of testing use a SOAP UI to import this wsdl & test it. All the calls will be received by Apigee proxy.

Similarly, your client should be using this URL(wsdl) to create services in visual studio.

Hi @Siddharth Barahalikar I have shared https://ajytwi-eval-test.apigee.net/calculator URL to client and they were not able to consume this .Only reason I figured out is that in soap location part http:// was not there.

Do you think incorporating changes in GetWSDL will resolve the issue?

Yes, without http:// part I was not able to make calls to Apigee proxy. After adding it, the calls were success. Try it out & let me know.

Hi @Siddharth Barahalikar We tried with the solution but proxy classes are not getting generated if you how to generate proxy class please help on this.