cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mozahidone <>
Subject Sending XML input to CXF SOAP webservice
Date Tue, 05 Nov 2013 14:12:23 GMT
Hi guys,

My CXF webservice method receive XML input. The method is getApi:

package com.apro.web.webservice;
import javax.jws.WebParam;
import javax.jws.WebService;

import com.apro.web.service.UserService;

@WebService(endpointInterface = "com.apro.web.webservice.IUserWebService")
public class UserWebService {

	private UserService userService;
	public void setUserService(UserService userService) {
		this.userService = userService;
	public String getApi(@WebParam(name="name")String name){
		return userService.getApi(name);

The method works fine with String. But I need to input XML string.


View this message in context:
Sent from the cxf-user mailing list archive at

View raw message