Attached is my wsdl again.  Those two SOAP messages are what's being
captured in the SOAPMonitor.  No SOAPAction in either header.  

-----Original Message-----
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 21, 2007 10:40 AM
To: [email protected]
Subject: Re: Axis C Client doesn't work with Axis Java Server

Hi David,
Please check whether there's a http header called SOAPAction with a
value of "urn:getNumTracks".. According to the WSDL it needs to be
there... Please log a jira with Axis2/c If it's not appearing...

You can also try setting it manually.. But to be honest I don't know
how to do it in Axis2/c..

I'll have a much closer look at the WSDL to find out the missing
element issue..

thanks,
Thilina

On 2/21/07, Callner, David A. <[EMAIL PROTECTED]> wrote:
> Can somebody please look into this?
>
> -----Original Message-----
> From: Callner, David A.
> Sent: Tuesday, February 20, 2007 8:38 AM
> To: '[email protected]'
> Subject: RE: Axis C Client doesn't work with Axis Java Server
>
> I captured the SOAP Message sent from both and I discovered the
> problem.
>
> The Axis C Sends the follow SOAP Message:
><?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>       <soapenv:Header></soapenv:Header>
>       <soapenv:Body></soapenv:Body>
>    </soapenv:Envelope>
>
> The Axis Java Client sends this SOAP Message
>  <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope
> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>       <soapenv:Header></soapenv:Header>
>       <soapenv:Body><getNumTracks/></soapenv:Body>
>    </soapenv:Envelope>
>
> If you look in the body of the Java Client it has the method I'm
trying
> to call on the server.  The SOAP Exception that is caught in the
> SOAPMonitor says no EPR Operation when the C Client makes the SOAP
> Request.  For some reason the C Client generated code is not adding
the
> method to the body of the SOAP Message.  Attached is my wsdl file.
> Thank you for any help that you can provide.
>
>
> -----Original Message-----
> From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 20, 2007 12:47 AM
> To: [email protected]
> Subject: Re: Axis C Client doesn't work with Axis Java Server
>
> Hi,
> Please capture the messages from both Axis2  C & java client using
the
> tcpmon[1] and post them.. It would be great if you can attach the
> generated WSDL too..
>
> Thanks,
> Thilina
> [1] ws.apache.org/commons/tcpmon
>
> On 2/20/07, Callner, David A. <[EMAIL PROTECTED]> wrote:
> >
> >
> > I've deployed a very simple POJO Web Server that just returns a
> string.  I
> > successfully created a Java Client using ADB databinding using the
> > wsdl2java.sh script and I get the result I expect when I run my
java
> client.
> >  I created a C Client using the WSDL2C.  I followed the sample from
> >
>
http://ws.apache.org/axis2/c/docs/userguide.html#Writing_Web_Service_Cl
> ients_using_Axis2%27s_Primary_APIs.
> >  The only difference is I don't have any input variables onto my
web
> service
> > so I just do the get's.  I get a server side exception thrown in my
> > localhost_log file that Exception Processing Error Page [Error =
500,
> ]
> > java.lang.IllegalStateException.  Want me to post my code?  Anyone
> have any
> > ideas?
> >
>
>
> --
> Thilina Gunarathne
> WSO2, Inc.; http://www.wso2.com/
> Home page: http://webservices.apache.org/~thilina/
> Blog: http://thilinag.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

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

Attachment: TrackService.wsdl
Description: TrackService.wsdl

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

Reply via email to