s***@yahoo.co.in
2006-08-09 06:59:58 UTC
Hi all,
I am unable to generate a web service from a wsdl file.
I am getting stuck with the exception : ( 404 ) Not Found .
I used this simple wsdl file.
This file is validated.
I couldn't understand why i am ending up with 404 error.
can anyone help me .....?
The WSDL file I used is
---------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:impl="http://security" xmlns:intf="http://security" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://security">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://security" xmlns:impl="http://security" xmlns:intf="http://security" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<element name="sayStatusResponse">
<complexType>
<sequence>
<element name="sayStatusReturn" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="sayStatus">
<complexType>
<sequence/>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="sayStatusResponse">
<wsdl:part element="impl:sayStatusResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="sayStatusRequest">
<wsdl:part element="impl:sayStatus" name="parameters"/>
</wsdl:message>
<wsdl:portType name="Sairam">
<wsdl:operation name="sayStatus">
<wsdl:input message="impl:sayStatusRequest" name="sayStatusRequest"/>
<wsdl:output message="impl:sayStatusResponse" name="sayStatusResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SairamSoapBinding" type="impl:Sairam">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayStatus">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayStatusRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sayStatusResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SairamService">
<wsdl:port binding="impl:SairamSoapBinding" name="Sairam">
<wsdlsoap:address location="https://localhost:9443/SecondTwo/services/Sairam"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
---------------------------------------------------------------------
Here SecondTwo is the name of WebProject that I had built.
When I tested with TestClient.jsp I could see the following exception
exception: ( 404 ) Not Found
In the Console the message is
---------------------------------------
faultCode: HTTP
faultString: ( 404 ) Not Found
faultActor: http://SATEESH:9080
faultDetail:
null: WSWS3192E: Error: return code: ( 404 ) Not Found
Error 404: SRVE0190E: File not found: /services/Sairam
.
( 404 ) Not Found
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.processStatusCode(HTTPSender.java:546)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:463)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:274)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:727)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:648)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:609)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:446)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:732)
at security.SairamSoapBindingStub.sayStatus(SairamSoapBindingStub.java:86)
at security.SairamProxy.sayStatus(SairamProxy.java:64)
at com.ibm._jsp._Result._jspService(_Result.java:142)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1528)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[8/9/06 10:11:38:500 IST] 00000122 WSChannelFram A CHFW0020I: The Transport Channel Service has stopped the Chain labeled chain_0.
------------------------------------------------
I am unable to generate a web service from a wsdl file.
I am getting stuck with the exception : ( 404 ) Not Found .
I used this simple wsdl file.
This file is validated.
I couldn't understand why i am ending up with 404 error.
can anyone help me .....?
The WSDL file I used is
---------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:impl="http://security" xmlns:intf="http://security" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://security">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://security" xmlns:impl="http://security" xmlns:intf="http://security" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<element name="sayStatusResponse">
<complexType>
<sequence>
<element name="sayStatusReturn" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="sayStatus">
<complexType>
<sequence/>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="sayStatusResponse">
<wsdl:part element="impl:sayStatusResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="sayStatusRequest">
<wsdl:part element="impl:sayStatus" name="parameters"/>
</wsdl:message>
<wsdl:portType name="Sairam">
<wsdl:operation name="sayStatus">
<wsdl:input message="impl:sayStatusRequest" name="sayStatusRequest"/>
<wsdl:output message="impl:sayStatusResponse" name="sayStatusResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="SairamSoapBinding" type="impl:Sairam">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sayStatus">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="sayStatusRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sayStatusResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SairamService">
<wsdl:port binding="impl:SairamSoapBinding" name="Sairam">
<wsdlsoap:address location="https://localhost:9443/SecondTwo/services/Sairam"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
---------------------------------------------------------------------
Here SecondTwo is the name of WebProject that I had built.
When I tested with TestClient.jsp I could see the following exception
exception: ( 404 ) Not Found
In the Console the message is
---------------------------------------
faultCode: HTTP
faultString: ( 404 ) Not Found
faultActor: http://SATEESH:9080
faultDetail:
null: WSWS3192E: Error: return code: ( 404 ) Not Found
Error 404: SRVE0190E: File not found: /services/Sairam
.
( 404 ) Not Found
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.processStatusCode(HTTPSender.java:546)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:463)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:274)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:727)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:648)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:609)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:446)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:732)
at security.SairamSoapBindingStub.sayStatus(SairamSoapBindingStub.java:86)
at security.SairamProxy.sayStatus(SairamProxy.java:64)
at com.ibm._jsp._Result._jspService(_Result.java:142)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:94)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1528)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[8/9/06 10:11:38:500 IST] 00000122 WSChannelFram A CHFW0020I: The Transport Channel Service has stopped the Chain labeled chain_0.
------------------------------------------------