Announcement Announcement Module
Collapse
No announcement yet.
IWAB0135E An unexpected error has occurred when invoke webservice. 404 Not found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • IWAB0135E An unexpected error has occurred when invoke webservice. 404 Not found

    Hi,

    I have written simple web service using PayloadRootQNameEndpointMapping. Wsdl has generated as below

    Code:
    <?xml version="1.0" encoding="UTF-8" ?> 
    - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:schema="http://firstspringws.com/helloworld/schemas" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://firstspringws.com/helloworld/schemas">
    - <wsdl:types>
    - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:hr="http://firstspringws.com/helloworld/schemas" elementFormDefault="qualified" targetNamespace="http://firstspringws.com/helloworld/schemas">
    - <xs:element name="HelloWorldRequest">
    - <xs:complexType>
    - <xs:sequence>
      <xs:element name="requestMessage" type="xs:string" /> 
      </xs:sequence>
      </xs:complexType>
      </xs:element>
    - <xs:element name="HelloWorldResponse">
    + <xs:complexType>
    - <xs:sequence>
      <xs:element name="responseMessage" type="xs:string" /> 
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>
      </wsdl:types>
    - <wsdl:message name="HelloWorldResponse">
      <wsdl:part element="schema:HelloWorldResponse" name="HelloWorldResponse" /> 
      </wsdl:message>
    - <wsdl:message name="HelloWorldRequest">
      <wsdl:part element="schema:HelloWorldRequest" name="HelloWorldRequest" /> 
      </wsdl:message>
    - <wsdl:portType name="HelloWorld">
    - <wsdl:operation name="HelloWorld">
      <wsdl:input message="schema:HelloWorldRequest" name="HelloWorldRequest" /> 
      <wsdl:output message="schema:HelloWorldResponse" name="HelloWorldResponse" /> 
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="HelloWorldBinding" type="schema:HelloWorld">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
    - <wsdl:operation name="HelloWorld">
      <soap:operation soapAction="" /> 
    - <wsdl:input name="HelloWorldRequest">
      <soap:body use="literal" /> 
      </wsdl:input>
    - <wsdl:output name="HelloWorldResponse">
      <soap:body use="literal" /> 
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="HelloWorldService">
    - <wsdl:port binding="schema:HelloWorldBinding" name="HelloWorldPort">
      <soap:address location="http://localhost:9080/helloworld/" /> 
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    When I invoke service methhod from web service explorer in RAD, I am getting below error:

    IWAB0135E An unexpected error has occurred. 404 Not found.

    There is no exception logged. However, there is warning in the console as:

    [28/01/08 18:47:45:768 GMT] 0000002a EndpointNotFo W org.apache.commons.logging.impl.Jdk14Logger warn No endpoint mapping found for [SaajSoapMessage {http://firstspringws.com/helloworld/schemas}HelloWorldRequest]

    Any idea how to fix this error?

    Thanks,
    Sulabha

  • #2
    The wsdl attached in the last message, does not have soapaction. Can that be teh issue?
    I have used PayloadRootQNameEndpointMapping as below:

    <bean class="org.springframework.ws.server.endpoint.mapp ing.PayloadRootQNameEndpointMapping">
    <property name="mappings">
    <props>
    <prop key="{http://helloworld.test.com/}helloWorldRequest">helloWorldEndPoint</prop>
    </props>
    </property>
    <property name="interceptors">
    <bean class="org.springframework.ws.server.endpoint.inte rceptor.PayloadLoggingInterceptor" />
    </property>
    </bean>
    Any help???

    Comment

    Working...
    X