Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 23706 invoked from network); 22 Feb 2007 14:34:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 14:34:39 -0000 Received: (qmail 84285 invoked by uid 500); 22 Feb 2007 14:34:38 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 84270 invoked by uid 500); 22 Feb 2007 14:34:38 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 84257 invoked by uid 99); 22 Feb 2007 14:34:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 06:34:37 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of amilasuriarachchi@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 06:34:27 -0800 Received: by nf-out-0910.google.com with SMTP id o63so507131nfa for ; Thu, 22 Feb 2007 06:34:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oPDzRF5G3F8o42M8c8gNWvXzDZ9XDcns3Q9Gg8dRLbUyPnLyqwBhORGr9/XScI2S8pAHLGOEKKmsGCTMmVjZnXKW85LQ1FYAuVG+iLn8xTxw7zBiVLSvFzERLAz0K5mwWNA2OvKZmQopTCXvb/tG4DzFHGOwKskvDFD0q7sxl3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cA04Uw7Xu5Is2pFGo1NzPDen/tTcbR1bTe8ep/XRB15H678JLml631MtljVTNOHIn+INk82satqXJGsqeQO2aBRxjZhtIzOqZOBBTZSUv+YK/mEoidF5Ut7K84/JBbyiXU/o0FE/oht+OmYNxfG6FYp37RckuBDXPD0i0+bD93Q= Received: by 10.82.153.5 with SMTP id a5mr130389bue.1172154845874; Thu, 22 Feb 2007 06:34:05 -0800 (PST) Received: by 10.82.178.14 with HTTP; Thu, 22 Feb 2007 06:34:00 -0800 (PST) Message-ID: <60708f4b0702220634l4ce5e04bw79f7af93100ea000@mail.gmail.com> Date: Thu, 22 Feb 2007 20:04:00 +0530 From: "Amila Suriarachchi" To: axis-user@ws.apache.org Subject: Re: Axis C Client doesn't work with Axis Java Server In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18226_7807438.1172154840814" References: <339895.37755.qm@web31005.mail.mud.yahoo.com> <6EF2B075BD133F438D497B0102E56B580116C4A5@IMCSRV4.MITRE.ORG> <6EF2B075BD133F438D497B0102E56B580116C690@IMCSRV4.MITRE.ORG> <6EF2B075BD133F438D497B0102E56B580116C6F9@IMCSRV4.MITRE.ORG> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18226_7807438.1172154840814 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline see http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts in your case where we do not have message parts in document literal type should send an empty message. So there is a bug with Axis2 1.1.1. But I have fixed the issue for the current trunk. can you please get a nightly build and test the senario. I hope both soap action problem and this one have fixed now. On 2/22/07, Thilina Gunarathne wrote: > > Please log JIRA's in Axis2 C & Axis2 Java for missing SOAP Actions... > > Thanks, > Thilina > > On 2/21/07, Callner, David A. wrote: > > 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:csethil@gmail.com] > > Sent: Wednesday, February 21, 2007 10:40 AM > > To: axis-user@ws.apache.org > > 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. wrote: > > > Can somebody please look into this? > > > > > > -----Original Message----- > > > From: Callner, David A. > > > Sent: Tuesday, February 20, 2007 8:38 AM > > > To: 'axis-user@ws.apache.org' > > > 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: > > > > > > > > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > > > > > > > > > > > > > > > The Axis Java Client sends this SOAP Message > > > > > > > > xmlns:soapenv="http://www.w3.org/2003/05/soap-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:csethil@gmail.com] > > > Sent: Tuesday, February 20, 2007 12:47 AM > > > To: axis-user@ws.apache.org > > > 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. 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: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > -- > > Thilina Gunarathne > > WSO2, Inc.; http://www.wso2.com/ > > Home page: http://webservices.apache.org/~thilina/ > > Blog: http://thilinag.blogspot.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > -- > Thilina Gunarathne > WSO2, Inc.; http://www.wso2.com/ > Home page: http://webservices.apache.org/~thilina/ > Blog: http://thilinag.blogspot.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Amila Suriarachchi, WSO2 Inc. ------=_Part_18226_7807438.1172154840814 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline see
http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts

in your case where we do not have message parts in document literal type should send an empty message.
So there is a bug with Axis2 1.1.1. But I have fixed the issue for the current trunk.

can you please get a nightly build and test the senario. I hope both soap action problem and this one have fixed now.

On 2/22/07, Thilina Gunarathne <csethil@gmail.com> wrote:
Please log JIRA's in Axis2 C & Axis2 Java for missing SOAP Actions...

Thanks,
Thilina

On 2/21/07, Callner, David A. <dcallner@mitre.org> wrote:
>  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:csethil@gmail.com]
> Sent: Wednesday, February 21, 2007 10:40 AM
> To: axis-user@ws.apache.org
> 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. < dcallner@mitre.org> wrote:
> > Can somebody please look into this?
> >
> > -----Original Message-----
> > From: Callner, David A.
> > Sent: Tuesday, February 20, 2007 8:38 AM
> > To: 'axis-user@ws.apache.org'
> > 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:csethil@gmail.com ]
> > Sent: Tuesday, February 20, 2007 12:47 AM
> > To: axis-user@ws.apache.org
> > 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. < dcallner@mitre.org> 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: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Thilina Gunarathne
> WSO2, Inc.; http://www.wso2.com/
> Home page: http://webservices.apache.org/~thilina/
> Blog: http://thilinag.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


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

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




--
Amila Suriarachchi,
WSO2 Inc. ------=_Part_18226_7807438.1172154840814--