için ins0 ekler, ben aşağıdaki istek XML olsun:Savon yakut mücevher savon mücevher kullanma etiketleri
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl="URL"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ins0="SOME URL">
<soap:Body>
<ins0:Test xmlns="SOME URL">
</ins0:Test>
</soap:Body>
</soap:Envelope>
Ama bunun yerine olması gerekiyor:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wsdl="URL"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Test xmlns="SOME URL">
</Test>
</soap:Body>
</soap:Envelope>
Bildirimi ins0
çıkarıldı.
Herhangi bir öneriniz var mı?
http://stackoverflow.com/questions/6720720/how-to-stop-savon-from-adding-prefixes-to-soap-body –
o çalıştı Bkz ancak bir hata var: 'Sunucu tanımadı HTTP Üstbilgisi SOAPAction değerinin değeri: test.' Çünkü "Test" eylemini aldı ve küçültdü. –
Aslında, bu XML farkının hiçbir şeyi kırmadığını öğrendim, kod iyi çalışıyor. Ama birilerinin elses kodunu bozabilir. –