?
Solved

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

Posted on 2014-12-26
3
Medium Priority
?
283 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 1500 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…

752 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