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

N

Nate

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
 
N

Nate

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
 
N

Nathan Deneau

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top