2012-02-28 3 views
0

내가 파이썬 비눗물이 적절한 배트의 XML 요청을 만들려고에 문제가 있어요을 대상으로수정 비눗물 요청은 SOAP

<?xml version="1.0" encoding="UTF-8"?> 
<SOAP-ENV:Envelope xmlns:ns0="http://service.example.at/gateway/v6.00" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> 
    <SOAP-ENV:Header/> 
    <ns1:Body> 
     <ns0:Service> 
      <ns0:Service> 
      <ns0:SessionID></ns0:SessionID> 
      <ns0:UserID>[email protected]</ns0:UserID> 
      </ns0:Service> 
     </ns0:Service> 
    </ns1:Body> 
</SOAP-ENV:Envelope> 

을 그리고 이것은 WebService에 무엇을 기대하고있다 : 무엇 내 비눗물 샌드

<?xml version="1.0" encoding="UTF-8"?> 
<GATEWAY xmlns="urn:service-example-at:gateway:v4-00"> 
    <Service> 
     <checkIfExists> 
      <SessionID></SessionID> 
      <UserID>test</UserID> 
     </checkIfExists> 
    </Service> 
</GATEWAY> 

내 질문 :

  • 을 나는 SOAP-ENV을 변경할 수 있습니다 방법 : 봉투 -> GATEWAY 내가 NS0을 네임 스페이스의 NS1을 제거하는 방법
  • ? 당신이 정말로 XML 요청 그냥 문자열 템플릿이기 때문에 쉽게 요청 생성기를 직접 작성 할 수 있습니다 WSDL 및 물건에 대해 걱정하지 않는 경우
  • 어떻게 몸을

답변

0

을 제거 할 수 있습니다. 그게 내 비누 요구에 대한 did입니다.

+0

죄송합니다. 그러나 이것은 선택 사항이 아닙니다. WSDL 서비스는 정말 거대합니다 :-) – user966660