Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem accessing properties of Object returned in webservice

Reply
Thread Tools

Problem accessing properties of Object returned in webservice

 
 
joshua.oconnor@comcast.net
Guest
Posts: n/a
 
      12-08-2006
I am having a problem accessing the properties of a structure object
returned from a webservice.
The web service returns an object:
changeobject.description
changeobject.user
I can create an instance of the object on the calling asp page, but
when i try to populate the properties, I get error: 438 - Object
doesn't support this property or method
If anyone can help me with this problem i would greatly appreciate it.

Here is a sample of my code (in asp):

Dim objSoapClient
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient30")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
Call
objSoapClient.mssoapinit("http://localhost/cms_interface/event_service.asmx?WSDL",
"event_service")
Set changeObject = objSoapClient.getObjectFromFactory()
With changeObject
.description = "Some Description"
.user = "Some User"
End With

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webservice howto transfer object properties Daniel ASP .Net 0 11-03-2004 10:31 AM
Repost - Typed dataset returned from webservice incorrectly defined in proxy - null value problem Randy Hayes ASP .Net Web Services 1 01-21-2004 02:07 AM
Typed dataset returned from webservice incorrectly defined in proxy - null value problem Randy Hayes ASP .Net Web Services 1 01-20-2004 02:51 AM
Typed dataset returned from webservice incorrectly defined in proxy - null value problem Randy Hayes ASP .Net Web Services 0 12-21-2003 04:59 PM
Repost: Problem Retrieving DataSet Returned By A WebService Programatix ASP .Net 1 07-17-2003 01:47 PM



Advertisments