Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8432677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:11:35+00:00 2026-06-10T06:11:35+00:00

I am using this wsdl to generate classes. https://pal-live.adyen.com/pal/Payment.wsdl When i add it as

  • 0

I am using this wsdl to generate classes.

https://pal-live.adyen.com/pal/Payment.wsdl

When i add it as a ‘web reference’ it creates a Payment class which contains the methods needed to make a payment.

When adding it as a ‘service reference’ it only creates an interface with these methods but no Payment class.

There are other classes but the crucial Payment class is missing and its methods are only in an interface.

How can the wsdl generate different classes? What is the key difference here and how can I get this Payment class?

It might also be worth noting that the reason I cant use the web reference is because this code is being deployed to azure websites and I get sdk version errors if I push the web reference generated code. Presumably because of the .net version.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:11:36+00:00Added an answer on June 10, 2026 at 6:11 am

    I used svcutil to generate classes based on your wsdl.

    It created the interface PaymentPortType. This defines the contract of how to communicate with your service. However, this does not know where the service is located.

    It also created the class PaymentPortTypeClient. This class inherits from ClientBase<PaymentPortType>. By giving PaymentPortTypeClient a Binding and EndpointAddress, you now have everything you need to talk to your service.

    Note: this can come from a config file, at which point you would use the constructor

    public PaymentPortTypeClient(string endpointConfigurationName)
    

    ClientBase has a private ChannelFactory. ChannelFactory.CreateChannel() will create an object that implements PaymentPortType and can talk to your service. This is done automatically and stored in ClientBase.Channel.

    Finally, PaymentPortTypeClient also implements PaymentPortType. Each method from the interface is implemented to call that method on the channel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've added a WCF service reference to a .NET project using this WSDL: https://interop.cmiservices.org/axis/services/CAP1_1?wsdl
I am trying to use jax-ws to generate web service proxy classes, using the
I'm using Apache CXF to generate classes from a WSDL file but they don't
I am trying to generate Java classes using Eclipse (New Web Service Client). Eclipse
I want to generate WSDL compliant with Java classes. At this phase I don't
I`am trying to generate web service client through MyEclipse, using my wsdl. Ive got
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
Using this tutorial: http://www.c-sharpcorner.com/uploadfile/UrmimalaPal/creating-a-windows-phone-7-application-consuming-data-using-a-wcf-service/ I have created sample/hello world application on the windows phone
I'm generating Java classes from a WSDL using the jaxws-maven-plugin's wsimport goal. Out of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.