|
-
Jan 5th, 2005, 01:09 PM
#1
Thread Starter
New Member
Namespace/Class/Project design questions from newbie
I am developing a set of classes to process payments for several web sites. I am planning to expose these classes to the web sites as a web service. When I call the web service to process a transaction I would like to pass it a "transaction" object, but I am confused as to how I should develop the project so that the web sites will have knowledge of the transaction object so they can instantiate the object and pass it to the web service? Any help would be greatly appreciated.
Thanks!
Shawn
-
Jan 27th, 2005, 06:38 AM
#2
New Member
Re: Namespace/Class/Project design questions from newbie
can you tell me which payment integration method you used?
-
Jan 27th, 2005, 07:43 AM
#3
Thread Starter
New Member
Re: Namespace/Class/Project design questions from newbie
I have yet to receive an answer to this post on this board as well as a few others. I am waiting until I have a better understanding before I start this project.
-
Feb 1st, 2005, 07:30 PM
#4
Re: Namespace/Class/Project design questions from newbie
Hi,
...this can get a bit complicated too quickly, so I will just mention that you can have a web service that declares a public class like this:
VB Code:
Public Class MyClass
Public hashObject As Byte()
Public signedData As Byte()
Public PaymentType As Integer
End Class
and you could have that passed to your web methods as a parameter:
VB Code:
<WebMethod()> Public Function DoSomething(ByVal MyObject As MyClass) As Integer
The class would be described to web service users by the web service definition.
Cheers,
NTG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|