如何将部分soap响应转换为另一个soap请求? [英] How to convert a partial soap response to another soap request?

查看:82
本文介绍了如何将部分soap响应转换为另一个soap请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用travelport api进行航班搜索。我发送了lowfaresearchreq请求并收到了回复。现在我必须选择其中一个搜索结果发送给AirPriceReq请求



我尝试过:



我正在尝试为每个节点添加一个按钮,以便我可以选择特定节点转发到webservice请帮忙。这样做的正确方法是什么?

解决方案

我猜你得到的是xml / json格式的响应,你需要反序列化

响应对象它将进入像listofFilght这样的集合形式。



您在从listofFilght集合发送请求之前创建请求对象并获取航班详细信息。 ElementAt的()

I'm working on travelport api for flight search. I have sent the lowfaresearchreq request and received the response. now i have to select one of the search results to send to AirPriceReq request

What I have tried:

I'm trying to add a button with each node so that i can select particular node to forward to webservice please help. What is the correct way to do that??

解决方案

i guess you are getting response either in xml/json format, you need to Deserialize
that response into object it will come into the collection form like listofFilght.

you create request object before sending request from "listofFilght" collection and get flight detail by .ElementAt()


这篇关于如何将部分soap响应转换为另一个soap请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆