Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 8428 invoked from network); 19 Apr 2006 18:38:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 18:38:34 -0000 Received: (qmail 67677 invoked by uid 500); 19 Apr 2006 18:38:25 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 67658 invoked by uid 500); 19 Apr 2006 18:38:25 -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 67647 invoked by uid 99); 19 Apr 2006 18:38:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 11:38:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.46.103.131] (HELO exchange.gtcorp.com) (69.46.103.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 11:38:24 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How do you make a call with the ServiceClient using a SOAPAction Header? Date: Wed, 19 Apr 2006 12:38:01 -0600 Message-ID: <8E6498408DE7FE4E83FBC51A7DD94EA902244708@exchange.gtcorp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How do you make a call with the ServiceClient using a SOAPAction Header? thread-index: AcZj3N3lbdMvKAOqRr2Pf7uSoQaeWQAAllBw From: "Jason Sanchez" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Robert, Unfortunately, I'm using the Axis2 0.95 API, and it doesn't seem to have the setSoapAction() method available for Options, just a setAction(). I attempted to even use the Axis2 0.94 API and the jar files for that distribution, since that method is defined in that API, but I couldn't get it to work. =20 I'd appreciate any other suggestions. Regards, Jay -----Original Message----- From: robert [mailto:robertlazarski@gmail.com]=20 Sent: April 19, 2006 12:14 PM To: axis-user@ws.apache.org Subject: Re: How do you make a call with the ServiceClient using a SOAPAction Header? Take a look at Options.setSoapAction() . Combine that with the samples under=20 samples/userguide and that should be enough to get you started.=20 HTH, Robert http://www.braziloutsource.com/ Em Quarta 19 Abril 2006 13:20, o Jason Sanchez escreveu: > Hello, > > > > This is the first time I've written to a mailing list so please forgive > me if I'm unfamiliar with the etiquette. > > > > I was wondering if someone could point me to some documentation > regarding using the ServiceClient class to invoke a specific operation > for a given web service. I've seen an example as follows: > > MessageFactory msgFactory =3D MessageFactory.newInstance(); > > SOAPMessage soapMessage =3D msgFactory.createMessage(); > > > soapMessage.getMimeHeaders().addHeader("SOAPAction","http://htng.org/1.1 > /Listener.Wsdl#Ping"); > > > > However, I'm unsure how this translates to the OMElement object and the > Axis 0.95 API. > > > > Thank you in advance. > > > > Regards, > > > > Jason --=20