[Mono-aspnet-list] WSDL2 consuming PHP WSDL XML Erroring
genux
ian at codingfriends.com
Fri Apr 16 05:48:59 EDT 2010
Hi all,
I have written a basic test
http://www.codingfriends.com/index.php/2010/04/12/soap-server/ PHP SOAP with
WSDL , it is basically using a
$autodiscover = new Zend_Soap_AutoDiscover();
$autodiscover->setClass('QuoteOfTheDay');
$autodiscover->handle();
zend framework auto discover to generate the WSDL file.
and when I try to consume the WSDL to generate the .NET class I am getting
this error
wsdl2 http://localhost/projects/webservice/zend_soap_server.php?wsdl
Web Services Description Language Utility
Mono Framework v2.0.50727.1433
Error: Object reference not set to an instance of an object
Stack:
at System.Xml.Serialization.XmlSerializationReader.OnUnknownNode
(System.Xml.XmlNode node, System.Object o, System.String qnames) [0x00000]
at System.Xml.Serialization.XmlSerializationReader.UnknownNode
(System.Object o, System.String qnames) [0x00000]
at System.Xml.Serialization.XmlSerializationReader.UnknownNode
(System.Object o) [0x00000]
at
System.Web.Services.Description.ServiceDescriptionReaderBase.ReadObject_ServiceDescription
(Boolean isNullable, Boolean checkType) [0x00000]
at
System.Web.Services.Description.ServiceDescriptionReaderBase.ReadRoot_ServiceDescription
() [0x00000]
at
System.Web.Services.Description.ServiceDescription+ServiceDescriptionSerializer.Deserialize
(System.Xml.Serialization.XmlSerializationReader reader) [0x00000]
at System.Xml.Serialization.XmlSerializer.Deserialize
(System.Xml.XmlReader xmlReader) [0x00000]
at System.Web.Services.Description.ServiceDescription.Read
(System.Xml.XmlReader reader) [0x00000]
at System.Web.Services.Discovery.DiscoveryClientProtocol.DiscoverAny
(System.String url) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Web.Services.Discovery.DiscoveryClientProtocol:DiscoverAny (string)
at Mono.WebServices.Driver.Run (System.String[] args) [0x00000]
should I be passing in another parameter to the wsdl2 ?
cheers
-----
http://www.codingfriends.com codingfriends
--
View this message in context: http://n4.nabble.com/WSDL2-consuming-PHP-WSDL-XML-Erroring-tp1975547p1975547.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list