Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 70702 invoked from network); 14 Dec 2005 13:13:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Dec 2005 13:13:53 -0000 Received: (qmail 77633 invoked by uid 500); 14 Dec 2005 13:13:43 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 77448 invoked by uid 500); 14 Dec 2005 13:13:43 -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 77437 invoked by uid 99); 14 Dec 2005 13:13:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 05:13:42 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jayachandra@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO zproxy.gmail.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 05:13:42 -0800 Received: by zproxy.gmail.com with SMTP id v1so113870nzb for ; Wed, 14 Dec 2005 05:13:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Sqj0QBO4gFQPRlflG6CLgA+YwDdpWE5DZiq7hl90MsSEOSkpIxeCWTaak6MDvvncGX6/dnJB5vh0n2fEPLK2YbnLiXawL1Pidc74LFxzkdZqKFZUXCdml6eHPbeTM5QxRbbyMqZuqQyQW0cJYYq0rFz4zc52gjU8tazZWTaiUi8= Received: by 10.65.252.13 with SMTP id e13mr375119qbs; Wed, 14 Dec 2005 05:13:20 -0800 (PST) Received: by 10.65.141.11 with HTTP; Wed, 14 Dec 2005 05:13:20 -0800 (PST) Message-ID: <57023d130512140513p56dbcb58y2be2058f18fdb9d6@mail.gmail.com> Date: Wed, 14 Dec 2005 18:43:20 +0530 From: jayachandra To: axis-user@ws.apache.org Subject: Re: About the operation element in server-config.wsdd In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19577_18412798.1134566000660" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19577_18412798.1134566000660 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Don't assume that all that happens happens just with the code present in th= e skeleton or stub code which we see. Tweak a configuration for example the return type QName's namespace in server-config.wsdd and rehost the service and see what you get on the tcpmon as the server response. Thanks Jaya On 12/13/05, Bengali Bengali wrote: > > Hi, > I don't really understand what's the point of having an > element in the server-config.wsdd. > > Actually, I generated my Axis stubs and skeletons from the WSDL2Java > utility. > The prefixes in the SOAP request and response are not what I expected and > I wanted > to tweak them in the element of the server-config.wsdd. > > But when I have a look at the generated stub and skeleton of my web > Service > I see static initialization of operation description like this (extract o= f > the skeleton): > > static { > _operations =3D new org.apache.axis.description.OperationDesc[1]; > _initOperationDesc1(); > } > > private static void _initOperationDesc1(){ > org.apache.axis.description.OperationDesc oper; > org.apache.axis.description.ParameterDesc param; > oper =3D new org.apache.axis.description.OperationDesc(); > oper.setName("call"); > param =3D new org.apache.axis.description.ParameterDesc (new > javax.xml.namespace.QName("http://www.mycompany.com", "CallRq"), org.apac= he.axis.description.ParameterDesc.IN > , new > javax.xml.namespace.QName("http://www.mycompany.com", "CallRqType"), > com.fis.infra.webservices.model.CallRqType.class, false, false); > oper.addParameter (param); > oper.setReturnType(new javax.xml.namespace.QName(" > http://www.mycompany.com", "CallRsType")); > oper.setReturnClass( > com.fis.infra.webservices.model.CallRsType.class ); > ...} > > So i don't really understand what's the point of element ? > Can anyone enlight me ? > > Thanks in advance, > Luc > > > -- -- Jaya ------=_Part_19577_18412798.1134566000660 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Don't assume that all that happens happens just with the code pre= sent in the skeleton or stub code which we see. Tweak a configuration = for example the return type QName's namespace in server-config.wsdd an= d rehost the service and see what you get on the tcpmon as the server respo= nse.
 
Thanks
Jaya
 
On 12/13/05, Bengali Bengali <bengalist= er@gmail.com> wrote:
Hi,
 I don't really unde= rstand what's the point of having an <operation> element in the serve= r-config.wsdd .

Actually, I generated my Axis stubs and skeletons from the WSDL2Ja= va utility.
The prefixes in the SOAP request and response are not what I= expected and I wanted
to tweak them in the <operation> element o= f the=20 server-config.wsdd.

But when I have a look at the generated stub and= skeleton  of  my  web Service
I see static initializatio= n of operation description like this (extract of the skeleton):

&nb= sp;   static {
        _operations =3D new org.apache.a= xis.description.OperationDesc[1];
      &n= bsp; _initOperationDesc1();
    }

  &nbs= p;  private static void _initOperationDesc1(){
   &n= bsp;    org.apache.axis.description.OperationDesc oper;
        org.apache.axis.descri= ption.ParameterDesc param;
        op= er =3D new org.apache.axis.description.OperationDesc();
  &nbs= p;     oper.setName("call");
  &= nbsp;     param =3D new org.apache.axis.description.Par= ameterDesc (new   javax.xml.namespace.QName("http://www.mycompany.com", "CallRq"), org.apache.axis.description.ParameterDesc.IN , new javax.xml.namespace.= QName("http://www.mycompany.com<= /a> ", "CallRqType"), com.fis.infra.webservices.model.CallRqType= .class, false, false);
        oper.a= ddParameter (param);
        oper.set= ReturnType(new javax.xml.namespace.QName("
http://www.mycompany.com", "CallRsType"));
 &nbs= p;      oper.setReturnClass(com.fis.infra.webservi= ces.model.CallRsType.class );
    ...}

So i don't = really understand what's the point of <operation> element ?
Can anyone enlight me ?

Thanks in advance,
Luc





--
-- Jaya=20 ------=_Part_19577_18412798.1134566000660--