Hi Chamikara,

It works!!!
Really thanks for your help and your time.

Regards
Elodie


Chamikara Jayalath wrote:

Hi Elodie,

I could successfully run your code with a simple change. You have to add following line to the client code to give the TrnasportInProtocol.

clientOptions.setTransportInProtocol(Constants.TRANSPORT_HTTP);

I guess the reason for your 'Class Not Found' error is not having the jakarta-httpcore jar file in your classpath. Please add it.

Chamikara


On 8/9/06, *Mancinelli Elodie* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Chamikara,

    I checkout the axis2 last version and I keep your code corrected.
    Your code works but if I change the test : "if
    (sequenceReport!=null &&
    sequenceReport.getCompletedMessages().size()==1)" and not 3.
    I think it's ok for this one.

    Now I want to do the same thing not Anonymous but Addressable. I
    modify
    your code to do that. Can you try it? And tell me if it works for you.
    Because I meet a "Class not Found"  on HTTPService. This class was
    present in a precedent version of axis2.

    Really thanks for your help.

    Regards
    Elodie


    Chamikara Jayalath wrote:

    > Hi Elodie,
    >
    > See my comments below.
    >
    > On 8/4/06, *Mancinelli Elodie* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>> wrote:
    >
    >     Hi Chamikara,
    >
    >     I tested your client MTOMPingClient and it didn't terminate
    >     because the
    >     variable "complete" never taked its value to true.
    >
    >
    >
    > This was due to a mistake. I corrected the code. It should
    terminate
    > properly now.
    >
    >     Like the client
    >     didn't receive the server's response.
    >
    >     In TCPMon, I can see these messages:
    >     - Create Sequence and its response
    >     - Message with the acknowledgement
    >     - Terminate Sequence, and the OK
    >
    >     Markers ReplyTo and AcksTo equal to
    >     http://www.w3.org/2005/08/addressing/anonymous
    >     <http://www.w3.org/2005/08/addressing/anonymous>
    >
    >     To execute the client, I take the mar which is generate in
    the target
    >     repository. But I can't take the generates jars because they
    make me
    >     this error:
    >     - Deploying module : soapmonitor
    >     - Deploying module : addressing
    >     - Deploying module : sandesha2
    >     - StandardWrapper.Throwable
    >     java.lang.NoSuchMethodError:
> org.apache.axis2.i18n.Messages.addMessageBundle(Ljava/lang/String;Lorg/apache/axis2/i18n/MessageBundle;)V
    >             at
> org.apache.sandesha2.i18n.SandeshaMessageHelper.innit(SandeshaMessageHelper.java:36)
    >             at
    >     org.apache.sandesha2.SandeshaModule.init(SandeshaModule.java:56)
    >
    >     On this error, you tell me to check out the last version of mar
    >     because
    >     I have the last version.
    >     With a precedent version of jars, the error  disappears.
    >
    >
    >
    >
    > You seems to be using an old axis2 version. Please take a latest
    Axis2
    > checkout and build the webapp.
    >
    >
    >
    >     Do you know why thid test "if (sequenceReport!=null &&
    >     sequenceReport.getCompletedMessages ().size()==3)" is never
    past ?
    >
    >     Thanks a lot to help me.
    >
    >     Elodie
    >
    >







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

Reply via email to