You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alan Aguia <aa...@yahoo.com> on 2006/03/07 17:43:20 UTC
Return problem
Hi Im having the following problem after I return an OMElement on the server. The server receives de OMElement, and process it without any problema but when the OMElement goes back to the client I receive this
org.apache.axis2.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
I dont know if mod_jk is the problem but I completely lost.
Thank you for any help.
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
Re: Return problem
Posted by Jeff Greif <je...@gmail.com>.
Tcpmon is just a proxy whose traffic is displayed. You can run tcpmon
on the local machine of the client. Have it listen on any port of
your choice, forward to port 80 on the server, and have the client
program use tcpmon's input port. You can't do this so easily with the
soap monitor.
Jeff
On 3/8/06, Alan Aguia <aa...@yahoo.com> wrote:
>
> Hi, the problem is that if I use tcpmon I have to use a port that is no
> avaliable because of the firewall the only avaliable port is that machine is
> 80. So Im using port 80 to get to the service. Im using an asycronous web
> service and I dont kwno how to use soap monitor in this case if I dont have
> control in the server side.
> Thanks
>
> robert lazarski <ro...@gmail.com> wrote:
> Try putting tcpmon or the soap monitor applet in between the service and the
> client. That will isolate whether axis2 is placing '-' in the request,
> apache is, etc. Another idea is to use the logging module that comes with
> axis2 . IOW, you have to somehow isolate for sure where the wrong char is
> comming from.
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
>
> O n 3/7/06, Alan Aguia <aa...@yahoo.com> wrote:
> >
> >
> > Hi Im having the following problem after I return an OMElement on the
> server. The server receives de OMElement, and process it without any
> problema but when the OMElement goes back to the client I receive this
> > org.apache.axis2.om.OMException:
> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
> character '-' (code 45) in prolog; expected '<'
> > at [row,col {unknown-source}]: [1,1]
> > I dont know if mod_jk is the problem but I completely lost.
> >
> > Thank you for any help.
> >
> > ________________________________
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
> >
>
>
>
>
>
> ________________________________
> Yahoo! Mail
> Bring photos to life! New PhotoMail makes sharing a breeze.
>
>
Re: Return problem
Posted by Alan Aguia <aa...@yahoo.com>.
Hi, the problem is that if I use tcpmon I have to use a port that is no avaliable because of the firewall the only avaliable port is that machine is 80. So Im using port 80 to get to the service. Im using an asycronous web service and I dont kwno how to use soap monitor in this case if I dont have control in the server side.
Thanks
robert lazarski <ro...@gmail.com> wrote:
Try putting tcpmon or the soap monitor applet in between the service and the client. That will isolate whether axis2 is placing '-' in the request, apache is, etc. Another idea is to use the logging module that comes with axis2 . IOW, you have to somehow isolate for sure where the wrong char is comming from.
HTH,
Robert
http://www.braziloutsource.com/
On 3/7/06, Alan Aguia <aa...@yahoo.com> wrote: Hi Im having the following problem after I return an OMElement on the server. The server receives de OMElement, and process it without any problema but when the OMElement goes back to the client I receive this
org.apache.axis2.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1]
I dont know if mod_jk is the problem but I completely lost.
Thank you for any help.
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
Re: Return problem
Posted by robert lazarski <ro...@gmail.com>.
Try putting tcpmon or the soap monitor applet in between the service and the
client. That will isolate whether axis2 is placing '-' in the request,
apache is, etc. Another idea is to use the logging module that comes with
axis2 . IOW, you have to somehow isolate for sure where the wrong char is
comming from.
HTH,
Robert
http://www.braziloutsource.com/
On 3/7/06, Alan Aguia <aa...@yahoo.com> wrote:
>
> Hi Im having the following problem after I return an OMElement on the
> server. The server receives de OMElement, and process it without any
> problema but when the OMElement goes back to the client I receive this
> org.apache.axis2.om.OMException:
> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-'
> (code 45) in prolog; expected '<'
> at [row,col {unknown-source}]: [1,1]
> I dont know if mod_jk is the problem but I completely lost.
>
> Thank you for any help.
>
> ------------------------------
> Relax. Yahoo! Mail virus scanning<http://us.rd.yahoo.com/mail_us/taglines/virusall/*http://communications.yahoo.com/features.php?page=221>helps detect nasty viruses!
>
>