Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 70068 invoked from network); 13 Nov 2003 23:01:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Nov 2003 23:01:34 -0000 Received: (qmail 75963 invoked by uid 500); 13 Nov 2003 23:01:09 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 75948 invoked by uid 500); 13 Nov 2003 23:01:09 -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: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 75937 invoked from network); 13 Nov 2003 23:01:09 -0000 Message-ID: <92D1B98A6B79C348BDA9D5CC23650B191FBDE8@xsun06.ptp.hp.com> From: "PILLAI,RANJITH (HP-PaloAlto,ex1)" To: "'axis-user@ws.apache.org'" Subject: RE: How to define document/literal service with multiple operatio ns Date: Thu, 13 Nov 2003 18:01:08 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Mike, If I am right, wrapper element around your actual document is not specific to Axis. That is the way Weblogic also works, Weblogic determines which method to invoke, based on this wrapper element (root element of your xml payload). Thanks, Ranjith Pillai. -----Original Message----- From: Michael Woinoski [mailto:michaelw@pineneedleconsulting.com] Sent: Thursday, November 13, 2003 2:48 PM To: axis-user@ws.apache.org Subject: Re: How to define document/literal service with multiple operations Keith, > With document/literal web services you need to define your schema in > such a way that the "wrapper" element or root element will lead you to > the business function. So you are not just defining the data that needs > to be sent but also a wrapper element that suggests the operation to be > performed. Well, that may be the way Axis currently routes messages, but I prefer to develop my application's schema based on what is appropriate for the application, not because of the limitations imposed by a particular implementation. This is exactly the kind of situation that SOAPAction is supposed to address. .NET uses it for routing messages, so I know Axis HAS to support it ;-) I suspect it's just a matter of configuring HTTPActionHandler correctly. Also, I'd like to keep my web services portable to different JAX-RPC implementations, so I try to avoid Axis-specific features (e.g., Message-style services.) > Read the axis users guide about "service styles" > specifically the "message", "document" and "wrapped" service styles. I did. I didn't find anything in the user's guide about the details of routing document-style services. Regards, Mike > > -----Original Message----- > From: Michael Woinoski [mailto:michaelw@pineneedleconsulting.com] > Sent: Thursday, November 13, 2003 4:47 PM > To: Axis User mailing list > Subject: How to define document/literal service with multiple operations > > How can I define a document/literal service with multiple operations? > Because > there's no wrapper element around the input message parts, Axis seems to > have a > problem invoking the correct service method. > > If I add a value for SOAPAction in the service's binding, the client > stubs set > SOAPAction in the HTTP request correctly, but Axis doesn't use the > SOAPAction > value. I found the Axis HTTPActionHandler class and tried adding it to > the > request flow in the service's deploy.wsdd but it didn't seem to make a > difference. Does Axis support this? If so, how do I configure it? > > Thanks, > Mike > -- Mike Woinoski Pine Needle Consulting mailto:michaelw@pineneedleconsulting.com