You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/05/22 07:54:16 UTC
[jira] Commented: (CXF-615) create service from class can't set
operationInfo isOneWay rightly
[ https://issues.apache.org/jira/browse/CXF-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497719 ]
Freeman Fang commented on CXF-615:
----------------------------------
by my test, no matter build service from class or wsdl, both behavior is same and correct
> create service from class can't set operationInfo isOneWay rightly
> ------------------------------------------------------------------
>
> Key: CXF-615
> URL: https://issues.apache.org/jira/browse/CXF-615
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-RC
> Reporter: willem Jiang
> Assigned To: Freeman Fang
> Fix For: 2.0
>
>
> Running the hello_world sample I got these soap message for the greetMeOneWayResponse operation,
> Client
> POST /GreeterContext/GreeterPort HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: ""
> Cache-Control: no-cache
> Pragma: no-cache
> User-Agent: Java/1.5.0_11
> Host: localhost:9090
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Transfer-Encoding: chunked
> 111
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><greetMeOneWay xmlns:ns2="http://www.w3.org/2005/08/addressing/wsdl" xmlns="http://cxf.iona.com/test/greeter/types"><requestType>hello</requestType></greetMeOneWay></soap:Body></soap:Envelope>
> 0
> Server
> HTTP/1.1 200 OK
> Content-Type: text/xml
> SOAPAction: ""
> Transfer-Encoding: chunked
> Server: Jetty(6.1.2rc0)
> AF
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><greetMeOneWayResponse xmlns="http://cxf.iona.com/test/greeter" /></soap:Body></soap:Envelope>
> There should not be any greetMeOneWayResponse.
> If I specified the wsdlLocation in the implementor class, the server will not return the greetMeOneWayResponse.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.