1.使用gsoap打包解包soap協議
2.去掉gsoap通信部分。
3.測試gsoap與項目通信的融合。
4.一個請求對應一個響應測試通過。
2.去掉gsoap通信部分。
3.測試gsoap與項目通信的融合。
4.一個請求對應一個響應測試通過。
|
||||||||||||||||||||||
1.使用gsoap打包解包soap協議
2.去掉gsoap通信部分。 3.測試gsoap與項目通信的融合。 4.一個請求對應一個響應測試通過。 Feedbackhttp請求-------------------
POST /StockQuote HTTP/1.1 Host: www.stockquoteserver.com Content-Type: text/xml; charset="utf-8" Content-Length: nnnn SOAPAction: "Some-URI" <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <m:GetLastTradePrice xmlns:m="Some-URI"> <symbol>DIS</symbol> </m:GetLastTradePrice> </SOAP-ENV:Body> </SOAP-ENV:Envelope> http應答---------------- HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Content-Length: nnnn <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> <SOAP-ENV:Body> <m:GetLastTradePriceResponse xmlns:m="Some-URI"> <Price>34.5</Price> </m:GetLastTradePriceResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
|
||||||||||||||||||||||