473,394 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

reading XML, SOAP problems

Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and
I am having quite a lot of problems. I have managed to solve most of them but
this one it really is giving me terrible headaches. Web Service send's me
back an XML that I have managed to read with an enormous quantity of problems
(it sends me back an XML file with double XML declaration, not the real XML
format). In case of server errors, DOMINO sends me back an XML error that
gives me informations about error type in this tags, "<errorcode> and
<message>". I have copied the XML error file in my local root and I have
writed code for reading and handling it. AS soon as I try to load it I get a
"SOAP namespace error in line 2". I really don't know why.... Can somebody
help me please?

************************************************** ********
This is the code-behind:

Dim FileXML As New System.Xml.XmlDocument

FileXML.Load("C:\Inetpub\wwwroot\err.xml")
************************************************** ********
This is the XML error file:

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>Dati Mancanti</faultstring>
<detail>
<e:Protocollazione xmlns:e="WSProtocollo">
<message>
L'oggetto come dato non specificato
</message>
<errorcode>
1001
</errorcode>
</e:Protocollazione>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>

Thanks for help

Jonathan Bagnani
Nov 23 '05 #1
4 2235
Hi Jonathan...

You are not defining the "soap" namespace - you are (incorrectly) defining a
"SOAP-ENV" namespace.

"soap" namespace should be defined as

<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

--
Pete Wood
Email me at http://www.webserviceshelp.org for more help
__________________________________________________ _______
"Jonathan [sbrodolo]" <Jonathan [sbrodolo]@discussions.microsoft.com> wrote
in message news:D5**********************************@microsof t.com...
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application
and
I am having quite a lot of problems. I have managed to solve most of them
but
this one it really is giving me terrible headaches. Web Service send's me
back an XML that I have managed to read with an enormous quantity of
problems
(it sends me back an XML file with double XML declaration, not the real
XML
format). In case of server errors, DOMINO sends me back an XML error that
gives me informations about error type in this tags, "<errorcode> and
<message>". I have copied the XML error file in my local root and I have
writed code for reading and handling it. AS soon as I try to load it I get
a
"SOAP namespace error in line 2". I really don't know why.... Can somebody
help me please?

************************************************** ********
This is the code-behind:

Dim FileXML As New System.Xml.XmlDocument

FileXML.Load("C:\Inetpub\wwwroot\err.xml")
************************************************** ********
This is the XML error file:

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>Dati Mancanti</faultstring>
<detail>
<e:Protocollazione xmlns:e="WSProtocollo">
<message>
L'oggetto come dato non specificato
</message>
<errorcode>
1001
</errorcode>
</e:Protocollazione>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>

Thanks for help

Jonathan Bagnani

Nov 23 '05 #2
Hi Pete, thank you very much for your help, you have been extremely useful.
The problem is that I am not the Web Service developer so I'll send your
reply directly to Web Service owners and I'll hope they'll change their
attitude towards me. We are deploying a really big web application for an
Italian Pubblic

"Pete Wood" wrote:
Hi Jonathan...

You are not defining the "soap" namespace - you are (incorrectly) defining a
"SOAP-ENV" namespace.

"soap" namespace should be defined as

<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

--
Pete Wood
Email me at http://www.webserviceshelp.org for more help
__________________________________________________ _______
"Jonathan [sbrodolo]" <Jonathan [sbrodolo]@discussions.microsoft.com> wrote
in message news:D5**********************************@microsof t.com...
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application
and
I am having quite a lot of problems. I have managed to solve most of them
but
this one it really is giving me terrible headaches. Web Service send's me
back an XML that I have managed to read with an enormous quantity of
problems
(it sends me back an XML file with double XML declaration, not the real
XML
format). In case of server errors, DOMINO sends me back an XML error that
gives me informations about error type in this tags, "<errorcode> and
<message>". I have copied the XML error file in my local root and I have
writed code for reading and handling it. AS soon as I try to load it I get
a
"SOAP namespace error in line 2". I really don't know why.... Can somebody
help me please?

************************************************** ********
This is the code-behind:

Dim FileXML As New System.Xml.XmlDocument

FileXML.Load("C:\Inetpub\wwwroot\err.xml")
************************************************** ********
This is the XML error file:

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>Dati Mancanti</faultstring>
<detail>
<e:Protocollazione xmlns:e="WSProtocollo">
<message>
L'oggetto come dato non specificato
</message>
<errorcode>
1001
</errorcode>
</e:Protocollazione>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>

Thanks for help

Jonathan Bagnani


Nov 23 '05 #3
Hi Pete, thank you very much for your help, you have been extremely useful.
The problem is that I am not the Web Service developer so I'll send your
reply directly to Web Service owners and I'll hope they'll change their
attitude towards me. We are deploying a really big web application for an
Italian Pubblic Administration and it will substitute a Lotus Notes
application so you can imagine their way of doing.....it takes day to give us
existing datas we need for creating our database. They are developers of the
Web Service too so you can imagine their behaviour towards us.

Have a nice day

Jonathan

"Pete Wood" wrote:
Hi Jonathan...

You are not defining the "soap" namespace - you are (incorrectly) defining a
"SOAP-ENV" namespace.

"soap" namespace should be defined as

<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

--
Pete Wood
Email me at http://www.webserviceshelp.org for more help
__________________________________________________ _______
"Jonathan [sbrodolo]" <Jonathan [sbrodolo]@discussions.microsoft.com> wrote
in message news:D5**********************************@microsof t.com...
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application
and
I am having quite a lot of problems. I have managed to solve most of them
but
this one it really is giving me terrible headaches. Web Service send's me
back an XML that I have managed to read with an enormous quantity of
problems
(it sends me back an XML file with double XML declaration, not the real
XML
format). In case of server errors, DOMINO sends me back an XML error that
gives me informations about error type in this tags, "<errorcode> and
<message>". I have copied the XML error file in my local root and I have
writed code for reading and handling it. AS soon as I try to load it I get
a
"SOAP namespace error in line 2". I really don't know why.... Can somebody
help me please?

************************************************** ********
This is the code-behind:

Dim FileXML As New System.Xml.XmlDocument

FileXML.Load("C:\Inetpub\wwwroot\err.xml")
************************************************** ********
This is the XML error file:

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Client</faultcode>
<faultstring>Dati Mancanti</faultstring>
<detail>
<e:Protocollazione xmlns:e="WSProtocollo">
<message>
L'oggetto come dato non specificato
</message>
<errorcode>
1001
</errorcode>
</e:Protocollazione>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>

Thanks for help

Jonathan Bagnani


Nov 23 '05 #4
Sounds like you're wading through treacle Jonathan! Let me know if I can be
of further assistance...

--
Pete Wood
Contact me at http://www.webserviceshelp.org for more help
__________________________________________________ _______
"Jonathan [sbrodolo]" <Jo**************@discussions.microsoft.com> wrote in
message news:9B**********************************@microsof t.com...
Hi Pete, thank you very much for your help, you have been extremely
useful.
The problem is that I am not the Web Service developer so I'll send your
reply directly to Web Service owners and I'll hope they'll change their
attitude towards me. We are deploying a really big web application for an
Italian Pubblic Administration and it will substitute a Lotus Notes
application so you can imagine their way of doing.....it takes day to give
us
existing datas we need for creating our database. They are developers of
the
Web Service too so you can imagine their behaviour towards us.

Have a nice day

Jonathan

"Pete Wood" wrote:
> Hi Jonathan...
>
> You are not defining the "soap" namespace - you are (incorrectly)
> defining a
> "SOAP-ENV" namespace.
>
> "soap" namespace should be defined as
>
> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
> soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
>
> --
> Pete Wood
> Email me at http://www.webserviceshelp.org for more help
> __________________________________________________ _______
>
>
> "Jonathan [sbrodolo]" <Jonathan [sbrodolo]@discussions.microsoft.com>
> wrote
> in message news:D5**********************************@microsof t.com...
> > Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net
> > application
> > and
> > I am having quite a lot of problems. I have managed to solve most of
> > them
> > but
> > this one it really is giving me terrible headaches. Web Service
> > send's me
> > back an XML that I have managed to read with an enormous quantity of
> > problems
> > (it sends me back an XML file with double XML declaration, not the
> > real
> > XML
> > format). In case of server errors, DOMINO sends me back an XML error
> > that
> > gives me informations about error type in this tags, "<errorcode> and
> > <message>". I have copied the XML error file in my local root and I
> > have
> > writed code for reading and handling it. AS soon as I try to load it
> > I get
> > a
> > "SOAP namespace error in line 2". I really don't know why.... Can
> > somebody
> > help me please?
> >
> > ************************************************** ********
> > This is the code-behind:
> >
> > Dim FileXML As New System.Xml.XmlDocument
> >
> > FileXML.Load("C:\Inetpub\wwwroot\err.xml")
> >
> >
> > ************************************************** ********
> > This is the XML error file:
> >
> > <?xml version="1.0"?>
> > <SOAP:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> > <SOAP:Body>
> > <SOAP:Fault>
> > <faultcode>SOAP:Client</faultcode>
> > <faultstring>Dati Mancanti</faultstring>
> > <detail>
> > <e:Protocollazione xmlns:e="WSProtocollo">
> > <message>
> > L'oggetto come dato non specificato
> > </message>
> > <errorcode>
> > 1001
> > </errorcode>
> > </e:Protocollazione>
> > </detail>
> > </SOAP:Fault>
> > </SOAP:Body>
> > </SOAP:Envelope>
> >
> > Thanks for help
> >
> > Jonathan Bagnani
>
>
>

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Russell | last post by:
Using Python 2.3 and ZSI 1.2 I am having problems getting information back from a test web service running on a PC on our LAN. The SOAP request details (from the .asmxfile) are as follows: ...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
0
by: Jonathan | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of them but this one it really is giving me terrible...
4
by: PaulF | last post by:
How do I identify all of the namespace / prefix pairs associated with an XML document I am reading? Thanks for any help. Paul
1
by: Matthew | last post by:
Using .NET 1.1 I trying to consume a web service that returns an integer and an array of type string which I declare and use line this Dim Results() As String Me.txtMain.Text =...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
9
by: Jaroslaw Zabiello | last post by:
I try to connect to web services (written in C#/.NET) with latest ZSI 2.0rc3 library. It just does not work. from ZSI.ServiceProxy import ServiceProxy wsdl =...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.