[JBoss Web Services Users] - Re: JAX-WS Web Service Authentication (NTLM) against a MS CR
by clashboy
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#4260128
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260128
16 years, 8 months
[jBPM Users] - event listener expression
by theSourpuss
Hi,
=== Environment ==============================
- jBPM Version : 4.1
- JDK : 1.6
- Configuration : SeamConfiguration/SpringConfiguration
=== Process ==================================
<on event="end">
| <event-listener expr="#{processEndLogActivityHandler}">
| <property name="processEndStatus"><string value="successful"/></property>
| </event-listener>
| </on>
=== Stacktrace ================================
java.lang.NullPointerException
at org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:81)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:637)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:597)
at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:398)
at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:61)
at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:35)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.SeamTransactionInterceptor.execute(SeamTransactionInterceptor.java:40)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.signalExecutionById(ExecutionServiceImpl.java:84)
=== Problem description =========================
According to jbpdl-4.0.xsl an event-listener can have an 'expr' attribute instead of an 'class' attribute. But why I get an exception if I use the 'expr' attribute. The 'expr' works fine in java and custom activities.
As I have seen it is not considered in EventListenerBinding->JpdlParser->parseObjectDescriptor(...)
Am I right, or is it in any way possible to use expression here?
kind regards,
tony
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260108#4260108
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260108
16 years, 8 months