You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Johnson Ma (JIRA)" <ji...@apache.org> on 2007/03/08 03:16:24 UTC
[jira] Created: (CXF-453) JAXWS Java-Frist server side throws
SoapFault when @WebParam is missing for rpc/lit
JAXWS Java-Frist server side throws SoapFault when @WebParam is missing for rpc/lit
-----------------------------------------------------------------------------------
Key: CXF-453
URL: https://issues.apache.org/jira/browse/CXF-453
Project: CXF
Issue Type: Bug
Reporter: Johnson Ma
*Problem:For the Java-Frist mode, using the following example SEI class. the server will throws SOAPFault.
*SEI:
@SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC, use=javax.jws.soap.SOAPBinding.Use.LITERAL)
@WebService(name="Hello", targetNamespace="http://iona.com/")
public interface Hello {
@WebMethod(operationName="sayHi", exclude=false)
public void sayHi(
long l1
) ;
}
*Generated wsdl (which use arg0 as part name, that is correct according to jaxws spec when @WebParam is missing):
<wsdl:message name="sayHi">
<wsdl:part name="arg0" type="xsd:long">
</wsdl:part>
</wsdl:message>
<wsdl:message name="sayHiResponse">
</wsdl:message>
<wsdl:portType name="Hello">
<wsdl:operation name="sayHi">
<wsdl:input name="sayHi" message="tns:sayHi">
</wsdl:input>
<wsdl:output name="sayHiResponse" message="tns:sayHiResponse">
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
* Exception from server:
Invoking sayHi...
Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Parameter arg0 does not exist!
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:36)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
at org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObserver.java:63)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:110)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:48)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:654)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:614)
at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:116)
at $Proxy40.sayHi(Unknown Source)
at com.iona.HelloClient.main(HelloClient.java:69)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-453) JAXWS Java-Frist server side throws
SoapFault when @WebParam is missing for rpc/lit
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin updated CXF-453:
----------------------------
Fix Version/s: (was: 2.0-RC)
2.0
> JAXWS Java-Frist server side throws SoapFault when @WebParam is missing for rpc/lit
> -----------------------------------------------------------------------------------
>
> Key: CXF-453
> URL: https://issues.apache.org/jira/browse/CXF-453
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0-RC
> Reporter: Johnson Ma
> Assigned To: jimma
> Fix For: 2.0
>
>
> *Problem:For the Java-Frist mode, using the following example SEI class. the server will throws SOAPFault.
> *SEI:
> @SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC, use=javax.jws.soap.SOAPBinding.Use.LITERAL)
> @WebService(name="Hello", targetNamespace="http://iona.com/")
> public interface Hello {
> @WebMethod(operationName="sayHi", exclude=false)
> public void sayHi(
> long l1
> ) ;
> }
> *Generated wsdl (which use arg0 as part name, that is correct according to jaxws spec when @WebParam is missing):
> <wsdl:message name="sayHi">
> <wsdl:part name="arg0" type="xsd:long">
> </wsdl:part>
> </wsdl:message>
> <wsdl:message name="sayHiResponse">
> </wsdl:message>
> <wsdl:portType name="Hello">
> <wsdl:operation name="sayHi">
> <wsdl:input name="sayHi" message="tns:sayHi">
> </wsdl:input>
> <wsdl:output name="sayHiResponse" message="tns:sayHiResponse">
> </wsdl:output>
> </wsdl:operation>
> </wsdl:portType>
> * Exception from server:
> Invoking sayHi...
> Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Parameter arg0 does not exist!
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:36)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObserver.java:63)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:110)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:48)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:654)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:614)
> at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:116)
> at $Proxy40.sayHi(Unknown Source)
> at com.iona.HelloClient.main(HelloClient.java:69)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-453) JAXWS Java-Frist server side throws
SoapFault when @WebParam is missing for rpc/lit
Posted by "jimma (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jimma resolved CXF-453.
-----------------------
Resolution: Fixed
> JAXWS Java-Frist server side throws SoapFault when @WebParam is missing for rpc/lit
> -----------------------------------------------------------------------------------
>
> Key: CXF-453
> URL: https://issues.apache.org/jira/browse/CXF-453
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0-RC
> Reporter: Johnson Ma
> Assigned To: jimma
> Fix For: 2.0
>
>
> *Problem:For the Java-Frist mode, using the following example SEI class. the server will throws SOAPFault.
> *SEI:
> @SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC, use=javax.jws.soap.SOAPBinding.Use.LITERAL)
> @WebService(name="Hello", targetNamespace="http://iona.com/")
> public interface Hello {
> @WebMethod(operationName="sayHi", exclude=false)
> public void sayHi(
> long l1
> ) ;
> }
> *Generated wsdl (which use arg0 as part name, that is correct according to jaxws spec when @WebParam is missing):
> <wsdl:message name="sayHi">
> <wsdl:part name="arg0" type="xsd:long">
> </wsdl:part>
> </wsdl:message>
> <wsdl:message name="sayHiResponse">
> </wsdl:message>
> <wsdl:portType name="Hello">
> <wsdl:operation name="sayHi">
> <wsdl:input name="sayHi" message="tns:sayHi">
> </wsdl:input>
> <wsdl:output name="sayHiResponse" message="tns:sayHiResponse">
> </wsdl:output>
> </wsdl:operation>
> </wsdl:portType>
> * Exception from server:
> Invoking sayHi...
> Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Parameter arg0 does not exist!
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:36)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObserver.java:63)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:110)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:48)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:654)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:614)
> at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:116)
> at $Proxy40.sayHi(Unknown Source)
> at com.iona.HelloClient.main(HelloClient.java:69)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-453) JAXWS Java-Frist server side throws
SoapFault when @WebParam is missing for rpc/lit
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin updated CXF-453:
----------------------------
Component/s: Tooling
> JAXWS Java-Frist server side throws SoapFault when @WebParam is missing for rpc/lit
> -----------------------------------------------------------------------------------
>
> Key: CXF-453
> URL: https://issues.apache.org/jira/browse/CXF-453
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0-RC
> Reporter: Johnson Ma
> Assigned To: jimma
> Fix For: 2.0-RC
>
>
> *Problem:For the Java-Frist mode, using the following example SEI class. the server will throws SOAPFault.
> *SEI:
> @SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC, use=javax.jws.soap.SOAPBinding.Use.LITERAL)
> @WebService(name="Hello", targetNamespace="http://iona.com/")
> public interface Hello {
> @WebMethod(operationName="sayHi", exclude=false)
> public void sayHi(
> long l1
> ) ;
> }
> *Generated wsdl (which use arg0 as part name, that is correct according to jaxws spec when @WebParam is missing):
> <wsdl:message name="sayHi">
> <wsdl:part name="arg0" type="xsd:long">
> </wsdl:part>
> </wsdl:message>
> <wsdl:message name="sayHiResponse">
> </wsdl:message>
> <wsdl:portType name="Hello">
> <wsdl:operation name="sayHi">
> <wsdl:input name="sayHi" message="tns:sayHi">
> </wsdl:input>
> <wsdl:output name="sayHiResponse" message="tns:sayHiResponse">
> </wsdl:output>
> </wsdl:operation>
> </wsdl:portType>
> * Exception from server:
> Invoking sayHi...
> Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Parameter arg0 does not exist!
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:36)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObserver.java:63)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:110)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:48)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:654)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:614)
> at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:116)
> at $Proxy40.sayHi(Unknown Source)
> at com.iona.HelloClient.main(HelloClient.java:69)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-453) JAXWS Java-Frist server side throws
SoapFault when @WebParam is missing for rpc/lit
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin updated CXF-453:
----------------------------
Fix Version/s: 2.0-RC
Assignee: jimma
Affects Version/s: 2.0-RC
> JAXWS Java-Frist server side throws SoapFault when @WebParam is missing for rpc/lit
> -----------------------------------------------------------------------------------
>
> Key: CXF-453
> URL: https://issues.apache.org/jira/browse/CXF-453
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-RC
> Reporter: Johnson Ma
> Assigned To: jimma
> Fix For: 2.0-RC
>
>
> *Problem:For the Java-Frist mode, using the following example SEI class. the server will throws SOAPFault.
> *SEI:
> @SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC, use=javax.jws.soap.SOAPBinding.Use.LITERAL)
> @WebService(name="Hello", targetNamespace="http://iona.com/")
> public interface Hello {
> @WebMethod(operationName="sayHi", exclude=false)
> public void sayHi(
> long l1
> ) ;
> }
> *Generated wsdl (which use arg0 as part name, that is correct according to jaxws spec when @WebParam is missing):
> <wsdl:message name="sayHi">
> <wsdl:part name="arg0" type="xsd:long">
> </wsdl:part>
> </wsdl:message>
> <wsdl:message name="sayHiResponse">
> </wsdl:message>
> <wsdl:portType name="Hello">
> <wsdl:operation name="sayHi">
> <wsdl:input name="sayHi" message="tns:sayHi">
> </wsdl:input>
> <wsdl:output name="sayHiResponse" message="tns:sayHiResponse">
> </wsdl:output>
> </wsdl:operation>
> </wsdl:portType>
> * Exception from server:
> Invoking sayHi...
> Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Parameter arg0 does not exist!
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
> at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:36)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObserver.java:63)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:110)
> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:48)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:281)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:654)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:614)
> at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:114)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:65)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:168)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:152)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:116)
> at $Proxy40.sayHi(Unknown Source)
> at com.iona.HelloClient.main(HelloClient.java:69)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.