Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 47193 invoked from network); 21 May 2007 23:05:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 23:05:02 -0000 Received: (qmail 18187 invoked by uid 500); 21 May 2007 23:05:00 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 17167 invoked by uid 500); 21 May 2007 23:04:58 -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 17156 invoked by uid 99); 21 May 2007 23:04:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 16:04:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of grm7793@verizon.net designates 206.46.252.42 as permitted sender) Received: from [206.46.252.42] (HELO vms042pub.verizon.net) (206.46.252.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 16:04:49 -0700 Received: from [192.168.1.43] ([70.18.225.159]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JIE00IVQYR2QZKJ@vms042.mailsrvcs.net> for axis-user@ws.apache.org; Mon, 21 May 2007 18:04:15 -0500 (CDT) Date: Mon, 21 May 2007 19:04:14 -0400 From: Glen Mazza Subject: Re: No Such Operation 'xxx' In-reply-to: <10728644.post@talk.nabble.com> To: axis-user@ws.apache.org Message-id: <1179788654.27242.3.camel@gmazza-desktop> MIME-version: 1.0 X-Mailer: Evolution 2.10.1 Content-type: text/plain Content-transfer-encoding: 7bit References: <10726971.post@talk.nabble.com> <1179787008.25423.2.camel@gmazza-desktop> <10728644.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I'd forget about your WSDL right now and look at your client code instead. In particular, compare your client code to the client samples on the quickstart page (http://ws.apache.org/axis2/1_2/quickstartguide.html), in particular, the client sample which uses the same databinding option (adb,xmlbeans, etc.) that you are using. Anything unusual or different? Glen Am Montag, den 21.05.2007, 15:50 -0700 schrieb Shanna7463: > sentEmail is the web service I'm trying to test. It has a parameter called > "emailElement" which is of type emailType. I'm not sure why the client > thinks that "emailElement" should be an operation. Am I incorrectly > declaring the parameter? > > Thanks!! > > -- Shanna -- > > > GlenMazza wrote: > > > > As the fault string says, there doesn't seem to be an operation named > > "emailElement". Look at the list of operations in your WSDL: > > > > > > > > > > > > > > Test your code with "sendEmail" and see if you get the same error > > message. > > > > Glen > > > > > > Am Montag, den 21.05.2007, 14:05 -0700 schrieb Shanna7463: > >> Hi, I'm pretty new to web services. I deployed a web service and I'm > >> trying > >> to test it with a client method, but I keep getting this error: > >> > >> AxisFault > >> faultCode: {http://xml.apache.org/axis/}Client > >> faultSubcode: > >> faultString: No such operation 'emailElement' > >> faultActor: > >> faultNode: > >> faultDetail: > >> {http://xml.apache.org/axis/}hostname:ssood > >> > >> No such operation 'emailElement' > >> at > >> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) > >> .... > >> > >> I have a feeling I'm doing something wrong in my wsdl: > >> > >> > >> >> targetNamespace="http://harps.sys.com/cmattWS" > >> xmlns:tns1="http://harps.sys.com/cmattWS" > >> xmlns:apachesoap="http://xml.apache.org/xml-soap" > >> xmlns:impl="http://harps.sys.com/cmattWS" > >> xmlns:intf="http://harps.sys.com/cmattWS" > >> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > >> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > >> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > >> xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > >> > >> > >> > >> > >> >> tns1="http://harps.sys.com/cmattWS" > >> xmlns="http://www.w3.org/2001/XMLSchema" > >> elementFormDefault="qualified"> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> name="getUsersRequest"/> > >> >> name="getUsersResponse"/> > >> > >> > >> >> name="addDBUsersRequest"/> > >> >> name="addDBUsersResponse"/> > >> > >> > >> >> name="getNTSPRequest"/> > >> >> name="getNTSPResponse"/> > >> > >> > >> >> name="sendEmailRequest"/> > >> >> name="sendEmailResponse"/> > >> > >> > >> > >> > >> >> transport="http://schemas.xmlsoap.org/soap/http"/> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> location="http://ssood:8080/cmatt-1/services/UserInfo"/> > >> > >> > >> > >> > >> > >> The parameter of my web service is "emailElement" but I'm not sure why it > >> is > >> looking for it as an operation. Thanks for any suggestions!! :) > >> > >> -- Shanna -- > > > > > > --------------------------------------------------------------------- > > 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