That helped tremendously. I also noticed that my web service was
throwing a validation exception because one of the required response
elements was null. I'm a little surprised some sort of AxisFault was
passed back to the client.
Anyways, thanks for the help.
___
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 10:44 AM
To: axis-user@ws.apache.org
Subject: Re: Axis 1.2RC2 generating "Premature end of file" error
The WSDL is invalid for the following reasons:
1- You may not import a schema using . In this case, you
should use in a section:
http://abstractor.webservices.sfsltd.com";>
2- When using RPC style, your message part definitions must reference
types rather than elements.
- Anne
On Apr 11, 2005 9:46 AM, Jeremy Nix <[EMAIL PROTECTED]> wrote:
> I can't seem to figure out the cause of this error. Snooping the
> request/response, it appears that the response from the Axis server is
> invalid, but I'm not positive. Here's my WSDL, the snooped request,
> and the snooped response.
>
> WSDL:
>
> http://schemas.xmlsoap.org/wsdl/";
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:tns="http://abstractor.webservices.sfsltd.com";
> xmlns:xsd1="http://abstractor.webservices.sfsltd.com";
> targetNamespace="http://abstractor.webservices.sfsltd.com";
> name="Abstractor">
> http://abstractor.webservices.sfsltd.com";
> location="AbstractorTypes.xsd"/>
>
>
>
>
>
>
>
>
>
>
>
>
>transport="http://schemas.xmlsoap.org/soap/http"/>
>
>
>
> http://schemas.xmlsoap.org/soap/encoding/";
> namespace="http://abstractor.webservices.sfsltd.com"; use="encoded"/>
>
>
> http://schemas.xmlsoap.org/soap/encoding/";
> namespace="http://abstractor.webservices.sfsltd.com"; use="encoded"/>
>
>
>
>
>
> location="http://localhost/webservices/services/Abstractor"/>
>
>
>
>
> Snooped Request:
> POST /webservices/services/Abstractor HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related,
> text/*
> User-Agent: Axis/1.2RC2
> Host: localhost
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: "getTitleSearch"
> Content-Length: 716
>
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> s1
> :getTitleSearch
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>
xmlns:ns1="http://abstractor.webservices.sfsltd.com";> href="#id0"/> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> Password="[EMAIL PROTECTED]" Type="EMPLOYEE" UserName="MR. ABSTRACTOR"
> xsi:type="ns2:TypeAuth"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
>
xmlns:ns2="http://abstractor.webservices.sfsltd.com"/> oapenv:Envelope>
>
> Snooped Response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Date: Mon, 11 Apr 2005 13:40:14 GMT
> Connection: close
>
>
> ___
> Jeremy Nix
> Senior Application Developer
> Southwest Financial Services, LTD.
> (513) 621-6699 x1158
> www.sfsltd.com
>
>