Results 1 to 4 of 4

Thread: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null

  1. #1
    Join Date
    Jun 2007
    Posts
    28

    Default org.apache.xmlbeans.XmlException: error: Unexpected end of file after null

    Hello everybody.
    I have a problem while creating new project in soapUI and importing wsdl file from URL.
    I created my project based on airline sample project. I started my project using mvn jetty:run.
    I have this wsdl file in my url
    Code:
    −
    	<wsdl:definitions targetNamespace="http://www.palmagroup.com/mcell/definitions">
    −
    	<wsdl:types>
    −
    	<xsd:schema>
    <xsd:import namespace="http://www.palmagroup.com/mcell/schemas/messages" schemaLocation="messages.xsd"/>
    </xsd:schema>
    </wsdl:types>
    −
    	<wsdl:message name="GetGoodsRequest">
    <wsdl:part element="schema:GetGoodsRequest" name="GetGoodsRequest">
        </wsdl:part>
    </wsdl:message>
    −
    	<wsdl:message name="GetGoodsResponse">
    <wsdl:part element="schema:GetGoodsResponse" name="GetGoodsResponse">
        </wsdl:part>
    </wsdl:message>
    −
    	<wsdl:portType name="Mcell">
    −
    	<wsdl:operation name="GetGoods">
    <wsdl:input message="tns:GetGoodsRequest" name="GetGoodsRequest">
        </wsdl:input>
    <wsdl:output message="tns:GetGoodsResponse" name="GetGoodsResponse">
        </wsdl:output>
    </wsdl:operation>
    </wsdl:portType>
    −
    	<wsdl:binding name="McellBinding" type="tns:Mcell">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    −
    	<wsdl:operation name="GetGoods">
    <soap:operation soapAction=""/>
    −
    	<wsdl:input name="GetGoodsRequest">
    <soap:body use="literal"/>
    </wsdl:input>
    −
    	<wsdl:output name="GetGoodsResponse">
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    −
    	<wsdl:service name="McellService">
    −
    	<wsdl:port binding="tns:McellBinding" name="McellPort">
    <soap:address location="http://localhost:8080/Mcell/services"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Can anybody explain what is the problem?

  2. #2
    Join Date
    Jun 2007
    Posts
    28

    Default

    Problem resolved. Sorry

  3. #3
    Join Date
    Mar 2008
    Posts
    1

    Default Problem

    Hello. I was wondering what was the exact issue? i'm having the same problem.

  4. #4
    Join Date
    Jun 2007
    Posts
    28

    Default

    Look at your spring-ws-servlet.xml or something like that. There is a property
    Code:
    <property name="locationUri"
    					value="http://localhost:8080/mcellServer/services" />
    Thus every soap message should be sent on this URI, but my problem was that my application name was not mcellServer, and all messages was sent not in thos URI.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •