473,386 Members | 1,699 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,386 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 4751
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.