Hi,
i want to access the M$ CRM, too. I get the same 401 Unauthorized Execption.
Using: JBossWS 3.2.0 (nativ)
| Exception in thread "main" com.sun.xml.ws.client.ClientTransportException:
request requires HTTP authentication: Unauthorized
| at
com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:212)
| at
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149)
| at
com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
| at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
| at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
| at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
| at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
| at com.sun.xml.ws.client.Stub.process(Stub.java:248)
| at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
| at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
| at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
| at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
| at $Proxy24.retrieveMultiple(Unknown Source)
| at test.JBossWS.main(JBossWS.java:189)
|
I sniff the network for checking the chunking issue, but it is disabled.
| POST /MSCrmServices/2007/CrmService.asmx HTTP/1.1
| SOAPAction:
"http://schemas.microsoft.com/crm/2007/WebServices/RetrieveMultiple"
| Content-Type: text/xml;charset="utf-8"
| Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*;
q=.2
| User-Agent: JAX-WS RI 2.1.3-b02-
| Host: 10.10.10.1:3000
| Connection: keep-alive
| Content-Length: 413
| Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw==
|
| <?xml version='1.0' encoding='UTF-8'?>
| <S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
| <S:Body>
| <RetrieveMultiple
xmlns="http://schemas.microsoft.com/crm/2007/WebServices"
xmlns:ns2="http://schemas.microsoft.com/crm/2006/Query"
xmlns:ns3="http://schemas.microsoft.com/crm/2006/WebServices">
| <query>
| <ns2:EntityName>LEAD</ns2:EntityName>
| <ns2:ColumnSet/>
| </query>
| </RetrieveMultiple>
| </S:Body>
| </S:Envelope>
|
| HTTP/1.1 401 Unauthorized
| Content-Length: 51
| Content-Type: text/plain
| Server: Microsoft-IIS/6.0
| WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAEAAQADgAAAAFgomidBgBvxAJL2AAAAAAAAAAAKYApgBIAAAABQLODgAAAA9HAEEATABBAFgASQBTADQAAgAQAEcAQQBMAEEAWABJAFMANAABAA4ASgBVAFAASQBUAEUAUgAEABwAZwBhAGwAYQB4AGkAcwA0AC4AbABvAGMAYQBsAAMALABKAFUAUABJAFQARQBSAC4AZwBhAGwAYQB4AGkAcwA0AC4AbABvAGMAYQBsAAUAHABnAGEAbABhAHgAaQBzADQALgBsAG8AYwBhAGwABwAIAKilKVgeTMoBAAAAAA==
| X-Powered-By:
ASP.NET
| Date: Tue, 13 Oct 2009 16:00:53 GMT
|
| HTTP Error 401.1 - Unauthorized: Access is denied
| HTTP/1.1 401 Unauthorized
| Date: Tue, 13 Oct 2009 16:00:54 GMT
| Server: Microsoft-IIS/6.0
| WWW-Authenticate: Negotiate
| WWW-Authenticate: NTLM
| X-Powered-By:
ASP.NET
| X-AspNet-Version: 2.0.50727
| Cache-Control: private
| Content-Length: 0
|
Have any one an idea or link with a solution?
Greetz,
Clash
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260128#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...