Thanks Sergey for your response.

I think its good idea to support the same syntax for the HTTP GET URL based
query string (without JAXRS). Please let me know when and which drop this
will be made available.

-Vinod



Sergey Beryozkin wrote:
> 
> Hi
> 
> Craig Muchinsky has enhanced the CXF JAXRS extension which allows for
> injecting individual query parameters into beans such that parameters can
> be injected into nested beans too, see [1] for more info 
> 
> here's a query sample :
> 
> /getPerson?sex=M&legalName.first=John&legalName.last=Doe&homeAddr.city=Reno&homeAddr.state=NV
> 
> and it will be injected into a Person bean with legalName.first &
> legalName.last to be injected into Person.Name bean.
> 
> So, as far as HTTP GET requests (with no JAXRS) are concerned, perhaps we
> can support a similar syntax so that the same 'query language' is used
> across the board ?
> 
> Cheers, Sergey
> 
> [1] https://issues.apache.org/jira/browse/CXF-2153 
> 
> 
> Vinod D-2 wrote:
>> 
>> Hello
>> 
>> I am using cxf 2.1.3 SOAP/HTTP a simple service say like the one in
>> wsdl_first samples with a method which takes two string params and return
>> a string value 
>> 
>> String sayHi(String param1, String param2) 
>> 
>> I am able to invoke such a method by using HTTP Get URL as
>> 
>> http://my-service/sayHi?param1=arg1&param2=arg2
>> 
>> and see expected result. 
>> 
>> I am not sure how if param1 and param2 were some complex types (mapping
>> to non primitive java objects), it can be supported using HTTP GET URL,
>> without necessarily using JAX-RS (Rest) binding. If it is possible can
>> someone please point me to an example. 
>> 
>> thanks very much.
>> -Vinod
>> 
>> 
>>       
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HTTP-Get-Request-Param-and-CXF-Service-tp24692753p24705083.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to