cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-615) create service from class can't set operationInfo isOneWay rightly
Date Mon, 30 Apr 2007 06:51:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

willem Jiang updated CXF-615:
-----------------------------

    Description: 
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.

  was:
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>

The should be any greetMeOneWayResponse here. 

If I specified the wsdlLocation in the implementor class, the server will not return the greetMeOneWayResponse.


> 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
>
> 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.


Mime
View raw message