Solved

Web Soap Call  ASP.Net equivelent to PHP or Cold Fusion

Posted on 2014-12-26
3
248 Views
Last Modified: 2016-02-16
Could someone provide me with the equivalent call in ASP.Net as  the following SOAP calls in Cold Fusion and PHP

EXAMPLES    :
              COLDFUSION :
              <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="AuctionAddBidder" returnvariable="result">
                  <cfinvokeargument name="Auctioneer_ID" value="0" />
                  <cfinvokeargument name="Access_Key" value="..." />
                  <cfinvokeargument name="Auction_ID" value="0" />
                  <cfinvokeargument name="External_Auction_ID" value="..." />
                  <cfinvokeargument name="Bidder_ID" value="0" />
                  <cfinvokeargument name="External_Bidder_ID" value="..." />
                  <cfinvokeargument name="Paddle_Number" value="..." />
                  <cfinvokeargument name="Username" value="..." />
                  <cfinvokeargument name="Password" value="..." />
              </cfinvoke>
              <cfdump var=#result# />
             
              PHP :
              class AuctionAddBidder {
                  function AuctionAddBidder($Auctioneer_ID, $Access_Key, $Auction_ID, $External_Auction_ID, $Bidder_ID, $External_Bidder_ID, $Paddle_Number, $Username, $Password)
                  {
                      $this->Auctioneer_ID = $Auctioneer_ID;
                      $this->Access_Key = $Access_Key;
                      $this->Auction_ID = $Auction_ID;
                      $this->External_Auction_ID = $External_Auction_ID;
                      $this->Bidder_ID = $Bidder_ID;
                      $this->External_Bidder_ID = $External_Bidder_ID;
                      $this->Paddle_Number = $Paddle_Number;
                      $this->Username = $Username;
                      $this->Password = $Password;
                  }
              }
              $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl");
              $params = new AuctionAddBidder(0, "...", 0, "...", 0, "...", "...", "...", "...");    
              $result = $soapClient->AuctionAddBidder($params);
              var_dump($result);


I would like too simulate these calls in ASP.Net either in Visual Basic or C#
0
Comment
Question by:baeriali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40523659
When you add a web reference with Visual Studio, it generates a proxy class that you can use to make the calls to the web service.  You would just need to create an instance of the proxy class, and then call the method with the appropriate values.
0
 

Author Comment

by:baeriali
ID: 40527245
At this point I will have to give the points to Bob Learned...

Although I did not get a super satisfactory response he did point me in the right direction and I would like to share further links I discovered trying to address this issue posted.

Web Service in C#
http://www.c-sharpcorner.com/UploadFile/00a8b7/web-service/

This was very useful in figuring out how to actually consume the Web Service once the Web Reference was  set up as
Bob Learned had suggested.

Another useful link was how to set up the Web Reference in Visual Studio 2010 .Net
http://www.c-sharpcorner.com/uploadfile/anavijai/add-web-reference-in-visual-studio-2010/
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question