Click here to Skip to main content
15,916,846 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralMDI Apps problems Pin
fume27-Aug-03 20:34
fume27-Aug-03 20:34 
GeneralRe: MDI Apps problems Pin
palace18-Sep-03 4:20
palace18-Sep-03 4:20 
GeneralVB Slowdown after compilation Pin
Anonymous27-Aug-03 15:05
Anonymous27-Aug-03 15:05 
GeneralRe: VB Slowdown after compilation Pin
Ray Cassick27-Aug-03 15:23
Ray Cassick27-Aug-03 15:23 
GeneralRe: VB Slowdown after compilation Pin
Dave Kreskowiak28-Aug-03 9:01
mveDave Kreskowiak28-Aug-03 9:01 
Generalone stupid question.. Pin
pnpfriend27-Aug-03 9:45
pnpfriend27-Aug-03 9:45 
Generalforget it.. got it Pin
pnpfriend27-Aug-03 10:25
pnpfriend27-Aug-03 10:25 
General.NET Web Service with VB6 and Soap Toolkit 3 Pin
cory_baker27-Aug-03 4:38
cory_baker27-Aug-03 4:38 
I'm trying to consume a C# Web Service using VB6 and Soap Toolkit 3.

Everything works fine when I'm passing/returning simple data types such as strings and integers but I'm having trouble using complex data types.

The class I'm trying to pass is defined in my C# WS as

public class AlertMessage
{
public string AlertMessage;
public string AlertComment;
}

How do I treat this in VB and how do I pass it?
Currently, I have created an ActiveX DLL with a class AlertMessage as follows:

Private mAlertText As String
Private mAlertComment As String
Public Property Get AlertText() As String
AlertText = mAlertText
End Property
Public Property Let AlertText(ByVal Value As String)
mAlertText = Value
End Property
Public Property Get AlertComment() As String
AlertText = mAlertComment
End Property
Public Property Let AlertComment(ByVal Value As String)
mAlertComment = Value
End Property

When trying to pass an AlertMessage to the WS I get the following error:
SoapMapper: Saving SoapMapper alertMessage failed. No such interface supported.

When trying to return an AlertMessage from the WS I get a type mismatch error. My Soap response looks as follows:

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetAlertMessageResponse xmlns="http://star-navigation.com/webservices/">
<GetAlertMessageResult>
<AlertText>Hello There</AlertText>
<AlertComment>My Comment</AlertComment>
</GetAlertMessageResult>
</GetAlertMessageResponse>
</soap:Body>
</soap:Envelope>


Can anyone help?

Thanks,
Cory

Generalbundling VB.net runtime Pin
Jcg3127-Aug-03 4:21
Jcg3127-Aug-03 4:21 
GeneralLoop thru in string Pin
Member 53357326-Aug-03 22:42
Member 53357326-Aug-03 22:42 
GeneralAutomation server problem Pin
clone_21226-Aug-03 21:21
clone_21226-Aug-03 21:21 
Generalafter change the display resolution with VB6 Pin
ChinhChua26-Aug-03 18:25
ChinhChua26-Aug-03 18:25 
QuestionHow to add Macromedia Flash to My VB.Net Form?? Pin
MJay26-Aug-03 16:49
MJay26-Aug-03 16:49 
Questionhow to control msword in my program? Pin
fftongzhi26-Aug-03 15:49
fftongzhi26-Aug-03 15:49 
QuestionHow to associate a cursor with my App Pin
elmahdy26-Aug-03 15:26
elmahdy26-Aug-03 15:26 
AnswerRe: How to associate a cursor with my App Pin
Hesham Amin27-Aug-03 22:00
Hesham Amin27-Aug-03 22:00 
GeneralRe: How to associate a cursor with my App Pin
Anonymous28-Aug-03 2:28
Anonymous28-Aug-03 2:28 
GeneralRe: How to associate a cursor with my App Pin
Hesham Amin28-Aug-03 4:12
Hesham Amin28-Aug-03 4:12 
Generalneed good books for GUI design Pin
Anonymous26-Aug-03 14:54
Anonymous26-Aug-03 14:54 
GeneralRe: need good books for GUI design Pin
Ray Cassick26-Aug-03 16:42
Ray Cassick26-Aug-03 16:42 
GeneralRe: need good books for GUI design Pin
J. Dunlap26-Aug-03 16:56
J. Dunlap26-Aug-03 16:56 
Generaltrouble with msbind.dll Pin
Marcel Härry26-Aug-03 14:12
Marcel Härry26-Aug-03 14:12 
GeneralTranslation needed Pin
oliver_twistor26-Aug-03 11:24
oliver_twistor26-Aug-03 11:24 
GeneralRe: Translation needed Pin
Ian Darling27-Aug-03 0:01
Ian Darling27-Aug-03 0:01 
GeneralRe: Translation needed Pin
oliver_twistor27-Aug-03 4:03
oliver_twistor27-Aug-03 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.