Ask a Question related to ASP.NET Web Services, Design and Development.
-
arc #1
XmlNode in Web Services...
Requirements have made me to come up with a Web Service that accepts XML as
input.
Figured out that XmlNode is possible to work with and it works like a gem.
Now i am thinking of non-.NET clients, would they be able to call this Web
service and send XML document.
Is this type supported by the clients such as PERL, Python that need to call
this Web service?
If not what is the remedy apart from using WS Attachments?
[WebMethod]
public string XMLInputMethod(XmlNode xmlDocument)
{
.....
}
Thanks,
Arc
arc Guest
-
Error returning an XmlNode from a webservice
I am using WSE 2.0 and ASP.NET to consume two webservices. The first works fine 100% of the time - the second doesn't. The first has a signature... -
HttpPOST fails when using XmlNode
Can someone explain why HTTP Post fails when implementing this simple webmethod? public XmlNode Echo(XmlNode doc) { return doc; } -
Relation between XmlNode and WSDL minoccurs or type
I have a WSDL-file that looks like the following (Part of it) - <s:complexType name="Persoonslijst"> - <s:sequence> <s:element minOccurs="0"... -
Adding an XmlNode parameter to the HelloWorld WebMethod
I've added an XmlNode as a parameter to the HelloWorld WebMethod. The automaticall generated WSDL would leave one to believe that any well-formed... -
XmlNode -> Schema -> Object
I apologize, this question pertains to WebServices only indirectly. Lets say I have an XmlNode that validates against some schema. I also have a... -
David Shreffler #2
Re: XmlNode in Web Services...
The "input type" on a .NET web service method is just what data type the web
service will deserialize data into. As long as all of your other clients
are communicating via SOAP, they will see the XMLNode complex data type in
the "types" element in the web service's WSDL. And since SOAP is in XML
anyway, I'm sure an XMLNode will serialize with no problems.
"arc" <dprivon@hotmail.com> wrote in message
news:%23Ls98OUqDHA.1960@TK2MSFTNGP12.phx.gbl...as> Requirements have made me to come up with a Web Service that accepts XMLcall> input.
> Figured out that XmlNode is possible to work with and it works like a gem.
>
> Now i am thinking of non-.NET clients, would they be able to call this Web
> service and send XML document.
> Is this type supported by the clients such as PERL, Python that need to> this Web service?
> If not what is the remedy apart from using WS Attachments?
>
>
> [WebMethod]
> public string XMLInputMethod(XmlNode xmlDocument)
> {
> ....
> }
>
> Thanks,
> Arc
>
>
David Shreffler Guest
-
Tomas Restrepo \(MVP\) #3
Re: XmlNode in Web Services...
Hi,
Sure.> Now i am thinking of non-.NET clients, would they be able to call this Web
> service and send XML document.
call> Is this type supported by the clients such as PERL, Python that need toDon't see why not. When you do that, the WSDL generated simply states the> this Web service?
service can take any valid XML as input (i.e. xsd:any).
--
Tomas Restrepo
[email]tomasr@mvps.org[/email]
Tomas Restrepo \(MVP\) Guest



Reply With Quote

