Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Connect to web service with Java

$
0
0

 

Hello,

 

Has anyone tried to consume an MS CRM 4 webservice via Java?  We are trying to connect to the /MSCrmServices/2007/CrmService.asmx page and we receive error 401s.  The IIS log file shows this:

 

2008-09-25 17:51:59 W3SVC1 192.168.250.55 POST /MSCrmServices/2007/CrmService.asmx - 80 mydomain\myusername 192.168.250.1 Java/1.6.0_07 401 5 64

 

I know that if I open the web service page with a browser I get a 302 which is a redirect:

 

2008-09-25 17:55:25 W3SVC1 192.168.250.55 GET /MSCrmServices/2007/CrmService.asmx - 80 mydomain\myusername 192.168.250.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+MS-RTC+LM+8) 302 0 0

 

Has anyone successfully sent user credentials to CRM?

 

TIA.


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>