473,375 Members | 1,298 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,375 software developers and data experts.

sample *.aspx Web file to call a proxy class to an XML SOAP Web Service

Hello,

Maybe no response on my last post because it was too lengthy or the
moderators were too busy? Could someone please post a sample *.aspx Web
file (VB or C#) that calls a proxy class to the PayPal SOAP WSDL XML
Web Services? Also, any quick-steps or instructions, such as, 'don't
forget to register your proxy dll and place it inside the Bin folder'
would be much appreciated.

Thank You,

Nate

Jul 21 '05 #1
3 4741
Theres a whole free chapter on this at O'Reilley

http://hacks.oreilly.com/pub/h/2222

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Nate" <na**********@cox.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello,

Maybe no response on my last post because it was too lengthy or the
moderators were too busy? Could someone please post a sample *.aspx Web
file (VB or C#) that calls a proxy class to the PayPal SOAP WSDL XML
Web Services? Also, any quick-steps or instructions, such as, 'don't
forget to register your proxy dll and place it inside the Bin folder'
would be much appreciated.

Thank You,

Nate

Jul 21 '05 #2
Thank You For Your Reply, John. And sorry if this is considered a
double-post (I also posted to your www.developersdex.com).

I am using notepad and command-line programs (wsdl.exe and csc.exe)
rather than Visual Studio .Net (to save money) to develop my code. I
have been following the 'PayPal Hacks' book and msdn.microsoft.com
articles and I believe that I already have created all of the files
that are needed. I have successfully tested the PayPal API Client.

Could you tell me if any of my actions are incorrect:
1) I created a *.cs file using command-line wsdl.exe and passing it
PayPal's API WSDL file.
2) I created an assembly *.dll file using command-line csc.exe. Is this
the proxy Web reference?
3) I created a simple Web form *.aspx file using VB that includes the
statement: Dim myPayPalAPIInterfaceService As New
PayPalAPIInterfaceService().
4) I created a Bin folder in the same directory as the *.aspx file and
copied the *.dll file into the Bin directory. Is the *.dll file the Web
reference?

When I open the page in an IE6 browser, I get the error: BC30002: Type
'PayPalAPIInterfaceService' is not defined.

Thanks In Advance For Your Help.

Nate

Jul 21 '05 #3
Thank You For Your Reply, John.

I am using notepad and command-line programs (wsdl.exe and csc.exe)
rather than Visual Studio .Net (to save money) to develop my code. I
have been following the 'PayPal Hacks' book and msdn.microsoft.com
articles and I believe that I already have created all of the files that
are needed. I have successfully tested the PayPal API Client.

Could you tell me if any of my actions are incorrect:
1) I created a *.cs file using command-line wsdl.exe and passing it
PayPal's API WSDL file.
2) I created an assembly *.dll file using command-line csc.exe. Is this
the proxy Web reference?
3) I created a simple Web form *.aspx file using VB that includes the
statement: Dim myPayPalAPIInterfaceService As New
PayPalAPIInterfaceService().
4) I created a Bin folder in the same directory as the *.aspx file and
copied the *.dll file into the Bin directory. Is the *.dll file the Web
reference?

When I open the page in an IE6 browser, I get the error: BC30002: Type
'PayPalAPIInterfaceService' is not defined.

Thanks In Advance For Your Help.

Nate

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: amine | last post by:
Hi, I have created a proxy class from a wsdl document and I want to add it to my project. but the generated proxy class contains packages like system.web that are not supported by the .NET...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
6
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
1
by: | last post by:
Hi I have written a class (Vb.net) which supposed to write out page title, img URLs and other stuff. I can access the class methods and properties easily through the .vb page But how do I...
3
by: Nate | last post by:
Hello, Maybe no response on my last post because it was too lengthy or the moderators were too busy? Could someone please post a sample *.aspx Web file (VB or C#) that calls a proxy class to the...
1
by: Arpan | last post by:
A class file named "SecureDBWS.vb" exsting in C:\Inetpub\wwwroot\ASPX\Business folder has the following code: Imports System Imports System.Data Imports System.Data.SqlClient Imports...
0
by: =?Utf-8?B?UlN1Yg==?= | last post by:
Hello, Hope I am asking this question in the right forum. We have been given a Wsdl file and the webservices link from a client. I am trying to invoke their web service first by creating a proxy...
2
by: pmMano | last post by:
Hi, I wrote all common methods of my project are in a Class file named as "MyClass.cs". But I'm not able to access those methods from my aspx file. Both the class file & aspx file are in same...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.