The NullPointerException occurs in the RegistrationStub
--> return new 
EndpointReference(registerOperation(params).getCoordinatorProtocolService());

the problem is that the registerOperation(params) doesn't return a 
registerResponseType and because of that there is the nullPointerException.

>Please check whether the coordination context in AbstractParticipant
>has the correct epr for the registration service given in the JBoss 
>>coordination context (this is not the epr passed to the register method)

so although I am not completely sure what you mean I have checked the 
coordinationContext and the epr in the register method of the 
AbstractParticipant. The ctx seems to be ok and contains all the information 
send by the JBoss client. 

the following soapMessage was sent from the JBoss client to the kandula Web 
Service:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
<env:Header>
<wscoor:CoordinationContext 
xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor"; 
env:mustUnderstand="1">
<wscoor:Identifier>urn:-3f57fe6f:553:47694c80:2</wscoor:Identifier>
<wscoor:CoordinationType>http://schemas.xmlsoap.org/ws/2004/10/wsat</wscoor:CoordinationType>
<wscoor:RegistrationService>
<wsa:Address 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>http://sal:58080/xts/soap/RegistrationCoordinator</wsa:Address>
<wsa:ReferenceParameters 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
<wsarj:InstanceIdentifier 
xmlns:wsarj="http://schemas.arjuna.com/ws/2005/10/wsarj";>-3f57fe6f:553:47694c80:2</wsarj:InstanceIdentifier>
</wsa:ReferenceParameters>
</wscoor:RegistrationService>
</wscoor:CoordinationContext>
</env:Header>
<env:Body>
<ns1:checkForExistence xmlns:ns1="http://www.example.org/ND_NEW/";>
<in0>[EMAIL PROTECTED]</in0>
<in1>passwort</in1>
</ns1:checkForExistence>
</env:Body>
</env:Envelope>

after receiving the following message was sent to the registrationCoordinator 
by the kandula ws:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Header>
<wsa:MessageID 
soapenv:mustUnderstand="0">uuid:e907b520-ae52-11dc-ad9b-9ce2e198af1e</wsa:MessageID>
<wsa:To 
soapenv:mustUnderstand="0">http://sal:58080/xts/soap/RegistrationCoordinator</wsa:To>
<wsa:Action 
soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/10/wscoor/Register</wsa:Action>
<wsa:From soapenv:mustUnderstand="0">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:From>
</soapenv:Header>
<soapenv:Body>
<Register xmlns="http://schemas.xmlsoap.org/ws/2004/10/wscoor";>
<ProtocolIdentifier>http://schemas.xmlsoap.org/ws/2004/10/wsat/Durable2PC</ProtocolIdentifier>
<ParticipantProtocolService>
<wsa:Address xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addressing"; 
absoluteURI="true" genericURI="true" host="localhost" 
path="/ND_NEW/services/participant" port="8081" scheme="http" 
schemeSpecificPart="//localhost:8081/ND_NEW/services/participant" 
xsi:type="ns1:Address">http://localhost:8081/ND_NEW/services/participant</wsa:Address>
<wsa:ReferenceProperties>
<ns2:CallbackRef 
xmlns:ns2="http://ws.apache.org/kandula";>uuid:e8d337a0-ae52-11dc-ad9b-9ce2e198af1e</ns2:CallbackRef>
</wsa:ReferenceProperties>
<wsa:ReferenceParameters/>
</ParticipantProtocolService>
</Register>
</soapenv:Body>
</soapenv:Envelope>

The element that is missing is the callbackRef in the header which usually 
contains, but I might be wrong, the transactionIdentifier needed by the 
coordinator, right?

So it seems that the cause for the nullPointerException is not the missing 
referenceProperties element in the first message, but the participant can't
be registered by the coordinator anyways.

has anyone ever tried to use jboss and kandula? So from my point of view it 
shouldn't be a problem for jboss and kandula to work together because they both 
are based on the same protocol, right?

Thanks
Dominik

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to