Announcement Announcement Module
Collapse
No announcement yet.
org.apache.xmlbeans.XmlException: error: Unexpected end of file after null Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Problem resolved. Sorry

    Comment


    • #3
      Problem

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

      Comment


      • #4
        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.

        Comment

        Working...
        X