Link to home
Start Free TrialLog in
Avatar of baeriali
baeriali

asked on

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

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#
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of baeriali
baeriali

ASKER

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/