Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 85607 invoked from network); 11 Feb 2009 05:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 05:45:11 -0000 Received: (qmail 43522 invoked by uid 500); 11 Feb 2009 05:45:02 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 43508 invoked by uid 500); 11 Feb 2009 05:45:02 -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 43499 invoked by uid 99); 11 Feb 2009 05:45:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 21:45:02 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of keithgchapman@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 05:44:54 +0000 Received: by wf-out-1314.google.com with SMTP id 23so29949wfg.28 for ; Tue, 10 Feb 2009 21:44:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=4Szs8ktMKPqCMVdbSI3kwcpOTQPs6QgKcMbFwfQE6lE=; b=q5CZlAcSbL98VY+LIWt286Sdt6CW9cKX/MOs/CkkI9sh06LF9OndWB5HCnnQcpWRWP RsqwSAA5ILG1h3KbXm8ekw8kX/P67MNG+x5YVeXX6KJIOQo4ZvL595cR3gUWB1f+YgdD GglUM88pkiXBj3jGv2viJxCd/nh9/jw0t68is= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YMc+I5obmYM+ifz3B3mD4RZ8eSZyuieO0jTpDIZ3Jsn0hUtiVCWXOvF4jDzqQtrYTx rk5x3ZZh85HjkSWGAXJxlFXdbjOwGGSWLfbFLyMUt34e1Ej25IrQuDO/3gMEN2K6FsfP jgpzd3C34IAFy6jTUcmVLoAzv90Qwi2QZRVk0= MIME-Version: 1.0 Received: by 10.114.27.14 with SMTP id a14mr1973252waa.90.1234331073887; Tue, 10 Feb 2009 21:44:33 -0800 (PST) In-Reply-To: References: Date: Wed, 11 Feb 2009 11:14:33 +0530 Message-ID: Subject: Re: Axis2 problem with invoking methodes through GET requests From: keith chapman To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=001636417fa731beb704629e194f X-Virus-Checked: Checked by ClamAV on apache.org --001636417fa731beb704629e194f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, In this case if you send a request into axis2 as http://localhost:8080/axis2/services/serviceName/makeCall?param0=SomeValue¶m1=someValue¶m2=someValue it should work just fine. Your schema contains just elements, From your initial post I thought they contained attributes as well. If they did then it would not work. Thanks, Keith. On Tue, Feb 10, 2009 at 5:21 PM, Valerly Provalov wrote: > Sure, > > elementFormDefault="qualified" > targetNamespace="http://blabla.blabla.com"> > ... > ... > > > > > > > > > > ... > ... > > And operation is defined as: > > > wsaw:Action="urn:makeCall"/> > wsaw:Action="urn:makeCallResponse"/> > name="AgentBridgeException" wsaw:Action="urn:makeCallException"/> > > > > > > ________________________________________ > From: keith chapman [mailto:keithgchapman@gmail.com] > Sent: Tuesday, February 10, 2009 1:57 PM > To: axis-user@ws.apache.org > Subject: Re: Axis2 problem with invoking methodes through GET requests > > Hi Valeriy, > > Could you post the XML Schema section that defines this message that > your refering to. > > Thanks, > Keith. > On Tue, Feb 10, 2009 at 3:10 PM, Valerly Provalov > wrote: > Hi all, > > I use skeleton generated by WSDL2Java. While parsing request, generated > stubs checks attributes namespaces something like this: > > if ( reader.isStartElement() && new > javax.xml.namespace.QName(, > ).equals(reader.getName()) > > Everything works fine with generated stubs, but doesn't with GET > requests. In this case, generated SOAP packet doesn't contain attributes > namespace for method parameters. Is there any solution for this problem? > > Regards, > Valeriy. > > > ---------------------------------------------------------------------- > This e-mail message is for the sole use of the intended recipient(s) and > contains confidential and/or privileged information belonging to > Five 9, Inc. or its customers or partners. Any unauthorized review, use, > copying, disclosure or distribution of this message is strictly > prohibited. If you are not an intended recipient of this message, please > contact the sender by reply e-mail and destroy all soft and hard copies > of the message and any attachments. > Thank you for your cooperation. > ---------------------------------------------------------------------- > > > > -- > Keith Chapman > Senior Software Engineer > WSO2 Inc. > Oxygenating the Web Service Platform. > http://wso2.org/ > > blog: http://www.keith-chapman.org > > > ---------------------------------------------------------------------- > This e-mail message is for the sole use of the intended recipient(s) and > contains confidential and/or privileged information belonging to > Five 9, Inc. or its customers or partners. Any unauthorized review, use, > copying, disclosure or distribution of this message is strictly > prohibited. If you are not an intended recipient of this message, please > contact the sender by reply e-mail and destroy all soft and hard copies of > the message and any attachments. > Thank you for your cooperation. > ---------------------------------------------------------------------- > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org --001636417fa731beb704629e194f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

In this case if you send a request into axis2 as http://localhost:8080/axis2/se= rvices/serviceName/makeCall?param0=3DSomeValue&param1=3DsomeValue&p= aram2=3DsomeValue
it should work just fine.

Your schema contains just elements, From y= our initial post I thought they contained attributes as well. If they did t= hen it would not work.

Thanks,
Keith.

On Tue, Feb 10, 2009 at 5:21 PM, Valerly Provalov <vprovalov@five9.com> wrot= e:
Sure,

<xs:schema attributeFormDefault=3D"qualified"
elementFormDefault=3D"qualified"
targetNamespace=3D"http://blabla.blabla.com">
       ...
       ...
<xs:element name=3D"makeCall">
       <xs:complexType>
               <xs:sequence>=
                    &nbs= p;  <xs:element name=3D"param0" type=3D"xs:string&qu= ot;/>
                    &nbs= p;  <xs:element name=3D"param1" type=3D"xs:long"= ;/>
                    &nbs= p;  <xs:element name=3D"param2" type=3D"xs:boolean&q= uot;/>
               </xs:sequence>= ;
       </xs:complexType>
</xs:element>
       ...
       ...

And operation is defined as:

<wsdl:operation name=3D"makeCall">
       <wsdl:input message=3D"ns:makeCallReque= st"
wsaw:Action=3D"urn:makeCall"/>
       <wsdl:output message=3D"ns:makeCallResp= onse"
wsaw:Action=3D"urn:makeCallResponse"/>
       <wsdl:fault message=3D"ns:AgentBridgeEx= ception"
name=3D"AgentBridgeException" wsaw:Action=3D"urn:makeCallExc= eption"/>
</wsdl:operation>

<wsdl:message name=3D"makeCallRequest">
       <wsdl:part name=3D"parameters" ele= ment=3D"ns:makeCall"/>
</wsdl:message>
________________________________________
From: keith chapman [mailto:keit= hgchapman@gmail.com]
Sent: Tuesday, February 10, 2009 1:57 PM
To: axis-user@ws.apache.org<= br> Subject: Re: Axis2 problem with invoking methodes through GET requests

Hi Valeriy,

Could you post the XML Schema section that defines this message that
your refering to.

Thanks,
Keith.
On Tue, Feb 10, 2009 at 3:10 PM, Valerly Provalov <vprovalov@five9.com>
wrote:
Hi all,

I use skeleton generated by WSDL2Java. While parsing request, generated
stubs checks attributes namespaces something like this:

if ( reader.isStartElement() && new
javax.xml.namespace.QName(<namespace>,
<attribute_name>).equals(reader.getName())

Everything works fine with generated stubs, but doesn't with GET
requests. In this case, generated SOAP packet doesn't contain attribute= s
namespace for method parameters. Is there any solution for this problem?
Regards,
Valeriy.


----------------------------------------------------------------------
This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to
Five 9, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies
of the message and any attachments.
Thank you for your cooperation.
----------------------------------------------------------------------



--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www= .keith-chapman.org


----------------------------------------------------------------------
This e-mail message is for the sole use of the intended recipient(s) and co= ntains confidential and/or privileged information belonging to
Five 9, Inc. or its customers or partners. Any unauthorized review, use, co= pying, disclosure or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please co= ntact the sender by reply e-mail and destroy all soft and hard copies of th= e message and any attachments.
Thank you for your cooperation.
----------------------------------------------------------------------



--
Keith ChapmanSenior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platf= orm.
http://wso2.org/

blog: http://www.keith-chapman.org
--001636417fa731beb704629e194f--