(참고 : 나는 SOAP에 새로운 해요 그래서 분명 뭔가 누락 될 수 있습니다)루비 Savon/w : 여러 네임 스페이스로 SOAP 서비스에 이야기
이내 현재 생성 된 요청은 다음과 같습니다
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://service.com/services/base" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<tns:someOperation>
<tns:suppliedParameterInstances>
<tns:paramName>param_name</tns:paramName>
<tns:instanceName>?</tns:instanceName>
<tns:value>Value</tns:value>
</tns:suppliedParameterInstances>
</tns:someOperation>
</soapenv:Body>
</soapenv:Envelope>
을 그리고 알려진 작업 요청에서 내 참조 XML :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://service.com/services/base" xmlns:typ="http://type.service.com/types">
<soapenv:Header/>
<soapenv:Body>
<tns:someOperation>
<tns:suppliedParameterInstances>
<typ:paramName>param_name</typ:paramName>
<typ:instanceName>?</typ:instanceName>
<typ:value>"Value"</typ:value>
</tns:suppliedParameterInstances>
</tns:someOperation>
</soapenv:Body>
</soapenv:Envelope>
나는 WSDL을 할 수 있지만, Savon은 "TNS"을 따기해야하는지 나는 그것을 충분히 말할 읽는 방법을 모르는/" typ "(그리고 그것은 내 것이 아니에요. o 인터넷에 넘길 수는 없습니다.) 지옥, 나는이 질문에 이름을 붙이는 법을 알기에 SOAP을 잘 모릅니다 .... 어쨌든! 첫 번째 XML이 두 번째처럼 보일 때까지 Savon을 찌를 필요가 있습니다. 어떤 생각이나 내가 읽어야 할 것들의 이름?
이 질문에 대한 또 다른 대답이 표시되면 즉시이 질문을 복제하여 닫아야합니다. –
다른 질문에 대답이 없으므로 "닫을 수 없습니다". – Narfanator
@theTinMan : 질문 중복의 기준이 아닙니다. –