Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / May 2005

Tip: Looking for answers? Try searching our database.

reading XML, SOAP problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan [sbrodolo] - 21 Apr 2005 09:17 GMT
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
Pete Wood - 09 May 2005 22:32 GMT
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">

Signature

Pete Wood
Email me at  http://www.webserviceshelp.org  for more help
_________________________________________________________

> Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application
> and
[quoted text clipped - 46 lines]
>
> Jonathan Bagnani
Jonathan [sbrodolo] - 10 May 2005 08:08 GMT
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

> Hi Jonathan...
>
[quoted text clipped - 56 lines]
> >
> > Jonathan Bagnani
Jonathan [sbrodolo] - 10 May 2005 08:22 GMT
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

> > Hi Jonathan...
> >
[quoted text clipped - 56 lines]
> > >
> > > Jonathan Bagnani
Pete Wood - 18 May 2005 17:07 GMT
Sounds like you're wading through treacle Jonathan! Let me know if I can be
of further assistance...

Signature

Pete Wood
Contact me at  http://www.webserviceshelp.org  for more help
_________________________________________________________

> Hi Pete, thank you very much for your help, you have been extremely
> useful.
[quoted text clipped - 82 lines]
>> > >
>> > > Jonathan Bagnani

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.