473,411 Members | 1,923 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,411 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 4765
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: 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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.