PHP + Sabre Web服务 [英] PHP + Sabre Web services

查看:60
本文介绍了PHP + Sabre Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在尝试在我的一个php应用程序中使用saber web服务。



但是我很困惑如何实现它。



我在谷歌上做了很多研发但仍未获得结果。



有没有解决方案?请指导。



先谢谢。

解决方案

Hi Milan:



我也正在撞击佩剑墙。我成功地将cURL用于另一个Web服务,并认为这对Sabre也有用。我很快发现这里不起作用了。



幸运的是我确实发现了一个使用不同方法的博客文章,并且它有效!尽管许多人评论过要求使用SessionCreateRQ的样本,但作者还没有提供。所以我写了一篇自己的博客文章,里面有一个完整的例子,加上对原版课程的一些小调整。你可以在以下网址找到:



PHP中的Sabre Web服务 [ ^ ]



我希望这会有所帮助。

- AAA

Hello,

I am trying to using sabre web service in one of my php application.

But I am confuse how to implement it.

I done lots of R & D on google but still not get result.

Has anyone solution ? please guide.

Thanks in Advance.

解决方案

Hi Milan:

I was banging my head against the Sabre wall as well. I'd successfully used cURL for another web service, and figured that's what would work for Sabre as well. I quickly found that wasn't going to work here.

Luckily I did find a blog post which used a different approach, and it worked! Although many people had commented asking for a sample with SessionCreateRQ, the author had not provided it. So I wrote my own blog post with a complete example, plus a few minor tweaks to the original class. You can find it all at:

Sabre Web Services in PHP[^]

I hope this helps.
- AAA


这篇关于PHP + Sabre Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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