cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mozahidone <mozahid...@gmail.com>
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.


Thanks.




--
View this message in context: http://cxf.547215.n5.nabble.com/Sending-XML-input-to-CXF-SOAP-webservice-tp5735954.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message