NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem Consuming NuSOAP webservice in Visual Studio.Net


Joined: 08 Mar 2007
Posts: 5
Reply with quote
Okay, this is loosely related to a previous post I made here, but not really. I've gotten this webservice working perfectly NuSOAP=>NuSOAP. When I try to consume this webservice via MS Visual Studio.Net 2005, something funky happens. It creates the proxy class & in this class it creates a DataType named "Array".

Here's the constructor for this class:
Code:
    public class Array {
        public Array();

        [XmlAnyElement]
        public XmlElement[] Any { get; set; }
        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr { get; set; }
        public string arrayType { get; set; }
        [XmlAttribute(DataType = "anyURI")]
        public string href { get; set; }
        [XmlAttribute(DataType = "ID")]
        public string id { get; set; }
        public string offset { get; set; }
        [XmlIgnore]
        public bool offsetSpecified { get; set; }
    }


Needless to say, this makes the results totally unusable. So, I was wondering if anyone here had any ideas how I might be able to "fix" this so I can consume it via VS.Net as well?

Thanks,
Ian
View user's profileFind all posts by iancazSend private messageMSN Messenger
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
please try without proxy. In this case you'll invoke SOAP methods (endpoints) using soapclient instance.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Problem Consuming NuSOAP webservice in Visual Studio.Net
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic