P
Piculo
Hi,
I have a WebServices in ASP.NEt VisualBasic, the declaration of the method
is :
Public Function saveDocumentXML(ByVal pvXmlDocument As Xml.XmlDocument) As
String
And i call to this method with a webreference in this way:
Dim myString as String = myWS.saveDocumentXML(myXMlDocument)
Wherein myXmlDocument is something like this:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="testlayer24.xsl"?>
<testlayer>
<text1>Text test1</text1>
<text12>Text test12</text12>
<text2>Text test2</text2>
<text22>Text test22</text22>
<text3>Text test3</text3>
<text32>Text test32</text32>
</testlayer>
But in the webservices i receive:
<testlayer xmlns="">
<text1>Text test1</text1>
<text12>Text test12</text12>
<text2>Text test2</text2>
<text22>Text test22</text22>
<text3>Text test3</text3>
<text32>Text test32</text32>
</testlayer>
This means that i ve lost the header of the XML in the WebServices, the
declaration and the Xsl transformation reference.
Anyone knows why? What is wrong?
Thanks,
Pikulo.
I have a WebServices in ASP.NEt VisualBasic, the declaration of the method
is :
Public Function saveDocumentXML(ByVal pvXmlDocument As Xml.XmlDocument) As
String
And i call to this method with a webreference in this way:
Dim myString as String = myWS.saveDocumentXML(myXMlDocument)
Wherein myXmlDocument is something like this:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="testlayer24.xsl"?>
<testlayer>
<text1>Text test1</text1>
<text12>Text test12</text12>
<text2>Text test2</text2>
<text22>Text test22</text22>
<text3>Text test3</text3>
<text32>Text test32</text32>
</testlayer>
But in the webservices i receive:
<testlayer xmlns="">
<text1>Text test1</text1>
<text12>Text test12</text12>
<text2>Text test2</text2>
<text22>Text test22</text22>
<text3>Text test3</text3>
<text32>Text test32</text32>
</testlayer>
This means that i ve lost the header of the XML in the WebServices, the
declaration and the Xsl transformation reference.
Anyone knows why? What is wrong?
Thanks,
Pikulo.