2014-11-03 2 views
0
client = Savon.client(wsdl: "http://localhost:8080/soap_test/services/StationDirectorySoapServerPort?wsdl") 

와 Savon의 SOAP 요청의 요청 및 응답 헤더를 얻기 위해 내가 할 요청 SOAP 서비스방법이 호출을 사용하여 레일

client.operations 

@message ="xml input" 
response = client.call :get_state, xml: @message 

방법 Savon 클라이언트 및 응답 객체 요청 및 응답의 헤더를 얻을? 이 요청에

답변

0

response = client.call :get_state, xml: @message 

당신이 호출 할 수

response.header 

response.body 

를 서버에서 답을 얻을 ..