Http post deniyorum zaten ama mesela aşağıdaki request için hata dönüyor.Soap mesajı için http de farklı bir biçim yazmak gerekiyor sanırım halen çözemedim bu meseleyi.
Request
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pdb="http://pdb.turkcell.com.tr/pdbwebservice/pdbws">
<soapenv:Header>
<token xsi:type="gen:token" xmlns:gen="http://sdp.turkcell.com.tr/mapping/generated">
<sessionId xsi:type="xsd:string">sessionId==</sessionId>
</token>
</soapenv:Header>
<soapenv:Body>
<pdb:paymentListQuery soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<string xsi:type="xsd:string">Msisdn</string>
</pdb:paymentListQuery>
</soapenv:Body>
</soapenv:Envelope>
Response
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:5002200</faultcode>
<faultstring>No SOAPAction set in request</faultstring>
<faultactor>http://sdp.turkcell.com.tr/gateway</faultactor>
<detail>
<ns2:exceptionName xmlns:ns2="http://xml.apache.org/axis/">com.telenity.sdp.spgw.fault.SpgwFault</ns2:exceptionName>
<ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">mtgwpa03</ns3:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
More than one
|