AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.03.2011, 23:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM Online 2011 Web Services SOAP Sample now ready for Europe & Asia
Источник: http://blogs.msdn.com/b/crm/archive/...-amp-asia.aspx
==============

The recent code sample I published on Connecting to CRM Online 2011 Web Services using SOAP Requests Only was well received by many people however a few developers from Europe & Asia mentioned that they were getting (500) Internal Server Error when they were trying out the code. I then realized that CRM 2011 Web Service URLs had a different format in Europe & Asia which helped me to find the culprit.

I signed up for a CRMOnline European trial account and putting the SDK sample under Fiddler inspection revealed that it was a minor change within one of the XML fragments. That’s it, seriously!
urn:crm:dynamics.com to
urn:crm4:dynamics.com
Obviously crm4 is used in our European datacenter and crm5 is used in our Asian datacenter so I had to modify the code to use the appropriate URN address.
// Create the URN address of the format urn:crm:dynamics.com.
// Replace crm with crm4 for Europe & crm5 for Asia.
string URNAddress = "urn:crm:dynamics.com";
if (CRMUrl.IndexOf("crm4.dynamics.com") != -1)
URNAddress = "urn:crm4:dynamics.com";
if (CRMUrl.IndexOf("crm5.dynamics.com") != -1)
URNAddress = "urn:crm5:dynamics.com";
You can download the updated code sample here:
http://code.msdn.microsoft.com/CRM-O...vices-14913a16

All is well again!

Girish Raja







Источник: http://blogs.msdn.com/b/crm/archive/...-amp-asia.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: Convergence 2011 Concept Box Invitation Blog bot Dynamics CRM: Blogs 0 16.03.2011 19:11
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 2011 ~ Launch Time Blog bot Dynamics CRM: Blogs 0 12.01.2011 03:18
Microsoft Dynamics CRM Team Blog: Testing your Microsoft Dynamics CRM 2011 Apps Blog bot Dynamics CRM: Blogs 0 01.12.2010 03:14
Все о Microsoft Dynamics CRM: Как установить Microsoft Dynamics CRM 2011 Beta Blog bot Dynamics CRM: Blogs 0 31.10.2010 15:08
Microsoft Dynamics CRM Team Blog: Using Microsoft SQL Reporting Services with Microsoft CRM Online Blog bot Dynamics CRM: Blogs 0 02.02.2010 01:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 21:51.