Hi, 

If you remember, I had this error when I deployed
kandula services on axis:

And now... Some Services
·       InteropService (wsdl) 
o       commit 
o       rollback 
o       phase2Rollback 
o       readonly 
o       volatileAndDurable 
o       earlyReadonly 
o       earlyAborted 
o       replayAbort 
o       replayCommit 
o       retryPreparedCommit 
o       retryPreparedAbort 
o       retryCommit 
o       retryReplay 
o       preparedAfterTimeout 
o       lostCommitted 
o       participantClosed 
o       participantCompensated 
o       participantCanceled 
o       participantExit 
o       participantFault 
o       participantCompensationFault 
o       completionCommit 
o       completionRollback 
o       invalidProtocol 

·       TestSuite1 (wsdl) 
o       testReadonlyCommit 
o       testReadonlyRollback 
o       testRollback 
o       testPrepareCommit 
o       testPrepareRollback 
o       testEarlyCommit 
o       testEarlyRollback 
o       testMarkedRollbackCommit 
o       testMarkedRollbackRollback 
o       testCommitFailure 
o       testRollbackFailure 
o       justReturnOperation 
o       enlistXA_OKOnPrepareResourceOperation 
o       enlistXAExceptionOnPrepareResourceOperation 
o       markTransactionForRollbackOperation 
o       commitTransactionOperation 
o       rollbackTransactionOperation 
o       enlistXAExceptionOnCommitRollbackResourceOperation 
·       faultDispatcher (wsdl) 
AXIS error
Sorry, something seems to have gone wrong... here are
the details:
Exception - org.apache.axis.InternalException:
java.lang.Exception: Method 'process' does not match
any of the valid signatures for message-style service
methods


I fixed the axis error. I just moved all
/target/lib/*.jar files and kandula_*.jar to
catalina/shared/lib(and not to axis/WEB-INF/lib).I
only put interopibm.jar and test-suite1.jar  files to
axis/WEB-INF/lib and the error disappeared. However,
following the step number 5 of user-guide.txt i didn´t
solve the problem.

On the other hand, Test-suite1 works ok but I have a
problem about Interopibm, specifically in
InitiatorApp.java file. I followed the user-guide.txt
and I have an error on step number 8, when I update
InitiatorApp.java. The error is:

Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}hostname:portatilrdf

java.lang.NullPointerException
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
        at
javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at
org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)

I debugged the code and I realized that the error was
produced in begin() method

public void begin() throws Exception {
                ActivationStub stub = new ActivationStub(new
EndpointReference(
                        
"http://localhost:8081/axis/services/activationCoordinator";));
                System.out.println("DESPUES DEL ACTIVATIONSTUB");
                ctx =
stub.createCoordinationContext(ATCoordinator.COORDINATION_TYPE_ID);
AtCoord= "+ATCoordinator.COORDINATION_TYPE_ID);
                cps =
ctx.register(ATCoordinator.PROTOCOL_ID_COMPLETION, new
EndpointReference("http://localhost:8081/axis/services/completionInitiator";));
//I THINK HERE THE ERROR IS PRODUCED!! IN CPS
ASSIGNATION
                SetCoordCtxHandler.setCtx(ctx);
        }

My kandula.properties file is by default (
kandula.context=http://localhost:8081/axis/services/)
(I use tcpmon to redirect) and I use
"org.apache.kandula.geronimo.TxHandler" on
server-config.wsdd file. I changed to
"org.apache.kandula.coordinator.at.TxHandler" but the
problem continued :(, what's wrong? I don't know how
fix it. help!

For that reason, I can not test MyService.java (I
generated the wsdl file, stubs...) because it uses
InitiatorApp.java (begin() method) and I would have
the same problems.

Thanks in advance
Regards



                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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

Reply via email to