cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-301) Refactor restful sample: remove the presence of wsdl from samples client code
Date Mon, 11 Dec 2006 07:42:23 GMT
     [ http://issues.apache.org/jira/browse/CXF-301?page=all ]

Jervis Liu closed CXF-301.
--------------------------


> Refactor restful sample: remove the presence of wsdl from samples client code
> -----------------------------------------------------------------------------
>
>                 Key: CXF-301
>                 URL: http://issues.apache.org/jira/browse/CXF-301
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>            Reporter: Jervis Liu
>         Assigned To: Jervis Liu
>
> Refactor restful sample: remove the presence of wsdl from samples client code. Like below
>         Service service = Service.create(qname);
>         service.addPort(qname, HTTPBinding.HTTP_BINDING, url);
>         Dispatch<Source> dispatcher = service.createDispatch(qname, Source.class,
>                                              Service.Mode.MESSAGE);
>         Map<String, Object> requestContext = dispatcher.getRequestContext();
>         requestContext.put(MessageContext.HTTP_REQUEST_METHOD, "PUT");
>         Source result = dispatcher.invoke(new StreamSource(new StringReader(poXML)));

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message