axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sathya Raghunathan" <pappu.raghunat...@gmail.com>
Subject Re: Getting guththila exception
Date Fri, 21 Sep 2007 09:37:55 GMT
Hi I changed that,

I am again getting the same error message.

But if you check the logs, it is looking for the operationName using
the soapAction (soap_action_disp.c(109) )

Let me know if soapAction has got something to do with the
operationName, as i mentioned in the last mail.

I read in apache home page about the 4 dispatchers. But i didnot
understand much about it. What i feel is, this logs looks exactly like
how it is mentioned there.

Let me know what i should do about the soapAction? Should i modify it
in the WSDL file?

Thanks
Sathya

[Fri Sep 21 15:01:32 2007] [debug] phase.c(195) Invoke the handler
soap_message_body_based_dispatcher within the phase Dispatch

[Fri Sep 21 15:01:32 2007] [debug] soap_body_disp.c(217) Checking for
operation using SOAP message body's first child's local name :
inputMessage

[Fri Sep 21 15:01:32 2007] [debug] phase.c(195) Invoke the handler
addressing_based_dispatcher within the phase Dispatch
[Fri Sep 21 15:01:32 2007] [debug] phase.c(195) Invoke the handler
soap_action_based_dispatcher within the phase Dispatch

[Fri Sep 21 15:01:32 2007] [debug] soap_action_disp.c(109) Checking
for operation using SOAPAction :
http://www.abnamro.com/paymentrouter#parseMessage

[Fri Sep 21 15:01:32 2007] [debug] engine.c(571) Invoking phase PostDispatch
[Fri Sep 21 15:01:32 2007] [debug] phase.c(195) Invoke the handler
dispatch_post_conditions_evaluator within the phase PostDispatch
[Fri Sep 21 15:01:32 2007] [info]  Operation Not found. Endpoint
reference is : http://127.0.0.1:9090/axis2/services/parseMessage
[Fri Sep 21 15:01:32 2007] [debug] engine.c(571) Invoking phase MessageOut
[Fri Sep 21 15:01:32 2007] [debug] phase.c(195) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Fri Sep 21 15:01:32 2007] [info]  Request served in 0.006 seconds

                                   130,1         Bot


On 9/21/07, Dimuthu Gamage <dimuthuc@gmail.com> wrote:
> Hi Sathya,
>
> I can show you one error. i.e. paramerterClass paramer in the
> services.xmlshould contain name of the .so of your service.
>
> so your services.xml should be changed to following,
>
> <service name="ParseMessage">
> <parameter name="ServiceClass">parser</parameter>
> <operation name="parseMessage"/>
> </service>
>
> Thanks
> Dimuthu
>
> On 9/21/07, Sathya Raghunathan <pappu.raghunathan@gmail.com> wrote:
> >
> > Hi,
> >
> > Thanks for all of your help. They were quite useful.
> >
> > My Services.xml is
> > <!-- This file was auto-generated from WSDL -->
> > <!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47
> > LKT) -->
> > <service name="ParseMessage">
> > <parameter name="ServiceClass">ParseMessage</parameter>
> > <operation name="parseMessage"/>
> > </service>
> >
> > I copied this and the libparser.so to $AXIS2C_HOME/services under a folder
> > called parseMessage.
> >
> > In the browser, if i give http://localhost:9090/soap, it is listing the
> > operation.
> >
> > In the wsdl the soapAction style was rpc, but i changed it to binding
> > because code generator gave error for that.
> >
> > After changing that the code was generated properly. I have a doubt after
> > this.
> >
> > If u look at the soapAction from wsdl (pasted below), it is something like
> > http://www.abnamro.com/paymentrouter#parseMessage
> >
> > Has this, got something to do with the error? Should this match with the
> > uri i am giving? I gave the uri as
> > http://localhost:9090/axis2/services/parseMessage
> >
> > I am getting this doubt because i am comparing my wsdl with
> > calculator.wsdl, where in soapAction, http://localhost/axis/services is
> > present
> >
> > Please clarify
> >
> > Thanks
> > Sathya
> >
> > <binding name="ParseMessageBinding" type="tns:ParseMessagePortType">
> >  <SOAP:binding style="rpc"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> >
> >  <operation name="parseMessage">
> >   <SOAP:operation style="binding" soapAction="
> > http://www.abnamro.com/paymentrouter#parseMessage"/>
> >   <input>
> >      <SOAP:body parts="inputMessage" use="literal" namespace="
> > http://www.abnamro.com/paymentrouter"/>
> >   </input>
> >   <output>
> >      <SOAP:body parts="pInterchange" use="literal" namespace="
> > http://www.abnamro.com/paymentrouter"/>
> >   </output>
> >  </operation>
> > </binding>
> >
> >
> >
> >
> >
> >
> > On 9/21/07, Dimuthu Gamage <dimuthuc@gmail.com> wrote:
> > >
> > > Hi Sathya,
> > > Did you put the operations in the services.xml. You can generate the
> > > services.xml for your service by giving -sd as the option from the
> > > codegen tool.
> > >
> > > Thanks
> > > Dimuthu
> > >
> > > On 9/20/07, Sathya Raghunathan <pappu.raghunathan@gmail.com> wrote:
> > > >
> > > > Yes, sorry i missed to check that last time.  I changed the link again
> > > > and it worked, Thanks
> > > >
> > > > Now, i am facing another new error after sending a message.
> > > >
> > > > Operation Not found. Endpoint reference is :
> > > > http://127.0.0.1:9090/axis2/services/parseMessage
> > > >
> > > > Client log says
> > > > "AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP"
> > > >
> > > > What should i check for?
> > > >
> > > > Thanks
> > > > Sathya
> > > >
> > > > On 9/20/07, Dimuthu Gamage <dimuthuc@gmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > > Please check with
> > > > > ldd axis2_http_server
> > > > > and check what version of the libxml2 is loaded.
> > > > >
> > > > > Thanks
> > > > > Dimuthu
> > > > >
> > > > > On 9/20/07, Sathya Raghunathan <pappu.raghunathan@gmail.com>
wrote:
> > > > > >
> > > > > > Hi
> > > > > >
> > > > > > I installed libxml2.so, still i am getting the problem when
i run
> > > > > > the binary
> > > > > >
> > > > > > ls -l /usr/lib/libxml2.so
> > > > > >
> > > > > > lrwxrwxrwx    1 root     root           32 Sep 20 16:20
> > > > > > /usr/lib/libxml2.so ->
> > > > > >  /usr/local/lib/libxml2.so.2.6.23
> > > > > >
> > > > > > "./axis2_http_server: relocation error:
> > > > > >
> /home/sathya/axis2c/axis2c-bin-1.0.0-linux/lib/libaxis2_parser.so.0:
> > > > > > undefined symbol: xmlReaderForFile"
> > > > > >
> > > > > > If i say nm i can see that symbol
> > > > > >
> > > > > > [root@CHNMCT63202 lib]# nm libxml2.so | grep xmlReaderForFile
> > > > > > 000c16b8 T xmlReaderForFile
> > > > > >
> > > > > > What else could be the problem
> > > > > >
> > > > > > Thanks
> > > > > > Sathya
> > > > > >
> > > > > > On 9/20/07, Sathya Raghunathan <pappu.raghunathan@gmail.com>
> > > > > > wrote:
> > > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > In my usr/lib, there are libxml2.so.2.5.10,
> > > > > > > /usr/lib/libxml2.so.2, /usr/lib/libxml2.a
> > > > > > > I am not sure which so, the binary would use. If this is
old
> > > > > > > version, i will try to download and see
> > > > > > > Also, while doing a building the source I am getting an
error
> > > > > > > called XML_PARSE_RECOVER undeclared error message.
> > > > > > >
> > > > > > > I check your website for solution and got that i need to
> > > > > > > download the file from apache site if this is not present
in
> > > > > > > /usr/include/libxml2
> > > > > > >
> > > > > > > Let me know from where i can download the header file or
the
> > > > > > > library?
> > > > > > >
> > > > > > > Thanks
> > > > > > > Sathya
> > > > > > >
> > > > > > > On 9/20/07, Samisa Abeysinghe < samisa@wso2.com>
wrote:
> > > > > > > >
> > > > > > > > Sathya Raghunathan wrote:
> > > > > > > > > Should i rebuild the source again with --enable-libxml2=yes
> > > > > > > > > --enable-guththila=no??
> > > > > > > > >
> > > > > > > > > I am not using binary version because i got the
error
> > > > > > > > message
> > > > > > > > > "relocation error: /home/sathya/axis2c/axis2c-
> > > > > > > > > bin-1.0.0-linux/lib/libaxis2_parser.so.0: undefined
symbol:
> > > > > > > > > xmlReaderForFile"
> > > > > > > > You get this error becuase you do not have libxml2
on your
> > > > > > > > system or
> > > > > > > > because your libxml2 version is old.
> > > > > > > > I am using libxml2 version 2.6.23
> > > > > > > >
> > > > > > > > Samisa...
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Let me know if i need to rebuild the axis source
with the
> > > > > > > > above
> > > > > > > > > configuration
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > > Sathya
> > > > > > > > >
> > > > > > > > > On 9/20/07, *Sathya Raghunathan* <
> > > > > > > > pappu.raghunathan@gmail.com
> > > > > > > > > <mailto: pappu.raghunathan@gmail.com>>
wrote:
> > > > > > > > >
> > > > > > > > >     I used both options as yes when i built the
source.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >     On 9/20/07, *Dimuthu Gamage* < dimuthuc@gmail.com
> > > > > > > > >     <mailto: dimuthuc@gmail.com>> wrote:
> > > > > > > > >
> > > > > > > > >         Hi,
> > > > > > > > >
> > > > > > > > >         You can use libxml instead of xml as
the xml parser.
> > > > > > > > If you
> > > > > > > > >         are building from axis2 source configure
it with the
> > > > > > > > option
> > > > > > > > >         --enable-libxml2=yes --enable-guththila=no
 (which
> > > > > > > > is the
> > > > > > > > >         default configuration)
> > > > > > > > >         Or if you are using binary , use the
> > > > > > > > libaxis2_libxml2.so (That
> > > > > > > > >         is put that in the LD_LIBRARY_PATH)
> > > > > > > > >
> > > > > > > > >         Thanks
> > > > > > > > >         DImuthu
> > > > > > > > >
> > > > > > > > >         On 9/20/07, *Sathya Raghunathan* <
> > > > > > > > pappu.raghunathan@gmail.com
> > > > > > > > >         <mailto: pappu.raghunathan@gmail.com
>> wrote:
> > > > > > > > >
> > > > > > > > >             Hi Dimuthu,
> > > > > > > > >
> > > > > > > > >             Thanks for helping me solve the segmentation
> > > > > > > > fault. I
> > > > > > > > >             followed the calculator example.
But now i am
> > > > > > > > getting
> > > > > > > > >             another error called
> > > > > > > > >
> > > > > > > > >              "Throws guththila_exception
> > > > > > > > guththila_xml_pull_parser.c
> > > > > > > > >             250."
> > > > > > > > >
> > > > > > > > >             Also it looks like its going in an
infinite
> > > > > > > > loop. When I
> > > > > > > > >             went to guththila_xml_pull_parser.c
line 250, i
> > > > > > > > checked
> > > > > > > > >             the if condition
> > > > > > > > >                else  if (((parser->_next)
> (parser->last))
> > > > > > > > >                                       &&
> > > > > > > > guththila_read(environment,
> > > > > > > > >             parser))
> > > > > > > > >                 {
> > > > > > > > >                     if (eof)
> > > > > > > > >                         return -1;
> > > > > > > > >                     else
> > > > > > > > >                         guththila_exception(p_FILE,
LINE,
> > > > > > > > >             GUTHTHILA_ERROR_UNEXPECTED_EOF
> > > > > > > > >             );
> > > > > > > > >                 }
> > > > > > > > >
> > > > > > > > >             Is there anything wrong with the
input message
> > > > > > > > again? I am
> > > > > > > > >             not able to proceed beyond this.
I am attaching
> > > > > > > > the client
> > > > > > > > >             code. I tried an input message with
a "\n", and
> > > > > > > > without a
> > > > > > > > >             "\n" at the end. Both gives a problem.
> > > > > > > > >
> > > > > > > > >             Please help me.
> > > > > > > > >
> > > > > > > > >             Thanks
> > > > > > > > >             Sathya
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> ---------------------------------------------------------------------
> > > > > > > > >             To unsubscribe, e-mail:
> > > > > > > > >             axis-c-user-unsubscribe@ws.apache.org
> > > > > > > > >             <mailto: axis-c-user-unsubscribe@ws.apache.org>
> > > > > > > > >             For additional commands, e-mail:
> > > > > > > > >             axis-c-user-help@ws.apache.org
> > > > > > > > >             <mailto: axis-c-user-help@ws.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Samisa Abeysinghe : WSO2 WSF/PHP
> > > > > > > >
> "http://wso2.org/projects/wsf/php?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework%2FPHP&nbsp;-&nbsp;Open&nbsp;source&nbsp;PHP&nbsp;extention&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services&nbsp;in&nbsp;PHP
> > > > > > > >
> > > > > > > >
> <http://wso2.org/projects/wsf/php?WSO2%C2%A0Web%C2%A0Services%C2%A0Framework%2FPHP%C2%A0-%C2%A0Open%C2%A0source%C2%A0PHP%C2%A0extention%C2%A0for%C2%A0providing%C2%A0and%C2%A0consuming%C2%A0Web%C2%A0services%C2%A0in%C2%A0PHP>
> > > > > > > > "
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > axis-c-user-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message