axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Riches" <Matthew.Ric...@becta.org.uk>
Subject RE: AxisFault: Document root element is missing
Date Fri, 08 Jul 2005 14:18:16 GMT
It looks like some of your elements don't have a type, I know that we
are using V.Studio and axis and it is tricky to get the 2 interoperating
happily.

Hth



-----Original Message-----
From: Kumar [mailto:babloosony@gmail.com] 
Sent: 08 July 2005 06:01
To: axis-user@ws.apache.org; axis-dev@ws.apache.org
Subject: AxisFault: Document root element is missing

Hi All,

I have a web service developed using .NET SOAP Toolkit and when I try
to consume that service using AXIS 1.2.1 Final java client I am
getting below axis fault from the service . Now can anyone please tell
what am I missing here.

The request soap message that the client generates conforms to the
wsdl and still why the service complains with below axis fault :



WSDL
------------------------------------------------------------------------
-------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<definitions    xmlns:s1="http://amla.org/"
               xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
               xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
               xmlns:s="http://www.w3.org/2001/XMLSchema"
               xmlns:s0="http://mr.com/services/"
               xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
               xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
               xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
               targetNamespace="http://mr.com/services/"
               xmlns="http://schemas.xmlsoap.org/wsdl/">

 <types>

   <s:schema elementFormDefault="qualified"
               targetNamespace="http://mr.com/services/">
     <s:import namespace="http://amla.org/" />
     <s:element name="GLR">
       <s:complexType>
         <s:sequence>
           <s:element minOccurs="0" maxOccurs="1" name="request"
type="s1:LRRequest" />
         </s:sequence>
       </s:complexType>
     </s:element>
     <s:element name="GLRResponse">
       <s:complexType>
         <s:sequence>
           <s:element minOccurs="0" maxOccurs="1"
name="GLRResult" type="s1:LRResponse" />
         </s:sequence>
 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.clearswift.com
**********************************************************************



Mime
View raw message